Blame SOURCES/rhbz1643997.0030-PR23875-bpf.exp-fail-testcase-on-stack-smashing.patch

132810
From d3a33cd7b8c1b0bfe236bdea2bde83c9c6a83c05 Mon Sep 17 00:00:00 2001
132810
From: Serhei Makarov <smakarov@redhat.com>
132810
Date: Tue, 13 Nov 2018 12:27:05 -0500
132810
Subject: [PATCH 30/32] PR23875 bpf.exp: fail testcase on 'stack smashing'
132810
132810
---
132810
 testsuite/systemtap.bpf/bpf.exp | 3 +++
132810
 1 file changed, 3 insertions(+)
132810
132810
diff --git a/testsuite/systemtap.bpf/bpf.exp b/testsuite/systemtap.bpf/bpf.exp
132810
index e8e94bf19..3f32b6c79 100644
132810
--- a/testsuite/systemtap.bpf/bpf.exp
132810
+++ b/testsuite/systemtap.bpf/bpf.exp
132810
@@ -58,6 +58,9 @@ proc stapbpf_run { TEST_NAME OUTPUT_STR args } {
132810
 
132810
             expect {
132810
                 -timeout 20
132810
+                -re "stack smashing detected" {
132810
+                    set rc $bad_output
132810
+                }
132810
                 -re $pass_str  {
132810
                     set rc $pass
132810
                 }
132810
-- 
132810
2.14.5
132810