* lib/stap_run2.exp (stap_run2): Use send_log()
instead of puts to save failure context in the log.
+2007-09-21 Martin Hunt <hunt@redhat.com>
+
+ * lib/stap_run2.exp (stap_run2): Use send_log()
+ instead of puts to save failure context in the log.
+
2007-09-21 Frank Ch. Eigler <fche@elastic.org>
* systemtap.base/optim.exp/stp: New test for rhbz# 300121.
set expected [split $::result_string "\n"]
foreach line [split $res "\n"] {
if {![string equal $line [lindex $expected $n]]} {
- puts "line [expr $n + 1]: expected \"[lindex $expected $n]\""
- puts "Got \"$line\""
fail "$TEST_NAME"
+ send_log "line [expr $n + 1]: expected \"[lindex $expected $n]\"\n"
+ send_log "Got \"$line\"\n"
return
}
incr n