diff options
author | Josh Stone <jistone@redhat.com> | 2010-03-06 13:08:22 -0800 |
---|---|---|
committer | Josh Stone <jistone@redhat.com> | 2010-03-06 13:08:22 -0800 |
commit | 01c829fe9f5a670ba37a970c66723e8737fe0287 (patch) | |
tree | 5fda72c89f977c49943afc59f93f25038da7086b /testsuite/semok/thirtynine.stp | |
parent | 63ea4244cd378a756017c66085bdf45d4ce95df4 (diff) | |
download | systemtap-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-x | testsuite/semok/thirtynine.stp | 7 |
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) +} |