projects
/
platform
/
upstream
/
btrfs-progs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
515ea7d
)
btrfs-progs: tests: scan results for commands not found
author
David Sterba
<dsterba@suse.com>
Wed, 23 Aug 2017 17:19:47 +0000
(19:19 +0200)
committer
David 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
patch
|
blob
|
history
diff --git
a/tests/scan-results.sh
b/tests/scan-results.sh
index
f3ebcbc
..
89e34dd
100755
(executable)
--- 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"