summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2017-08-23 19:19:47 +0200
committerDavid Sterba <dsterba@suse.com>2017-08-24 19:08:02 +0200
commitf0c7703671996ed078462f41bb52490d7774aea3 (patch)
tree667e7af0a7d20ffb4f0cb78fdc11b0e8cd52db6f
parent515ea7dc2f28794b03b64bc962da79935a29b457 (diff)
btrfs-progs: tests: scan results for commands not found
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>
-rwxr-xr-xtests/scan-results.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/scan-results.sh b/tests/scan-results.sh
index f3ebcbc4..89e34dd2 100755
--- a/tests/scan-results.sh
+++ b/tests/scan-results.sh
@@ -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"