rofi/test/run_issue_275.sh

25 lines
308 B
Bash
Raw Normal View History

2015-11-20 10:15:34 +00:00
#!/usr/bin/env bash
echo -e "aap\nnoot\nmies" | rofi -dmenu &
RPID=$!
# send enter.
sleep 5;
xdotool key 't'
sleep 0.4
xdotool key 'r'
sleep 0.4
xdotool key 'u'
sleep 0.4
xdotool key 'e'
sleep 0.4
xdotool key End
sleep 0.4
xdotool key Return
2015-11-20 10:15:34 +00:00
# Get result, kill xvfb
wait ${RPID}
RETV=$?
exit ${RETV}