From b51763aae5b45416eb4a259b100a79870411c678 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Thu, 31 Jul 2014 21:08:37 +0200 Subject: [PATCH] Add quit_segfault_test.sh script. --- scripts/quit_segfault_test.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 scripts/quit_segfault_test.sh diff --git a/scripts/quit_segfault_test.sh b/scripts/quit_segfault_test.sh new file mode 100755 index 000000000..7d922f5f6 --- /dev/null +++ b/scripts/quit_segfault_test.sh @@ -0,0 +1,11 @@ +#!/bin/bash +echo > crash.log +while :; do + exit=0 + while (( $exit == 0)); do + duration=$(($RANDOM%10000)) + python3 -m qutebrowser --debug ":later $duration quit" http://www.heise.de/ + exit=$? + done + echo "$(date) $exit $duration" >> crash.log +done