diff options
author | David Sterba <dsterba@suse.com> | 2016-11-07 13:21:34 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2016-11-09 13:47:35 +0100 |
commit | 0bd0d9c062d1b02978161c356057122c865f5ad0 (patch) | |
tree | ac850c428384912ee901a493fe27ff17b3349f3a /tests | |
parent | 3934ba255d520daab8217d5e7419a8193c680a68 (diff) |
btrfs-progs: tests: teach scan-results about more errors
ASAN detects use after free.
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/scan-results.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/scan-results.sh b/tests/scan-results.sh index 743b968b..f3ebcbc4 100755 --- a/tests/scan-results.sh +++ b/tests/scan-results.sh @@ -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" |