1
0
Fork 0
mirror of https://github.com/davatorium/rofi.git synced 2024-11-11 13:50:48 -05:00
rofi/test/run_errormsg_test.sh

14 lines
231 B
Bash
Raw Normal View History

2014-08-29 09:21:10 -04:00
#!/usr/bin/env bash
# wait till it is up, run rofi with error message
sleep 1 && rofi -e "Printing error message" &
2014-08-29 09:21:10 -04:00
RPID=$!
# send enter.
sleep 5 && xdotool key Return
2014-08-29 09:21:10 -04:00
# Get result, kill xvfb
wait ${RPID}
RETV=$?
exit ${RETV}