summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2016-08-19 19:40:39 +0200
committerDave Davenport <qball@gmpclient.org>2016-08-19 19:40:39 +0200
commite55dfe8b10e2cd19e554bab1679433620744b61e (patch)
tree62485cab05ef06f9f2fa939ee1f0c8958b2b9c20 /test
parent6225b29d9484b8a6e0822e7b55f96051c6d03cb9 (diff)
Test something
Diffstat (limited to 'test')
-rwxr-xr-xtest/run_dmenu_normal_window_test.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/run_dmenu_normal_window_test.sh b/test/run_dmenu_normal_window_test.sh
index b9f542bf..6f36dc16 100755
--- a/test/run_dmenu_normal_window_test.sh
+++ b/test/run_dmenu_normal_window_test.sh
@@ -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