mirror of
https://github.com/kdave/btrfs-progs
synced 2025-02-09 14:17:03 +00:00
btrfs-progs: tests: add script to scan results for some known runtime errors
Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
5a38a52194
commit
8d8de7c2e5
16
tests/scan-results.sh
Executable file
16
tests/scan-results.sh
Executable file
@ -0,0 +1,16 @@
|
|||||||
|
#!/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
|
Loading…
Reference in New Issue
Block a user