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

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