@cryptotaxi247 / kubo / commits / 5a5a65381

test: small cleanup to the filestore sharness test

you can use the test_debug by calling tests with `debug=t verbose=t make test/sharness/t0000-xxx.sh License: MIT Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>

Jakub Sztandera committed Mar 6, 2017 at 20:03 UTC 5a5a65381f72f77c2e486401f9cf6e982d1321ac
1 file changed +5 -5
test/sharness/t0270-filestore.sh
+5 -5
@@ -10,7 +10,7 @@ test_description="Test out the filestore nocopy functionality"
10
11
12 test_expect_success "create a dataset" '
13 - random-files -seed=483 -depth=3 -dirs=4 -files=6 -filesize=1000000 somedir
13 + random-files -seed=483 -depth=3 -dirs=4 -files=6 -filesize=1000000 somedir > /dev/null
14 '
15
16 EXPHASH="QmW4JLyeTxEWGwa4mkE9mHzdtAkyhMX2ToGFEKZNjCiJud"
@@ -24,7 +24,7 @@ assert_repo_size_less_than() {
24
25 test_expect_success "check repo size" '
26 test "$(get_repo_size)" -lt "$expval" ||
27 - test_fsh get_repo_size
27 + test_fsh get_repo_size
28 '
29 }
30
@@ -83,9 +83,9 @@ init_ipfs_filestore
83
84 test_filestore_adds
85
86 -echo "WORKING DIR"
87 -echo "IPFS PATH = " $IPFS_PATH
88 -pwd
86 +test_debug '
87 + echo "pwd=$(pwd)"; echo "IPFS_PATH=$IPFS_PATH"
88 +'
89
90
91 init_ipfs_filestore