Commit e7756e45 authored by Travis Person's avatar Travis Person

Problem with initializing daemon on same port

At this point I think this test should be moved out of this file
parent cca5212e
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment