1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-06-25 23:21:54 +08:00

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>
This commit is contained in:
Kevin Atkinson
2017-12-08 14:12:26 -05:00
parent a4f9333463
commit 2aeaf6309d

View File

@ -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