summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.printf/mixed_out.exp
diff options
context:
space:
mode:
authorDavid Smith <dsmith@redhat.com>2009-03-11 16:07:39 -0500
committerDavid Smith <dsmith@redhat.com>2009-03-11 16:07:39 -0500
commit457debd23eb3eef17d24ecf3534891ec640684f6 (patch)
tree05a7618c7a3ac7ab0c24db3f431c269ca0f0a1c5 /testsuite/systemtap.printf/mixed_out.exp
parent49f34ab20c2afd95b6a34a904563d456d6deb1d1 (diff)
downloadsystemtap-steved-457debd23eb3eef17d24ecf3534891ec640684f6.tar.gz
systemtap-steved-457debd23eb3eef17d24ecf3534891ec640684f6.tar.xz
systemtap-steved-457debd23eb3eef17d24ecf3534891ec640684f6.zip
Make printf tests fail when stap fails.
2009-03-11 David Smith <dsmith@redhat.com> * systemtap.printf/end1.exp: The test fails when stap fails. * systemtap.printf/end1b.exp: Ditto. * systemtap.printf/mixed_out.exp: Ditto. * systemtap.printf/mixed_outb.exp: Ditto. * systemtap.printf/out1.exp: Ditto. * systemtap.printf/out1b.exp: Ditto. * systemtap.printf/out2.exp: Ditto. * systemtap.printf/out2b.exp: Ditto. * systemtap.printf/out3.exp: Ditto. * systemtap.printf/out3b.exp: Ditto.
Diffstat (limited to 'testsuite/systemtap.printf/mixed_out.exp')
-rw-r--r--testsuite/systemtap.printf/mixed_out.exp4
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/systemtap.printf/mixed_out.exp b/testsuite/systemtap.printf/mixed_out.exp
index 093a8ca1..d73a55a6 100644
--- a/testsuite/systemtap.printf/mixed_out.exp
+++ b/testsuite/systemtap.printf/mixed_out.exp
@@ -11,8 +11,8 @@ if {[catch {exec mktemp -t staptestXXXXX} tmpfile]} {
}
if {[catch {exec stap -DMAXACTION=100000 -o $tmpfile $tpath} res]} {
- untested $TEST_NAME
- puts "$res"
+ fail $TEST_NAME
+ puts "stap failed: $res"
catch {exec rm -f $tmpfile}
return
}