mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/kdave/btrfs-progs.git
synced 2024-11-28 22:54:12 +08:00
8d8de7c2e5
Signed-off-by: David Sterba <dsterba@suse.com>
17 lines
337 B
Bash
Executable File
17 lines
337 B
Bash
Executable File
#!/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
|