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/out2b.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/out2b.exp')
-rw-r--r-- | testsuite/systemtap.printf/out2b.exp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/testsuite/systemtap.printf/out2b.exp b/testsuite/systemtap.printf/out2b.exp index fc3301ab..f7fdef6b 100644 --- a/testsuite/systemtap.printf/out2b.exp +++ b/testsuite/systemtap.printf/out2b.exp @@ -24,18 +24,18 @@ if {[catch {exec stap -b -o $tmpfile $test} res]} { if {[catch {eval [list exec $stap_merge_path -o $tmpfile] [glob "${tmpfile}_*"]} res]} { puts "merge failed: $res" - fail "$TEST_NAME failed" + fail $TEST_NAME as_root "/bin/rm -f [glob ${tmpfile}*]" return } if {[catch {exec cmp $tmpfile $srcdir/$subdir/large_output} res]} { puts "$res" - fail "$TEST_NAME failed" + fail $TEST_NAME as_root "/bin/rm -f [glob ${tmpfile}*]" return } -pass "$TEST_NAME passed" +pass $TEST_NAME as_root "/bin/rm -f [glob ${tmpfile}*]" |