diff options
author | Dave Davenport <qball@gmpclient.org> | 2016-01-05 18:24:47 +0100 |
---|---|---|
committer | Dave Davenport <qball@gmpclient.org> | 2016-01-05 18:24:47 +0100 |
commit | 4fbf24948069f5432696a390b580ba8758789dc1 (patch) | |
tree | 4f19317713b0a38b70bd900b338fac7627789481 | |
parent | 155cf351e08b88c88f6d188484e83417ca33fa2a (diff) |
Update window test.
-rwxr-xr-x | test/run_window_test.sh | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/test/run_window_test.sh b/test/run_window_test.sh index 7439a09b..3d481257 100755 --- a/test/run_window_test.sh +++ b/test/run_window_test.sh @@ -18,8 +18,14 @@ sleep 0.4 xdotool key Return sleep 1; xdotool key Ctrl+d -wait ${XPID} +sleep 1; kill ${TPID} +if pgrep -u $USER xterm +then + kill ${XPID} + kill ${RPID} + exit 1 +fi # Get result, kill xvfb wait ${RPID} RETV=$? |