summaryrefslogtreecommitdiffstats
path: root/testsuite/lib/systemtap.exp
diff options
context:
space:
mode:
authorfche <fche>2008-01-25 04:47:11 +0000
committerfche <fche>2008-01-25 04:47:11 +0000
commit674427d3a018d0f89c9669db8dcf952aab8b4423 (patch)
tree29e3f9c4405e1fd1f81b8c87ac2e485855541a66 /testsuite/lib/systemtap.exp
parent7ae8037e595d8da298c83cdc059db6ac5b68d8dc (diff)
downloadsystemtap-steved-674427d3a018d0f89c9669db8dcf952aab8b4423.tar.gz
systemtap-steved-674427d3a018d0f89c9669db8dcf952aab8b4423.tar.xz
systemtap-steved-674427d3a018d0f89c9669db8dcf952aab8b4423.zip
staplog crash(8) module tests
2008-01-24 Frank Ch. Eigler <fche@elastic.org> * Makefile.am: Make another $(MKDIR) call visible. * Makefile.in: Regenerated. 2008-01-24 Frank Ch. Eigler <fche@elastic.org> crash(8) tests, based on Masami Hiramatsu <mhiramat@redhat.com>: * Makefile.am (CRASH_LIBDIR): Pass in $(RUNTEST). * lib/systemtap.exp (as_root): Trace command string, output, and result. * sysetmtap.samples/crash.*, testlog.stp: New test case. * Makefile.in: Regenerated.
Diffstat (limited to 'testsuite/lib/systemtap.exp')
-rw-r--r--testsuite/lib/systemtap.exp3
1 files changed, 3 insertions, 0 deletions
diff --git a/testsuite/lib/systemtap.exp b/testsuite/lib/systemtap.exp
index f677da41..baed0e41 100644
--- a/testsuite/lib/systemtap.exp
+++ b/testsuite/lib/systemtap.exp
@@ -121,6 +121,9 @@ proc as_root { command } {
if {$effective_pid != 0} {
set command "sudo $command"
}
+ verbose -log "as_root $command"
set res [catch {eval exec $command} value]
+ verbose -log "OUT $value"
+ verbose -log "RC $res"
return $res
}