Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
dms3
go-dms3
Commits
33e72b32
Commit
33e72b32
authored
Jan 11, 2019
by
Hector Sanjuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sharness: fix "api not running" error message
License: MIT Signed-off-by:
Hector Sanjuan
<
hector@protocol.ai
>
parent
ab270fba
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
test/sharness/t0062-daemon-api.sh
test/sharness/t0062-daemon-api.sh
+1
-1
No files found.
test/sharness/t0062-daemon-api.sh
View file @
33e72b32
...
...
@@ -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
'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment