btrfs-progs: tests: teach scan-results about more errors

ASAN detects use after free.

Signed-off-by: David Sterba <dsterba@suse.com>
master
David Sterba 2016-11-07 13:21:34 +01:00
parent 3934ba255d
commit 0bd0d9c062
1 changed files with 2 additions and 0 deletions

View File

@ -10,6 +10,8 @@ for i in *.txt; do
===\ Entering*) last="$line" ;;
*Assertion*failed*) echo "ASSERTION FAILED: $last" ;;
*runtime\ error*) echo "RUNTIME ERROR (sanitizer): $last" ;;
*AddressSanitizer*heap-use-after-free*) echo "RUNTIME ERROR (use after free): $last" ;;
*Warning:\ assertion*failed*) echo "ASSERTION WARNING: $last" ;;
*) : ;;
esac
done < "$i"