From e55dfe8b10e2cd19e554bab1679433620744b61e Mon Sep 17 00:00:00 2001 From: Dave Davenport Date: Fri, 19 Aug 2016 19:40:39 +0200 Subject: [PATCH] Test something --- test/run_dmenu_normal_window_test.sh | 6 ++++++ 1 file changed, 6 insertions(+) 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