Files
radare2-r2pipe/python/test/race.sh
2021-08-31 21:03:22 +02:00

18 lines
219 B
Bash

#!/bin/sh
fail() {
echo "ERROR"
exit 1
}
C=0
while : ; do
PYTHONPATH=${PWD}/.. python race.py /bin/ls | grep FAIL
[ $? = 0 ] && fail
printf "... $C\r"
C=$(($C+1))
[ "$C" = 32 ] && break
done
echo "PASS"
exit 0