Skip to content

Commit

Permalink
sharness: fix "api not running" error message
Browse files Browse the repository at this point in the history
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
  • Loading branch information
hsanjuan committed Jan 11, 2019
1 parent ab270fb commit 9b218f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/sharness/t0062-daemon-api.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ test_client_must_fail() {
opts="$@"
echo "OPTS = " $opts
test_expect_success "client should fail $state" '
echo "Error: api not running" >expected_err &&
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 &&
test_must_fail ipfs id -f="<id>" $opts >actual 2>actual_err &&
test_cmp expected_err actual_err
'
Expand Down

0 comments on commit 9b218f9

Please sign in to comment.