summaryrefslogtreecommitdiffstats
path: root/testsuite/parseko/cmdline16.stp
blob: da5ac4d2d21bc2d9a46b20fcf0863480c0912ace (plain)
1
2
3
4
5
6
7
8
9
#!/bin/sh

# options '-c cmd' and '-x pid' are mutually exclusive
#
# -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.
# -x pid          Sets the '_stp_target' variable to pid.
staprun -c /bin/ls -x 100 fake_module