btrfs-progs/tests/scan-results.sh

17 lines
337 B
Bash
Raw Normal View History

#!/bin/sh
# look for some error messages in all test logs
for i in *.txt; do
echo "Scanning $i"
last=
while read line; do
case "$line" in
===\ Entering*) last="$line" ;;
*Assertion*failed*) echo "ASSERTION FAILED: $last" ;;
*runtime\ error*) echo "RUNTIME ERROR (sanitizer): $last" ;;
*) : ;;
esac
done < "$i"
done