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
e7756e45
Commit
e7756e45
authored
Apr 20, 2015
by
Travis Person
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Problem with initializing daemon on same port
At this point I think this test should be moved out of this file
parent
cca5212e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
test/sharness/t0020-init.sh
test/sharness/t0020-init.sh
+5
-4
No files found.
test/sharness/t0020-init.sh
View file @
e7756e45
...
...
@@ -44,13 +44,14 @@ test_expect_success "ipfs init output looks good" '
test_cmp expected actual_init
'
test_init_ipfs
test_launch_ipfs_daemon
test_expect_failure
"ipfs init should not run while daemon is running"
'
ipfs init 2> daemon_running_output
echo "Error: ipfs daemon is running. please stop it to run this command" > daemon_running_expected
echo "Use \'
ipfs init
--help
\'
for
information about this
command
" >> daemon_running_expected
test_cmp daemon_running_expected daemon_running_output
ipfs init 2> daemon_running_err &&
expect="Error: ipfs daemon is running. please stop it to run this command" &&
cat daemon_running_err | grep $expect
'
test_kill_ipfs_daemon
...
...
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