diff options
author | Masami Hiramatsu <mhiramat@kernel.org> | 2019-02-22 02:27:25 +0100 |
---|---|---|
committer | Shuah Khan <skhan@linuxfoundation.org> | 2019-05-24 21:38:29 +0200 |
commit | 4a075bd4e13f6dd07a8438e0580629a3fba3f58e (patch) | |
tree | 1dfb4980a8d603d46a93b935c0f75ecda8866e94 /tools/testing/selftests/ftrace/ftracetest | |
parent | selftests/ftrace: Make a script checkbashisms clean (diff) | |
download | linux-4a075bd4e13f6dd07a8438e0580629a3fba3f58e.tar.xz linux-4a075bd4e13f6dd07a8438e0580629a3fba3f58e.zip |
selftests/ftrace: Add checkbashisms meta-testcase
Add a meta-testcase which tests ftracetest itself with
checkbasisms. This helps us to keep our test script
bashisms clean.
Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'tools/testing/selftests/ftrace/ftracetest')
-rwxr-xr-x | tools/testing/selftests/ftrace/ftracetest | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/testing/selftests/ftrace/ftracetest b/tools/testing/selftests/ftrace/ftracetest index 136387422b00..7da5e31fa0ed 100755 --- a/tools/testing/selftests/ftrace/ftracetest +++ b/tools/testing/selftests/ftrace/ftracetest @@ -318,6 +318,7 @@ run_test() { # testfile local testlog=/proc/self/fd/1 fi export TMPDIR=`mktemp -d /tmp/ftracetest-dir.XXXXXX` + export FTRACETEST_ROOT=$TOP_DIR echo "execute$INSTANCE: "$1 > $testlog SIG_RESULT=0 if [ $VERBOSE -eq -1 ]; then |