From ce5eac46d4b5f6047952db7bbd5838fd525945ae Mon Sep 17 00:00:00 2001 From: Christian Couder Date: Fri, 12 Feb 2016 09:40:13 +0100 Subject: [PATCH] t0020: improve error message License: MIT Signed-off-by: Christian Couder --- test/sharness/t0020-init.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/sharness/t0020-init.sh b/test/sharness/t0020-init.sh index 03a2b34a4..135ebab49 100755 --- a/test/sharness/t0020-init.sh +++ b/test/sharness/t0020-init.sh @@ -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" '