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:
942dc5f
)
btrfs-progs: tests: teach run_mayfail about sigabrt
author
David Sterba
<dsterba@suse.com>
Tue, 4 Oct 2016 16:53:38 +0000
(18:53 +0200)
committer
David Sterba
<dsterba@suse.com>
Wed, 5 Oct 2016 10:39:01 +0000
(12:39 +0200)
Mayfail helper should stop when we encoutner an abort.
Signed-off-by: David Sterba <dsterba@suse.com>
tests/common
patch
|
blob
|
history
diff --git
a/tests/common
b/tests/common
index
d965c12
..
264424d
100644
(file)
--- a/
tests/common
+++ b/
tests/common
@@
-62,6
+62,8
@@
run_mayfail()
echo "failed (ignored, ret=$ret): $@" >> $RESULTS
if [ $ret == 139 ]; then
_fail "mayfail: returned code 139 (SEGFAULT), not ignored"
+ elif [ $ret == 134 ]; then
+ _fail "mayfail: returned code 134 (SIGABRT), not ignored"
fi
return $ret
fi