summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--testsuite/ChangeLog4
-rw-r--r--testsuite/systemtap.base/static_uprobes.exp10
2 files changed, 9 insertions, 5 deletions
diff --git a/testsuite/ChangeLog b/testsuite/ChangeLog
index d6fc7686..2652aad4 100644
--- a/testsuite/ChangeLog
+++ b/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2008-11-29 Frank Ch. Eigler <fche@elastic.org>
+
+ * systemtap.base/static_uprobes.exp: Simplified pass/fail messages.
+
2008-11-28 Frank Ch. Eigler <fche@elastic.org>
PR5376.
diff --git a/testsuite/systemtap.base/static_uprobes.exp b/testsuite/systemtap.base/static_uprobes.exp
index 2e1c41e1..eb878405 100644
--- a/testsuite/systemtap.base/static_uprobes.exp
+++ b/testsuite/systemtap.base/static_uprobes.exp
@@ -48,10 +48,10 @@ close $fp
set res [target_compile $sup_srcpath $sup_exepath executable $sup_flags]
if { $res != "" } {
verbose "target_compile failed: $res" 2
- fail "unable to compile $sup_srcpath"
+ fail "compiling static_uprobes.c"
return
} else {
- pass "compiling $sup_srcpath"
+ pass "compiling static_uprobes.c"
}
set ok 0
@@ -84,10 +84,10 @@ set sup_flags "additional_flags=-iquote$env(SYSTEMTAP_RUNTIME) additional_flags=
set res [target_compile $sup_srcpath $sup_exepath executable $sup_flags]
if { $res != "" } {
verbose "target_compile failed: $res" 2
- fail "unable to compile $sup_srcpath"
+ fail "compiling sduprobes.c -g"
return
} else {
- pass "compiling $sup_srcpath"
+ pass "compiling sduprobes.c -g"
}
spawn stap -c $sup_exepath $srcdir/$subdir/static_uprobes.stp
@@ -102,4 +102,4 @@ expect {
wait
-if {$ok == 6} { pass "$test" } { fail "$test (Got $ok Expected 3)" }
+if {$ok == 6} { pass "$test" } { fail "$test ($ok)" }