summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.base/crash.sh
diff options
context:
space:
mode:
authorWilliam Cohen <wcohen@redhat.com>2009-02-10 16:18:29 -0500
committerWilliam Cohen <wcohen@redhat.com>2009-02-10 16:18:29 -0500
commita70a69bd47f2b0c7e8e4e99b7a630ebbedc5f264 (patch)
tree5abda041a1bba2387eaf996665a0936322d4b004 /testsuite/systemtap.base/crash.sh
parent955925b709fcf1aeaa667423ed7b639dcfd94478 (diff)
downloadsystemtap-steved-a70a69bd47f2b0c7e8e4e99b7a630ebbedc5f264.tar.gz
systemtap-steved-a70a69bd47f2b0c7e8e4e99b7a630ebbedc5f264.tar.xz
systemtap-steved-a70a69bd47f2b0c7e8e4e99b7a630ebbedc5f264.zip
Move crash.exp and crash.sh to systemtap.base directory.
Diffstat (limited to 'testsuite/systemtap.base/crash.sh')
-rwxr-xr-xtestsuite/systemtap.base/crash.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/testsuite/systemtap.base/crash.sh b/testsuite/systemtap.base/crash.sh
new file mode 100755
index 00000000..06aa414e
--- /dev/null
+++ b/testsuite/systemtap.base/crash.sh
@@ -0,0 +1,8 @@
+#! /bin/sh
+
+crash --readnow << END
+mod -s testlog testlog.ko
+extend $1/staplog.so
+staplog testlog
+exit
+END