Blame SOURCES/rhbz1643997.0031-PR23875-another-testcase-that-loops-indefinitely.patch

132810
From ed0fac0c88da94f40f826a41cc87d0d9d7620f34 Mon Sep 17 00:00:00 2001
132810
From: Serhei Makarov <smakarov@redhat.com>
132810
Date: Tue, 13 Nov 2018 13:07:52 -0500
132810
Subject: [PATCH 31/32] PR23875: another testcase that loops indefinitely
132810
132810
---
132810
 testsuite/systemtap.bpf/bpf_tests/pr23875_loop.stp            | 11 +++++++++++
132810
 .../bpf_tests/{pr23875.stp => pr23875_smash.stp}              |  0
132810
 2 files changed, 11 insertions(+)
132810
 create mode 100644 testsuite/systemtap.bpf/bpf_tests/pr23875_loop.stp
132810
 rename testsuite/systemtap.bpf/bpf_tests/{pr23875.stp => pr23875_smash.stp} (100%)
132810
132810
diff --git a/testsuite/systemtap.bpf/bpf_tests/pr23875_loop.stp b/testsuite/systemtap.bpf/bpf_tests/pr23875_loop.stp
132810
new file mode 100644
132810
index 000000000..5912ebf8c
132810
--- /dev/null
132810
+++ b/testsuite/systemtap.bpf/bpf_tests/pr23875_loop.stp
132810
@@ -0,0 +1,11 @@
132810
+global t
132810
+
132810
+probe begin {
132810
+  println("BEGIN")
132810
+  t["key"] = 6
132810
+}
132810
+
132810
+probe end {
132810
+  foreach (k in t) printf("%s -> %d\n", k, t[k])
132810
+  println("END PASS")
132810
+}
132810
diff --git a/testsuite/systemtap.bpf/bpf_tests/pr23875.stp b/testsuite/systemtap.bpf/bpf_tests/pr23875_smash.stp
132810
similarity index 100%
132810
rename from testsuite/systemtap.bpf/bpf_tests/pr23875.stp
132810
rename to testsuite/systemtap.bpf/bpf_tests/pr23875_smash.stp
132810
-- 
132810
2.14.5
132810