diff options
Diffstat (limited to 'tests/run_integration_tests.sh')
-rwxr-xr-x | tests/run_integration_tests.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/run_integration_tests.sh b/tests/run_integration_tests.sh index f535765..5d6fb34 100755 --- a/tests/run_integration_tests.sh +++ b/tests/run_integration_tests.sh @@ -9,10 +9,8 @@ set -x export RUST_SSH2_FIXTURE_PORT=8022 cleanup() { - # Stop the ssh server - kill $(< $SSHDIR/sshd.pid) - # Stop local ssh agent - kill $SSH_AGENT_PID + # Stop the ssh server and local ssh agent + kill $(< $SSHDIR/sshd.pid) $SSH_AGENT_PID || true } trap cleanup EXIT @@ -53,6 +51,8 @@ MaxStartups 500 StrictModes no EOT +cat $SSHDIR/sshd_config + # Start an ssh server /usr/sbin/sshd -p $RUST_SSH2_FIXTURE_PORT -f $SSHDIR/sshd_config -E $SSHDIR/sshd.log # Give it a moment to start up |