mirror of
https://github.com/davatorium/rofi.git
synced 2024-11-25 13:55:34 -05:00
Test something
This commit is contained in:
parent
6225b29d94
commit
e55dfe8b10
1 changed files with 6 additions and 0 deletions
|
@ -2,6 +2,7 @@
|
||||||
|
|
||||||
# wait till it is up, run rofi with error message
|
# wait till it is up, run rofi with error message
|
||||||
sleep 1;
|
sleep 1;
|
||||||
|
ulimit -c unlimited
|
||||||
echo -e -n "aap\nnoot\nmies" | rofi -dmenu -normal-window -multi-select > output.txt &
|
echo -e -n "aap\nnoot\nmies" | rofi -dmenu -normal-window -multi-select > output.txt &
|
||||||
RPID=$!
|
RPID=$!
|
||||||
sleep 4
|
sleep 4
|
||||||
|
@ -18,6 +19,11 @@ xdotool key Return
|
||||||
# Get result, kill xvfb
|
# Get result, kill xvfb
|
||||||
wait ${RPID}
|
wait ${RPID}
|
||||||
RETV=$?
|
RETV=$?
|
||||||
|
if [ "${RETV}" == "139" ]
|
||||||
|
then
|
||||||
|
echo "thread apply all bt" | gdb rofi core.*
|
||||||
|
fi
|
||||||
|
|
||||||
OUTPUT=$(cat output.txt | tr '\n' ' ')
|
OUTPUT=$(cat output.txt | tr '\n' ' ')
|
||||||
if [ "${OUTPUT}" != 'noot mies ' ]
|
if [ "${OUTPUT}" != 'noot mies ' ]
|
||||||
then
|
then
|
||||||
|
|
Loading…
Reference in a new issue