1
0
Fork 0
mirror of https://github.com/davatorium/rofi.git synced 2024-11-18 13:54:36 -05:00
rofi/test/run_run_test.sh

23 lines
254 B
Bash
Raw Normal View History

2014-08-29 11:26:47 -04:00
#!/usr/bin/env bash
rofi -rnow &
2014-08-29 11:26:47 -04:00
RPID=$!
# send enter.
sleep 5;
xdotool key 't'
2014-08-29 11:26:47 -04:00
sleep 0.4
xdotool key 'r'
2014-08-29 11:26:47 -04:00
sleep 0.4
xdotool key 'u'
2014-08-29 11:26:47 -04:00
sleep 0.4
xdotool key 'e'
2014-08-29 11:26:47 -04:00
sleep 0.4
xdotool key Return
2014-08-29 11:26:47 -04:00
# Get result, kill xvfb
wait ${RPID}
RETV=$?
exit ${RETV}