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/mixed_outb.exp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'testsuite/systemtap.printf/mixed_outb.exp') diff --git a/testsuite/systemtap.printf/mixed_outb.exp b/testsuite/systemtap.printf/mixed_outb.exp index 748dd0f2..cbf7b920 100644 --- a/testsuite/systemtap.printf/mixed_outb.exp +++ b/testsuite/systemtap.printf/mixed_outb.exp @@ -24,18 +24,18 @@ if {[catch {exec stap -DMAXACTION=100000 -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}*]" -- cgit