[2/5] test/abrt: skip core dumps from the seccomp_filter test

Submitted by Andrei Vagin on Nov. 27, 2018, 5:45 p.m.

Details

Message ID 20181127174545.3872-3-avagin@gmail.com
State Accepted
Series "travis: switch to the Ubuntu Xenial"
Headers show

Commit Message

Andrei Vagin Nov. 27, 2018, 5:45 p.m.
It is expected behaviour.

Signed-off-by: Andrei Vagin <avagin@gmail.com>
---
 test/abrt.sh | 5 +++++
 1 file changed, 5 insertions(+)

Patch hide | download patch | download mbox

diff --git a/test/abrt.sh b/test/abrt.sh
index 34f25b474..94aca2116 100755
--- a/test/abrt.sh
+++ b/test/abrt.sh
@@ -12,6 +12,11 @@  expr match "$comm" zombie00 && {
 	exit 0
 }
 
+expr match "$comm" seccomp_filter && {
+	cat > /dev/null
+	exit 0
+}
+
 report="/tmp/zdtm-core-$pid-$comm"
 exec &> ${report}.txt