mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-12-01 11:48:23 -05:00
f59a10d405
This makes it easier to collect failure data from test servers for further analysis. Signed-hostap: Jouni Malinen <j@w1.fi>
13 lines
251 B
Bash
Executable File
13 lines
251 B
Bash
Executable File
#!/bin/sh
|
|
|
|
errors=0
|
|
umask 0002
|
|
./start.sh
|
|
DATE=`ls -1tr logs | tail -1 | cut -f1 -d-`
|
|
./run-tests.py -e logs/$DATE-failed || errors=1
|
|
./stop-wifi.sh
|
|
if [ $errors -gt 0 ]; then
|
|
tar czf /tmp/hwsim-tests-$DATE-FAILED.tar.gz logs/$DATE*
|
|
exit 1
|
|
fi
|