summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.base/add.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/add.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/add.stp')
-rw-r--r--testsuite/systemtap.base/add.stp10
1 files changed, 5 insertions, 5 deletions
diff --git a/testsuite/systemtap.base/add.stp b/testsuite/systemtap.base/add.stp
index 3fa7be38..8ae46f10 100644
--- a/testsuite/systemtap.base/add.stp
+++ b/testsuite/systemtap.base/add.stp
@@ -1,7 +1,7 @@
/*
* add.stp
*
- * Check the systemtap "addition" works
+ * Check that systemtap "addition" works
*/
global x3
@@ -10,17 +10,17 @@ global x2
probe begin
{
- log("systemtap starting probe")
+ println("systemtap starting probe")
x1 = 42; x2 = 53;
}
probe end
{
- log("systemtap ending probe")
+ println("systemtap ending probe")
x3 = x1 + x2;
if (x3 != 95 ) {
- log("systemtap test failure");
+ println("systemtap test failure")
} else {
- log("systemtap test success");
+ println("systemtap test success")
}
}