t0020: improve error message

License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
This commit is contained in:
Christian Couder 2016-02-12 09:40:13 +01:00 committed by Jeromy
parent 7d80512a4c
commit ce5eac46d4

View File

@ -45,8 +45,10 @@ test_expect_success "ipfs cat no repo message looks good" '
# test that init succeeds
test_expect_success "ipfs init succeeds" '
export IPFS_PATH="$(pwd)/.ipfs" &&
echo "IPFS_PATH: \"$IPFS_PATH\"" &&
BITS="2048" &&
ipfs init --bits="$BITS" >actual_init
ipfs init --bits="$BITS" >actual_init ||
test_fsh cat actual_init
'
test_expect_success ".ipfs/ has been created" '