diff options
author | Dave Davenport <qball@gmpclient.org> | 2014-08-30 20:45:08 +0200 |
---|---|---|
committer | Dave Davenport <qball@gmpclient.org> | 2014-08-30 20:45:08 +0200 |
commit | 229bb6931b278d455a35359db8361c1b9aa6c013 (patch) | |
tree | 3d89133b25c706b69026861fca2acba7cf0eca3f /test/run_run_test.sh | |
parent | 91ccb54199a533ce574fc9f0d158d64c38d406ec (diff) |
Play with adding some more test, bug fixes
* delete an invalid memmove in textbox
Diffstat (limited to 'test/run_run_test.sh')
-rwxr-xr-x | test/run_run_test.sh | 21 |
1 files changed, 6 insertions, 15 deletions
diff --git a/test/run_run_test.sh b/test/run_run_test.sh index 92f2e2ac..8b220a76 100755 --- a/test/run_run_test.sh +++ b/test/run_run_test.sh @@ -1,31 +1,22 @@ #!/usr/bin/env bash -# Create fake X -Xvfb :203 & -XPID=$! - -# wait till it is up, run rofi with error message -sleep 1; -./rofi -rnow -display :203 & +rofi -rnow & RPID=$! # send enter. sleep 5; -DISPLAY=:203 xdotool key 't' +xdotool key 't' sleep 0.4 -DISPLAY=:203 xdotool key 'r' +xdotool key 'r' sleep 0.4 -DISPLAY=:203 xdotool key 'u' +xdotool key 'u' sleep 0.4 -DISPLAY=:203 xdotool key 'e' +xdotool key 'e' sleep 0.4 -DISPLAY=:203 xdotool key Return +xdotool key Return # Get result, kill xvfb wait ${RPID} RETV=$? -kill ${XPID} - -sleep 1 exit ${RETV} |