Hi Linus, Please pull the following fixes update for 4.13-rc6
This update consists of important compile and run-time error fixes to timers/freq-step, kmod, and sysctl tests. Diff for the update is attached. thanks, -- Shuah ----------------------------------------------------------------------------------- The following changes since commit 5771a8c08880cdca3bfb4a3fc6d309d6bba20877: Linux v4.13-rc1 (2017-07-15 15:22:10 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest tags/linux-kselftest-4.13-rc6-fixes for you to fetch changes up to 622b2fbe625bc255faa4ee69a0fbcab80d3e40e6: selftests: timers: freq-step: fix compile error (2017-08-11 09:28:37 -0600) ---------------------------------------------------------------- linux-kselftest-4.13-rc6-fixes This update consists of important compile and run-time error fixes to timers/freq-step, kmod, and sysctl tests. ---------------------------------------------------------------- Luis R. Rodriguez (2): test_kmod: fix kmod.sh by making it executable test_sysctl: fix sysctl.sh by making it executable Shuah Khan (2): selftests: futex: fix run_tests target selftests: timers: freq-step: fix compile error tools/testing/selftests/futex/Makefile | 2 +- tools/testing/selftests/kmod/kmod.sh | 0 tools/testing/selftests/sysctl/sysctl.sh | 0 tools/testing/selftests/timers/freq-step.c | 7 +++---- 4 files changed, 4 insertions(+), 5 deletions(-) mode change 100644 => 100755 tools/testing/selftests/kmod/kmod.sh mode change 100644 => 100755 tools/testing/selftests/sysctl/sysctl.sh ----------------------------------------------------------------------------------- -- Shuah Khan Sr. Linux Kernel Developer Open Source Innovation Group Samsung Research America (Silicon Valley) shua...@osg.samsung.com
diff --git a/tools/testing/selftests/futex/Makefile b/tools/testing/selftests/futex/Makefile index e2fbb890aef9..7c647f619d63 100644 --- a/tools/testing/selftests/futex/Makefile +++ b/tools/testing/selftests/futex/Makefile @@ -14,7 +14,7 @@ all: done override define RUN_TESTS - @if [ `dirname $(OUTPUT)` = $(PWD) ]; then ./run.sh; fi + $(OUTPUT)/run.sh endef override define INSTALL_RULE diff --git a/tools/testing/selftests/kmod/kmod.sh b/tools/testing/selftests/kmod/kmod.sh old mode 100644 new mode 100755 diff --git a/tools/testing/selftests/sysctl/sysctl.sh b/tools/testing/selftests/sysctl/sysctl.sh old mode 100644 new mode 100755 diff --git a/tools/testing/selftests/timers/freq-step.c b/tools/testing/selftests/timers/freq-step.c index e8c61830825a..22312eb4c941 100644 --- a/tools/testing/selftests/timers/freq-step.c +++ b/tools/testing/selftests/timers/freq-step.c @@ -229,10 +229,9 @@ static void init_test(void) printf("CLOCK_MONOTONIC_RAW+CLOCK_MONOTONIC precision: %.0f ns\t\t", 1e9 * precision); - if (precision > MAX_PRECISION) { - printf("[SKIP]\n"); - ksft_exit_skip(); - } + if (precision > MAX_PRECISION) + ksft_exit_skip("precision: %.0f ns > MAX_PRECISION: %.0f ns\n", + 1e9 * precision, 1e9 * MAX_PRECISION); printf("[OK]\n"); srand(ts.tv_sec ^ ts.tv_nsec);