From dda823f922ac7294cd24eeb4b1bb7436af24c8c7 Mon Sep 17 00:00:00 2001 From: hunt Date: Mon, 12 Nov 2007 22:04:35 +0000 Subject: 2007-11-12 Martin Hunt * 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. --- testsuite/systemtap.base/add.stp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'testsuite/systemtap.base/add.stp') 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") } } -- cgit