diff options
author | fche <fche> | 2008-02-23 22:33:55 +0000 |
---|---|---|
committer | fche <fche> | 2008-02-23 22:33:55 +0000 |
commit | 8a0dc35ee2dc6164e30e0a4c664768066db047e0 (patch) | |
tree | 22ed4d1beacc05b4bb6682ecbc82d3a70c5d7d98 /testsuite/systemtap.printf/string2.exp | |
parent | 715a5878413aecc2e50be94f8171f7cca3955b00 (diff) | |
download | systemtap-steved-8a0dc35ee2dc6164e30e0a4c664768066db047e0.tar.gz systemtap-steved-8a0dc35ee2dc6164e30e0a4c664768066db047e0.tar.xz systemtap-steved-8a0dc35ee2dc6164e30e0a4c664768066db047e0.zip |
2008-02-23 Frank Ch. Eigler <fche@elastic.org>
* systemtap.printf/*.exp: Canonicalize pass/fail messages.
Diffstat (limited to 'testsuite/systemtap.printf/string2.exp')
-rw-r--r-- | testsuite/systemtap.printf/string2.exp | 8 |
1 files changed, 4 insertions, 4 deletions
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>" |