linux/tools/testing/selftests/ftrace/test.d
Steven Rostedt 9a154c8911 ftracetest: Fix instance test to use proper shell command for pids
The ftracetest instance test used parsing of the "jobs" output to find the
pid of the subshell that is executed previously. But this is not portable to
all major shells that may run these tests. The proper way to get the pid of
the subshell is the shell command "$!". This will return the pid of the
previously executed command. Use that instead, otherwise the test does not
work in all environments.

Link: http://lkml.kernel.org/r/20151211143617.65f4d7a1@gandalf.local.home

Reported-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
2016-02-19 12:11:21 -05:00
..
00basic ftracetest: Convert exit -1 to exit $FAIL 2015-03-31 10:15:46 -06:00
event ftracetest: Do not use usleep directly 2015-04-03 09:16:32 -06:00
ftrace ftracetest: Convert exit -1 to exit $FAIL 2015-03-31 10:15:46 -06:00
instances ftracetest: Fix instance test to use proper shell command for pids 2016-02-19 12:11:21 -05:00
kprobe selftests: kprobe: Choose an always-defined function to probe 2015-11-03 16:54:51 -07:00
functions ftracetest: Add functions file that holds helper functions 2014-11-06 08:30:02 -05:00
template ftracetest: Add POSIX.3 standard and XFAIL result codes 2014-10-03 16:44:02 -04:00