qutebrowser/scripts/dev/quit_segfault_test.sh

15 lines
326 B
Bash
Raw Normal View History

2017-12-02 19:23:55 +01:00
#!/usr/bin/env bash
2017-12-02 19:23:55 +01:00
[[ $PWD == */scripts ]] && cd ..
2014-07-31 21:08:37 +02:00
echo > crash.log
while :; do
exit=0
2017-12-02 19:23:55 +01:00
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
2014-07-31 21:08:37 +02:00
done