diff options
author | David Sterba <dsterba@suse.com> | 2016-10-04 18:53:38 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2016-10-05 12:39:01 +0200 |
commit | a08ca376f7746b4ec5839bacc4d7d7468a271dac (patch) | |
tree | c212beb465676a6710f4837d8a0499c0ca9c2a75 /tests | |
parent | 942dc5f29d43d58d51ee8f5f829a267672733273 (diff) |
btrfs-progs: tests: teach run_mayfail about sigabrt
Mayfail helper should stop when we encoutner an abort.
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/common | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/common b/tests/common index d965c12c..264424d3 100644 --- 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 |