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

Test something

This commit is contained in:
Dave Davenport 2016-08-19 19:40:39 +02:00
parent 6225b29d94
commit e55dfe8b10

View file

@ -2,6 +2,7 @@
# wait till it is up, run rofi with error message
sleep 1;
ulimit -c unlimited
echo -e -n "aap\nnoot\nmies" | rofi -dmenu -normal-window -multi-select > output.txt &
RPID=$!
sleep 4
@ -18,6 +19,11 @@ xdotool key Return
# Get result, kill xvfb
wait ${RPID}
RETV=$?
if [ "${RETV}" == "139" ]
then
echo "thread apply all bt" | gdb rofi core.*
fi
OUTPUT=$(cat output.txt | tr '\n' ' ')
if [ "${OUTPUT}" != 'noot mies ' ]
then