summaryrefslogtreecommitdiffstats
path: root/testsuite/semok/thirtynine.stp
diff options
context:
space:
mode:
authorJosh Stone <jistone@redhat.com>2010-03-06 13:08:22 -0800
committerJosh Stone <jistone@redhat.com>2010-03-06 13:08:22 -0800
commit01c829fe9f5a670ba37a970c66723e8737fe0287 (patch)
tree5fda72c89f977c49943afc59f93f25038da7086b /testsuite/semok/thirtynine.stp
parent63ea4244cd378a756017c66085bdf45d4ce95df4 (diff)
downloadsystemtap-steved-01c829fe9f5a670ba37a970c66723e8737fe0287.tar.gz
systemtap-steved-01c829fe9f5a670ba37a970c66723e8737fe0287.tar.xz
systemtap-steved-01c829fe9f5a670ba37a970c66723e8737fe0287.zip
Move semko/nineteen.stp to semok
The *ko tests are for things that SHOULD fail, but semko/nineteen is a test that should pass but often doesn't (due to inline var trouble). It should be in semok to set the expectation properly. It does pass on F12 now, but if we want to silence the error for older gcc, setup_kfail is the right approach.
Diffstat (limited to 'testsuite/semok/thirtynine.stp')
-rwxr-xr-xtestsuite/semok/thirtynine.stp7
1 files changed, 7 insertions, 0 deletions
diff --git a/testsuite/semok/thirtynine.stp b/testsuite/semok/thirtynine.stp
new file mode 100755
index 00000000..a3b060cd
--- /dev/null
+++ b/testsuite/semok/thirtynine.stp
@@ -0,0 +1,7 @@
+#! stap -p2
+
+# PR 1155 discusses the trouble with inlines, but ideally this should work.
+
+probe kernel.function("context_switch") {
+ printf("switch from=0x%x to=0x%x\n", $prev, $next)
+}