Skip to content

Commit 4586dd4

Browse files
committed
sharness: fix "api not running" error message
License: MIT Signed-off-by: Hector Sanjuan <[email protected]>
1 parent ab270fb commit 4586dd4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/sharness/t0062-daemon-api.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ test_client_must_fail() {
3232
opts="$@"
3333
echo "OPTS = " $opts
3434
test_expect_success "client should fail $state" '
35-
echo "Error: api not running" >expected_err &&
35+
echo "Error: cannot connect to the api. Is the deamon running? To run as a standalone CLI command remove the api file in \`$IPFS_PATH/api\`" >expected_err &&
3636
test_must_fail ipfs id -f="<id>" $opts >actual 2>actual_err &&
3737
test_cmp expected_err actual_err
3838
'

0 commit comments

Comments
 (0)