diff options
| author | Kees Cook <[email protected]> | 2021-06-23 13:39:28 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2021-06-24 15:32:07 +0200 |
| commit | 04831e892b41618914b2123ae3b4fa77252e8656 (patch) | |
| tree | 9b5eba04a2bed8748fb2daa23a2df14b58ac3a0b /tools/perf/scripts/python | |
| parent | d4e1406618a1bdb2f5379213a6b8c9c5fa3bdac7 (diff) | |
selftests/lkdtm: Avoid needing explicit sub-shell
Some environments do not set $SHELL when running tests. There's no
need to use $SHELL here anyway, since "cat" can be used to receive any
delivered signals from the kernel. Additionally avoid using bash-isms
in the command, and record stderr for posterity.
Fixes: 46d1a0f03d66 ("selftests/lkdtm: Add tests for LKDTM targets")
Cc: [email protected]
Suggested-by: Guillaume Tucker <[email protected]>
Suggested-by: David Laight <[email protected]>
Signed-off-by: Kees Cook <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions