btrfs-progs: tests: scan results for commands not found
authorDavid Sterba <dsterba@suse.com>
Wed, 23 Aug 2017 17:19:47 +0000 (19:19 +0200)
committerDavid Sterba <dsterba@suse.com>
Thu, 24 Aug 2017 17:08:02 +0000 (19:08 +0200)
In case of typos or messed up command execution, we'd like to be able to
catch that.

Signed-off-by: David Sterba <dsterba@suse.com>
tests/scan-results.sh

index f3ebcbc..89e34dd 100755 (executable)
@@ -12,6 +12,7 @@ for i in *.txt; do
                        *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" ;;
+                       *command\ not\ found*) echo "COMMAND NOT FOUND: $last" ;;
                        *) : ;;
                esac
        done < "$i"