summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.base/not.stp
diff options
context:
space:
mode:
authorhunt <hunt>2007-11-12 22:04:35 +0000
committerhunt <hunt>2007-11-12 22:04:35 +0000
commitdda823f922ac7294cd24eeb4b1bb7436af24c8c7 (patch)
treebf8a4507dda929f48b1ad31e216b5694e1e99384 /testsuite/systemtap.base/not.stp
parenteddde980ee23baef42edb992da5cb977ba6b4c0c (diff)
downloadsystemtap-steved-dda823f922ac7294cd24eeb4b1bb7436af24c8c7.tar.gz
systemtap-steved-dda823f922ac7294cd24eeb4b1bb7436af24c8c7.tar.xz
systemtap-steved-dda823f922ac7294cd24eeb4b1bb7436af24c8c7.zip
2007-11-12 Martin Hunt <hunt@redhat.com>
* systemtap.base/*.stp: Replace log() calls with println() (or printf() if formatting would help.) * systemtap.maps/*.stp: Ditto. * systemtap.samples/*.stp: Ditto. * systemtap.stress/*.stp: Ditto.
Diffstat (limited to 'testsuite/systemtap.base/not.stp')
-rw-r--r--testsuite/systemtap.base/not.stp12
1 files changed, 6 insertions, 6 deletions
diff --git a/testsuite/systemtap.base/not.stp b/testsuite/systemtap.base/not.stp
index 3e1bbd50..166346df 100644
--- a/testsuite/systemtap.base/not.stp
+++ b/testsuite/systemtap.base/not.stp
@@ -1,24 +1,24 @@
/*
* neg.stp
*
- * Check the systemtap negation works
+ * Check that systemtap negation works
*/
global x2, x1
probe begin
{
- log("systemtap starting probe")
+ println("systemtap starting probe")
x1 = 0xaaaaaaaaaaaaaaaa
}
probe end
{
- log("systemtap ending probe")
- x2 = ~x1;
+ println("systemtap ending probe")
+ x2 = ~x1
if ( x2 != 0x5555555555555555 ) {
- log("systemtap test failure");
+ println("systemtap test failure")
} else {
- log("systemtap test success");
+ println("systemtap test success")
}
}