Commit c352968b authored by Niels Möller's avatar Niels Möller

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
......@@ -13,7 +13,6 @@ spawn_lshd && spawn_lsh --start-gateway \
&& ../lsh --stop-gateway -p $PORT $LOCALHOST \
&& sleep 2 \
&& ( if exec_lshg echo foo; then false ; else true ; fi ) \
&& ( if kill -0 `cat "$LSH_PIDFILE"` ; then false; else true ; fi ) \
&& rm "$LSH_PIDFILE" && test_success
&& [ ! -f "$LSH_PIDFILE" ] && test_success
test_done
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