diff options
Diffstat (limited to 'testsuite/systemtap.syscall')
-rwxr-xr-x | testsuite/systemtap.syscall/sys.stp | 4 | ||||
-rwxr-xr-x | testsuite/systemtap.syscall/test.tcl | 5 |
2 files changed, 6 insertions, 3 deletions
diff --git a/testsuite/systemtap.syscall/sys.stp b/testsuite/systemtap.syscall/sys.stp index ab822ebb..e3564a15 100755 --- a/testsuite/systemtap.syscall/sys.stp +++ b/testsuite/systemtap.syscall/sys.stp @@ -11,7 +11,7 @@ probe begin { } -probe syscall.* { +probe syscall.* ? { if (pid() == target()) { if (entry) printf("\n") printf("%s%s: %s (%s) = ", indent_str[indent], execname(), name, argstr) @@ -21,7 +21,7 @@ probe syscall.* { } } -probe syscall.*.return { +probe syscall.*.return ? { if (pid() == target()) { if (indent) indent-- if (entry) diff --git a/testsuite/systemtap.syscall/test.tcl b/testsuite/systemtap.syscall/test.tcl index 082eaabe..8c228cba 100755 --- a/testsuite/systemtap.syscall/test.tcl +++ b/testsuite/systemtap.syscall/test.tcl @@ -86,7 +86,10 @@ foreach line [split $output "\n"] { if {$i >= $ind} { puts "PASS" } else { - puts "$testname FAILED" + puts "$testname FAILED. output of \"$cmd\" was:" + puts "------------------------------------------" + puts $output + puts "------------------------------------------" puts "RESULTS: (\'*\' = MATCHED EXPECTED)" set i 0 foreach line [split $output "\n"] { |