sharness: fix "api not running" error message
License: MIT Signed-off-by: Hector Sanjuan <hector@protocol.ai>
Hector Sanjuan committed
Jan 11, 2019 at 17:26 UTC
33e72b32f7c8cfa0e730f66e27ac8cbd8933a4bb
1 file changed
+1
-1
test/sharness/t0062-daemon-api.sh
+1
-1
@@ -32,7 +32,7 @@ test_client_must_fail() {
32
opts="$@"
33
echo "OPTS = " $opts
34
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 &&
36
test_must_fail ipfs id -f="<id>" $opts >actual 2>actual_err &&
37
test_cmp expected_err actual_err
38
'