From 4586dd49dc3db0c5ce91be52484c2b2929e257eb Mon Sep 17 00:00:00 2001 From: Hector Sanjuan Date: Fri, 11 Jan 2019 17:26:10 +0100 Subject: [PATCH] sharness: fix "api not running" error message License: MIT Signed-off-by: Hector Sanjuan --- test/sharness/t0062-daemon-api.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/sharness/t0062-daemon-api.sh b/test/sharness/t0062-daemon-api.sh index 7005269157c1..91a0dbbd4add 100755 --- a/test/sharness/t0062-daemon-api.sh +++ b/test/sharness/t0062-daemon-api.sh @@ -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="" $opts >actual 2>actual_err && test_cmp expected_err actual_err '