rofi/test/run_run_test.sh

23 lines
257 B
Bash
Raw Normal View History

2014-08-29 15:26:47 +00:00
#!/usr/bin/env bash
2015-02-15 20:34:13 +00:00
rofi -show run &
2014-08-29 15:26:47 +00:00
RPID=$!
# send enter.
sleep 5;
xdotool key 't'
2014-08-29 15:26:47 +00:00
sleep 0.4
xdotool key 'r'
2014-08-29 15:26:47 +00:00
sleep 0.4
xdotool key 'u'
2014-08-29 15:26:47 +00:00
sleep 0.4
xdotool key 'e'
2014-08-29 15:26:47 +00:00
sleep 0.4
xdotool key Return
2014-08-29 15:26:47 +00:00
# Get result, kill xvfb
wait ${RPID}
RETV=$?
exit ${RETV}