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 <k@kevina.org>
Kevin Atkinson committed
Dec 8, 2017 at 14:12 UTC
2aeaf6309dccb12f65289b5a382364c56bfd7720
1 file changed
+4
test/sharness/lib/test-lib.sh
+4
@@ -40,6 +40,10 @@ SHARNESS_LIB="lib/sharness/sharness.sh"
40
41
# Please put go-ipfs specific shell functions below
42
43
+# Make sure the ipfs path is set, also set in test_init_ipfs but that
44
+# is not always used.
45
+export IPFS_PATH="$(pwd)/.ipfs"
46
+
47
TEST_OS="$(uname -s | tr '[a-z]' '[A-Z]')"
48
49
# grab + output options