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/systemtap.samples/crash.sh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 testsuite/systemtap.samples/crash.sh (limited to 'testsuite/systemtap.samples/crash.sh') diff --git a/testsuite/systemtap.samples/crash.sh b/testsuite/systemtap.samples/crash.sh new file mode 100755 index 00000000..06aa414e --- /dev/null +++ b/testsuite/systemtap.samples/crash.sh @@ -0,0 +1,8 @@ +#! /bin/sh + +crash --readnow << END +mod -s testlog testlog.ko +extend $1/staplog.so +staplog testlog +exit +END -- cgit