Skip to content
Snippets Groups Projects
Commit c352968b authored by Niels Möller's avatar Niels Möller
Browse files

Check that the pidfile is deleted (indicating that the process has

cleaned up and exited like it should).

Rev: src/testsuite/gateway-stop-test:1.2
parent 7d2edd16
Branches
No related tags found
No related merge requests found
...@@ -13,7 +13,6 @@ spawn_lshd && spawn_lsh --start-gateway \ ...@@ -13,7 +13,6 @@ spawn_lshd && spawn_lsh --start-gateway \
&& ../lsh --stop-gateway -p $PORT $LOCALHOST \ && ../lsh --stop-gateway -p $PORT $LOCALHOST \
&& sleep 2 \ && sleep 2 \
&& ( if exec_lshg echo foo; then false ; else true ; fi ) \ && ( if exec_lshg echo foo; then false ; else true ; fi ) \
&& ( if kill -0 `cat "$LSH_PIDFILE"` ; then false; else true ; fi ) \ && [ ! -f "$LSH_PIDFILE" ] && test_success
&& rm "$LSH_PIDFILE" && test_success
test_done test_done
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment