[PATCH v4 0/4] ftrace: Add a ftrace test collection

From: Masami Hiramatsu
Date: Thu Sep 18 2014 - 08:04:53 EST


Hi,

Here is the collection of testcases for ftrace version 4.
In this version, I moved all scripts under the
tools/testing/selftest :)

Updates are:
- Use errexit option to simplify tests.
- Use signal-based result notify for result codes (except PASS/FAIL).
- Fix README according to Steven's comments.
- Move under the tools/testing/selftest.
- Remove XPASS support (unless someone really needs it)

ftracetest is a shell(dash) script for testing ftrace features.
It will be required to add a unit test for each new feature
after this is merged, because of preventing feature regressions.

Thank you,

---

Masami Hiramatsu (4):
ftracetest: Initial commit for ftracetest
ftracetest: Add ftrace basic testcases
ftracetest: Add kprobe basic testcases
ftracetest: Add POSIX.3 standard and XFAIL result codes


MAINTAINERS | 1
tools/testing/selftests/Makefile | 1
tools/testing/selftests/ftrace/Makefile | 7 +
tools/testing/selftests/ftrace/README | 82 +++++++
tools/testing/selftests/ftrace/ftracetest | 249 ++++++++++++++++++++
tools/testing/selftests/ftrace/samples/fail.tc | 4
tools/testing/selftests/ftrace/samples/pass.tc | 3
.../testing/selftests/ftrace/samples/unresolved.tc | 4
.../selftests/ftrace/samples/unsupported.tc | 3
tools/testing/selftests/ftrace/samples/untested.tc | 3
tools/testing/selftests/ftrace/samples/xfail.tc | 3
.../selftests/ftrace/test.d/00basic/basic1.tc | 3
.../selftests/ftrace/test.d/00basic/basic2.tc | 7 +
.../selftests/ftrace/test.d/00basic/basic3.tc | 8 +
.../ftrace/test.d/kprobe/add_and_remove.tc | 11 +
.../selftests/ftrace/test.d/kprobe/busy_check.tc | 13 +
tools/testing/selftests/ftrace/test.d/template | 9 +
17 files changed, 411 insertions(+)
create mode 100644 tools/testing/selftests/ftrace/Makefile
create mode 100644 tools/testing/selftests/ftrace/README
create mode 100755 tools/testing/selftests/ftrace/ftracetest
create mode 100644 tools/testing/selftests/ftrace/samples/fail.tc
create mode 100644 tools/testing/selftests/ftrace/samples/pass.tc
create mode 100644 tools/testing/selftests/ftrace/samples/unresolved.tc
create mode 100644 tools/testing/selftests/ftrace/samples/unsupported.tc
create mode 100644 tools/testing/selftests/ftrace/samples/untested.tc
create mode 100644 tools/testing/selftests/ftrace/samples/xfail.tc
create mode 100644 tools/testing/selftests/ftrace/test.d/00basic/basic1.tc
create mode 100644 tools/testing/selftests/ftrace/test.d/00basic/basic2.tc
create mode 100644 tools/testing/selftests/ftrace/test.d/00basic/basic3.tc
create mode 100644 tools/testing/selftests/ftrace/test.d/kprobe/add_and_remove.tc
create mode 100644 tools/testing/selftests/ftrace/test.d/kprobe/busy_check.tc
create mode 100644 tools/testing/selftests/ftrace/test.d/template

--

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/