btrfs-progs: tests: fix test case name detection scan-results.sh

The test markers have changed in 4.17 so the result scanner does not
print the test names (but still detects the errors).

Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
David Sterba 2023-09-05 21:53:23 +02:00
parent 634e9a4792
commit e0263f2b31
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ for i in *.txt; do
last= last=
while read line; do while read line; do
case "$line" in case "$line" in
===\ Entering*) last="$line" ;; ===\ START\ TEST*) last="$line" ;;
*Assertion*failed*) echo "ASSERTION FAILED: $last" ;; *Assertion*failed*) echo "ASSERTION FAILED: $last" ;;
*runtime\ error*) echo "RUNTIME ERROR (sanitizer): $last" ;; *runtime\ error*) echo "RUNTIME ERROR (sanitizer): $last" ;;
*AddressSanitizer*heap-use-after-free*) echo "RUNTIME ERROR (use after free): $last" ;; *AddressSanitizer*heap-use-after-free*) echo "RUNTIME ERROR (use after free): $last" ;;