Skip to content

Fix some broken tests

Ben Hutchings linux-api 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest6 patches 1 replyIn review
  2. v15 of 6 patches 1 replySuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6selftests: Add missing #include directivestools/testing/selftests/memfd/memfd_test.c tools/testing/selftests/mqueue/mq_open_tests.c tools/testing/selftests/mqueue/mq_perf_tests.c +1 more+4 -00 replies
2/6selftests: memfd: Stop unnecessary rebuildstools/testing/selftests/memfd/Makefile+6 -60 replies
3/6selftests: kprobe: Choose an always-defined function to probetools/testing/selftests/ftrace/test.d/kprobe/add_and_remove.tc tools/testing/selftests/ftrace/test.d/kprobe/busy_check.tc tools/testing/selftests/ftrace/test.d/kprobe/kprobe_args.tc +2 more+11 -110 replies
4/6selftests: Make scripts executabletools/testing/selftests/memfd/run_fuse_test.sh tools/testing/selftests/static_keys/test_static_keys.sh+0 -00 replies
5/6selftests: vm: Try harder to allocate huge pagestools/testing/selftests/vm/run_vmtests+14 -10 replies
6/6selftests: breakpoint: Actually build ittools/testing/selftests/breakpoints/Makefile+1 -10 replies

Reviews trailers per patch

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

Read the v2 thread

Cover letter [PATCH v2 selftests 0/6] Fix some broken tests

This series fixes some self-tests that are broken, unreliable or produce compiler warnings in 4.3.

Ben.

Ben Hutchings (6):
selftests: Add missing #include directives
selftests: memfd: Stop unnecessary rebuilds
selftests: kprobe: Choose an always-defined function to probe
selftests: Make scripts executable
selftests: vm: Try harder to allocate huge pages
selftests: breakpoint: Actually build it

 tools/testing/selftests/breakpoints/Makefile              |  2 +-
 .../selftests/ftrace/test.d/kprobe/add_and_remove.tc      |  2 +-
 .../testing/selftests/ftrace/test.d/kprobe/busy_check.tc  |  2 +-
 .../testing/selftests/ftrace/test.d/kprobe/kprobe_args.tc |  2 +-
 .../selftests/ftrace/test.d/kprobe/kprobe_ftrace.tc       | 14 +++++++-------
 .../selftests/ftrace/test.d/kprobe/kretprobe_args.tc      |  2 +-
 tools/testing/selftests/memfd/Makefile                    | 12 ++++++------
 tools/testing/selftests/memfd/memfd_test.c                |  1 +
 tools/testing/selftests/memfd/run_fuse_test.sh            |  0
 tools/testing/selftests/mqueue/mq_open_tests.c            |  1 +
 tools/testing/selftests/mqueue/mq_perf_tests.c            |  1 +
 tools/testing/selftests/static_keys/test_static_keys.sh   |  0
 tools/testing/selftests/timers/nanosleep.c                |  1 +
 tools/testing/selftests/vm/run_vmtests                    | 15 ++++++++++++++-
 14 files changed, 36 insertions(+), 19 deletions(-)
 mode change 100644 => 100755 tools/testing/selftests/memfd/run_fuse_test.sh
 mode change 100644 => 100755 tools/testing/selftests/static_keys/test_static_keys.sh