summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.syscall/test.tcl
diff options
context:
space:
mode:
authorhunt <hunt>2007-10-01 15:29:27 +0000
committerhunt <hunt>2007-10-01 15:29:27 +0000
commitb71a5cbb7521034d43523096c890e5d9bd05e79c (patch)
tree16f3bdb8bf5d5e0add015b8e2bc8b56e989ba1cf /testsuite/systemtap.syscall/test.tcl
parentc1c10f4b459dcd39c6d9d62cf902d20b455bfc08 (diff)
downloadsystemtap-steved-b71a5cbb7521034d43523096c890e5d9bd05e79c.tar.gz
systemtap-steved-b71a5cbb7521034d43523096c890e5d9bd05e79c.tar.xz
systemtap-steved-b71a5cbb7521034d43523096c890e5d9bd05e79c.zip
2007-10-01 Martin Hunt <hunt@redhat.com>
* test.tcl (run_one_test): Append newlines when using send_log().
Diffstat (limited to 'testsuite/systemtap.syscall/test.tcl')
-rwxr-xr-xtestsuite/systemtap.syscall/test.tcl14
1 files changed, 7 insertions, 7 deletions
diff --git a/testsuite/systemtap.syscall/test.tcl b/testsuite/systemtap.syscall/test.tcl
index 5d1db2a3..fe16358d 100755
--- a/testsuite/systemtap.syscall/test.tcl
+++ b/testsuite/systemtap.syscall/test.tcl
@@ -89,27 +89,27 @@ proc run_one_test {filename flags} {
} else {
set result "FAIL $testname"
send_log "$testname FAILED. output of \"$cmd\" was:"
- send_log "------------------------------------------"
+ send_log "\n------------------------------------------\n"
send_log $output
- send_log "------------------------------------------"
- send_log "RESULTS: (\'*\' = MATCHED EXPECTED)"
+ send_log "\n------------------------------------------\n"
+ send_log "RESULTS: (\'*\' = MATCHED EXPECTED)\n"
set i 0
foreach line [split $output "\n"] {
if {[regexp "${testname}: " $line]} {
if {[regexp $results($i) $line]} {
- send_log "*$line"
+ send_log "*$line\n"
incr i
if {$i >= $ind} {break}
} else {
- send_log "$line"
+ send_log "$line\n"
}
}
}
if {$i < $ind} {
- send_log "--------- EXPECTED and NOT MATCHED ----------"
+ send_log "--------- EXPECTED and NOT MATCHED ----------\n"
}
for {} {$i < $ind} {incr i} {
- send_log "$results($i)"
+ send_log "$results($i)\n"
}
}
cleanup