From 674427d3a018d0f89c9669db8dcf952aab8b4423 Mon Sep 17 00:00:00 2001 From: fche Date: Fri, 25 Jan 2008 04:47:11 +0000 Subject: staplog crash(8) module tests 2008-01-24 Frank Ch. Eigler * Makefile.am: Make another $(MKDIR) call visible. * Makefile.in: Regenerated. 2008-01-24 Frank Ch. Eigler crash(8) tests, based on Masami Hiramatsu : * 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. --- testsuite/lib/systemtap.exp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'testsuite/lib') 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 } -- cgit