qutebrowser/scripts/quit_segfault_test.sh
2014-10-26 19:42:01 +01:00

17 lines
328 B
Bash
Executable File

#!/bin/bash
if [[ $PWD == */scripts ]]; then
cd ..
fi
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