Skip to content

Commit 98d2739

Browse files
committed
Remove MAKE_SKIP_PATH test
1 parent f0ae6e3 commit 98d2739

File tree

1 file changed

+9
-11
lines changed

1 file changed

+9
-11
lines changed

test/sharness/lib/test-lib.sh

+9-11
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,15 @@
99
# use the ipfs tool to test against
1010

1111
# add current directory to path, for ipfs tool.
12-
if test "$MAKE_SKIP_PATH" != "1"; then
13-
BIN=$(cd .. && echo `pwd`/bin)
14-
BIN2=$(cd ../.. && echo `pwd`/cmd/ipfs)
15-
PATH=${BIN2}:${BIN}:${PATH}
16-
17-
# assert the `ipfs` we're using is the right one.
18-
if test `which ipfs` != ${BIN2}/ipfs; then
19-
echo >&2 "Cannot find the tests' local ipfs tool."
20-
echo >&2 "Please check test and ipfs tool installation."
21-
exit 1
22-
fi
12+
BIN=$(cd .. && pwd)/bin
13+
BIN2=$(cd ../.. && pwd)/cmd/ipfs
14+
PATH=${BIN2}:${BIN}:${PATH}
15+
16+
# assert the `ipfs` we're using is the right one.
17+
if test "$(which ipfs)" != "${BIN2}/ipfs"; then
18+
echo >&2 "Cannot find the tests' local ipfs tool."
19+
echo >&2 "Please check test and ipfs tool installation."
20+
exit 1
2321
fi
2422

2523
# set sharness verbosity. we set the env var directly as

0 commit comments

Comments
 (0)