If a stap_run[23] test case fails, in that the actual output varies
from the expected output, all remaining actual output lines were
neither compared nor reported in systemtap.log.
* testsuite/lib/stap_run2.exp (stap_run3): In case of a line mismatch,
report any remaining actual lines.
fail "$TEST_NAME"
send_log "line [expr $n + 1]: expected \"[lindex $expected $n]\"\n"
send_log "Got \"$line\"\n"
+ set m 0
+ foreach line2 [split $res "\n"] {
+ if {$m > $n} {
+ send_log " \"$line2\"\n"
+ }
+ incr m
+ }
return
}
incr n