mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-23 19:37:46 +08:00
sharness: fix "api not running" error message
License: MIT Signed-off-by: Hector Sanjuan <hector@protocol.ai>
This commit is contained in:
parent
ab270fbaa7
commit
33e72b32f7
@ -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
|
||||
'
|
||||
|
||||
Loading…
Reference in New Issue
Block a user