From 2aeaf6309dccb12f65289b5a382364c56bfd7720 Mon Sep 17 00:00:00 2001 From: Kevin Atkinson Date: Fri, 8 Dec 2017 14:12:26 -0500 Subject: [PATCH] Always set IPFS_PATH in test-lib.sh Before it was only set when "test_init_ipfs" is called but that is not always used, for example in t0025-datastores.sh. License: MIT Signed-off-by: Kevin Atkinson --- test/sharness/lib/test-lib.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/sharness/lib/test-lib.sh b/test/sharness/lib/test-lib.sh index 3830fa49d..1084d99d4 100644 --- a/test/sharness/lib/test-lib.sh +++ b/test/sharness/lib/test-lib.sh @@ -40,6 +40,10 @@ SHARNESS_LIB="lib/sharness/sharness.sh" # Please put go-ipfs specific shell functions below +# Make sure the ipfs path is set, also set in test_init_ipfs but that +# is not always used. +export IPFS_PATH="$(pwd)/.ipfs" + TEST_OS="$(uname -s | tr '[a-z]' '[A-Z]')" # grab + output options