mirror of
https://github.com/davatorium/rofi.git
synced 2024-11-18 13:54:36 -05:00
Update window test.
This commit is contained in:
parent
933eb7e490
commit
155cf351e0
1 changed files with 7 additions and 3 deletions
|
@ -2,20 +2,24 @@
|
|||
|
||||
# wait till it is up, run rofi with error message
|
||||
sleep 1;
|
||||
xterm &
|
||||
xterm -T MonkeySee sh &
|
||||
XPID=$!
|
||||
sleep 1;
|
||||
echo -e -n "aap\nnoot\nmies" | rofi -modi window -show window > output.txt &
|
||||
xterm -T TermUnwanted sh &
|
||||
TPID=$!
|
||||
sleep 1;
|
||||
rofi -modi window -show window > output.txt &
|
||||
RPID=$!
|
||||
|
||||
# send enter.
|
||||
sleep 5;
|
||||
xdotool type 'xterm'
|
||||
xdotool type 'MonkeySee'
|
||||
sleep 0.4
|
||||
xdotool key Return
|
||||
sleep 1;
|
||||
xdotool key Ctrl+d
|
||||
wait ${XPID}
|
||||
kill ${TPID}
|
||||
# Get result, kill xvfb
|
||||
wait ${RPID}
|
||||
RETV=$?
|
||||
|
|
Loading…
Reference in a new issue