From 69bf08b5a00d5095ca50b7400221b2cbedeae904 Mon Sep 17 00:00:00 2001 From: dsmith Date: Tue, 14 Aug 2007 15:28:47 +0000 Subject: 2007-08-14 David Smith Merge from setuid-branch. * configure.ac: Version increase to 0.6. * configure: Regenerated. * parseko/cmdline09.stp: Added new test for staprun command line options. * parseko/cmdline10.stp: Ditto. * parseko/cmdline11.stp: Ditto. * parseko/cmdline12.stp: Ditto. * parseko/cmdline13.stp: Ditto. * parseko/cmdline14.stp: Ditto. * systemtap.samples/args.exp: No longer necessary to use "sudo" to run staprun. --- testsuite/parseko/cmdline13.stp | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 testsuite/parseko/cmdline13.stp (limited to 'testsuite/parseko/cmdline13.stp') diff --git a/testsuite/parseko/cmdline13.stp b/testsuite/parseko/cmdline13.stp new file mode 100755 index 00000000..28decbc8 --- /dev/null +++ b/testsuite/parseko/cmdline13.stp @@ -0,0 +1,9 @@ +#!/bin/sh + +# options '-A' and '-c cmd' are mutually exclusive +# +# -A Attach to loaded systemtap module. +# -c cmd Command 'cmd' will be run and staprun will +# exit when it does. The '_stp_target' variable +# will contain the pid for the command. +staprun -A -c bash fake_module -- cgit