summaryrefslogtreecommitdiffstats
path: root/testsuite
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@elastic.org>2010-03-30 12:50:55 -0400
committerFrank Ch. Eigler <fche@elastic.org>2010-03-30 12:52:50 -0400
commiteda8b449152cf0f864d2cd250fb2b7a2945bc996 (patch)
tree99e0309aa3b0d51d26a102b0f075e6ebae2c7dd5 /testsuite
parentd8fd2e985cd815704a50d6ef9657f1aa319de1a4 (diff)
downloadsystemtap-steved-eda8b449152cf0f864d2cd250fb2b7a2945bc996.tar.gz
systemtap-steved-eda8b449152cf0f864d2cd250fb2b7a2945bc996.tar.xz
systemtap-steved-eda8b449152cf0f864d2cd250fb2b7a2945bc996.zip
testsuite: convert pfiles.stp to $PATH-based stap invocation form
Diffstat (limited to 'testsuite')
-rwxr-xr-xtestsuite/systemtap.examples/process/pfiles.stp8
1 files changed, 7 insertions, 1 deletions
diff --git a/testsuite/systemtap.examples/process/pfiles.stp b/testsuite/systemtap.examples/process/pfiles.stp
index 3b968625..e7a16732 100755
--- a/testsuite/systemtap.examples/process/pfiles.stp
+++ b/testsuite/systemtap.examples/process/pfiles.stp
@@ -1,4 +1,6 @@
-#! /usr/bin/stap -g
+#! /bin/sh
+
+exec stap -g - ${1+"$@"} << 'END'
# pfiles
# Copyright (C) 2007-2010 Red Hat, Inc., Eugene Teo <eteo@redhat.com>
#
@@ -607,3 +609,7 @@ probe begin {
exit()
}
+
+
+END
+