diff options
author | 2021-06-23 13:39:28 -0700 | |
---|---|---|
committer | 2021-06-24 15:32:07 +0200 | |
commit | 04831e892b41618914b2123ae3b4fa77252e8656 (patch) | |
tree | 9b5eba04a2bed8748fb2daa23a2df14b58ac3a0b /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Merge tag 'extcon-next-for-5.14' of git://git.kernel.org/pub/scm/linux/kernel/git/chanwoo/extcon into char-misc-next (diff) | |
download | linux-dev-04831e892b41618914b2123ae3b4fa77252e8656.tar.xz linux-dev-04831e892b41618914b2123ae3b4fa77252e8656.zip |
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: stable@vger.kernel.org
Suggested-by: Guillaume Tucker <guillaume.tucker@collabora.com>
Suggested-by: David Laight <David.Laight@ACULAB.COM>
Signed-off-by: Kees Cook <keescook@chromium.org>
Link: https://lore.kernel.org/r/20210623203936.3151093-2-keescook@chromium.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions