mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-21 18:37:45 +08:00
t0020: improve error message
License: MIT Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
This commit is contained in:
parent
7d80512a4c
commit
ce5eac46d4
@ -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" '
|
||||
|
||||
Loading…
Reference in New Issue
Block a user