qutebrowser/scripts/dev/quit_segfault_test.sh
2017-12-02 19:37:18 +01:00

15 lines
326 B
Bash
Executable File

#!/usr/bin/env bash
[[ $PWD == */scripts ]] && cd ..
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