Skip to content

Add checkbashisms meta-testcase

Masami Hiramatsu linux-kselftest lkml 1 version In review

Get series with b4
b4 am 155079878723.5157.12433171255092403676.stgit@devbox

Versions newest first

  1. v1 Latest2 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2selftests/ftrace: Make a script checkbashisms cleantools/testing/selftests/ftrace/test.d/kprobe/kprobe_ftrace.tc+1 -10 replies
2/2selftests/ftrace: Add checkbashisms meta-testcasetools/testing/selftests/ftrace/ftracetest tools/testing/selftests/ftrace/test.d/selftest/bashisms.tc+22 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH selftests 0/2] Add checkbashisms meta-testcase

Hi,

Here are patches for making sure the ftracetest testcases are checkbashisms clean.

This actually needs a patch from Juerg, "selftests/ftrace:
Make the coloring POSIX compliant" to complete the work.

http://lkml.kernel.org/r/20190220161333.28109-1-juergh at canonical.com (Note that this is still under development)

So as Juerg pointed, recently ftracetest becomes not POSIX compliant, and such kind of issues happened repeatedly. To avoid those anymore, I decided to introduce a testcase which runs checkbasisms on ftracetest and its testcases. I think this can help us to find out whether it was written in a way out of POSIX.

Thank you,

---

Masami Hiramatsu (2):
selftests/ftrace: Make a script checkbashisms clean selftests/ftrace: Add checkbashisms meta-testcase

 tools/testing/selftests/ftrace/ftracetest          |    1 +
 .../ftrace/test.d/kprobe/kprobe_ftrace.tc          |    2 +-
 .../selftests/ftrace/test.d/selftest/bashisms.tc   |   21 ++++++++++++++++++++
 3 files changed, 23 insertions(+), 1 deletion(-)
 create mode 100644 tools/testing/selftests/ftrace/test.d/selftest/bashisms.tc

--
Masami Hiramatsu (Linaro) <mhiramat at kernel.org>