Add quit_segfault_test.sh script.

This commit is contained in:
Florian Bruhin 2014-07-31 21:08:37 +02:00
parent 9edbfaecc9
commit b51763aae5

11
scripts/quit_segfault_test.sh Executable file
View File

@ -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