btrfs-progs: docs: make option -A of mkfs less visible
[btrfs-progs-unstable/devel.git] / tests / scan-results.sh
blobf935b1cdfae99728b471eb5e7e78e009573026d0
1 #!/bin/sh
3 # look for some error messages in all test logs
5 for i in *.txt; do
6 echo "Scanning $i"
7 last=
8 while read line; do
9 case "$line" in
10 ===\ Entering*) last="$line" ;;
11 *Assertion*failed*) echo "ASSERTION FAILED: $last" ;;
12 *runtime\ error*) echo "RUNTIME ERROR (sanitizer): $last" ;;
13 *AddressSanitizer*heap-use-after-free*) echo "RUNTIME ERROR (use after free): $last" ;;
14 *LeakSanitizer:*leak*) echo "SANITIZER REPORT: memory leak: $last" ;;
15 *Warning:\ assertion*failed*) echo "ASSERTION WARNING: $last" ;;
16 *command\ not\ found*) echo "COMMAND NOT FOUND: $last" ;;
17 *) : ;;
18 esac
19 done < "$i"
20 done