From 8a0dc35ee2dc6164e30e0a4c664768066db047e0 Mon Sep 17 00:00:00 2001 From: fche Date: Sat, 23 Feb 2008 22:33:55 +0000 Subject: 2008-02-23 Frank Ch. Eigler * systemtap.printf/*.exp: Canonicalize pass/fail messages. --- testsuite/systemtap.printf/string2.exp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'testsuite/systemtap.printf/string2.exp') diff --git a/testsuite/systemtap.printf/string2.exp b/testsuite/systemtap.printf/string2.exp index a64bfa38..f380337a 100644 --- a/testsuite/systemtap.printf/string2.exp +++ b/testsuite/systemtap.printf/string2.exp @@ -102,16 +102,16 @@ t is <12345678901234567890123456789012345678901234567890123456789012345678901234 98: 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 99: 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890} -set TEST_NAME "$srcdir/$subdir/$test.stp" +set TEST_NAME "$subdir/$test.stp" if {![installtest_p]} { untested $TEST_NAME; return } -set res [exec stap $TEST_NAME] +set res [exec stap $srcdir/$subdir/$test.stp] if {[string compare $res $::result_string] == 0} { - pass "$TEST_NAME passed" + pass $TEST_NAME } else { - fail "$TEST_NAME failed" + fail $TEST_NAME puts "EXPECTED:\n-----------------------\n<$::result_string>" puts "-----------------------\n" puts "GOT:\n-----------------------\n<$res>" -- cgit