Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753463AbdHOQeg (ORCPT ); Tue, 15 Aug 2017 12:34:36 -0400 Received: from ec2-52-27-115-49.us-west-2.compute.amazonaws.com ([52.27.115.49]:42784 "EHLO osg.samsung.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752980AbdHOQee (ORCPT ); Tue, 15 Aug 2017 12:34:34 -0400 To: torvalds@linux-foundation.org Cc: Shuah Khan , Shuah Khan , LKML , "linux-kselftest@vger.kernel.org" , John Stultz , "Luis R . Rodriguez" From: Shuah Khan Subject: [GIT PULL] Kselftest update for 4.13-rc6 fixes Message-ID: <36ea432d-5553-7e71-d120-129a859c4515@osg.samsung.com> Date: Tue, 15 Aug 2017 10:34:25 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------EDC34565A237898EA1000891" Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3651 Lines: 113 This is a multi-part message in MIME format. --------------EDC34565A237898EA1000891 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit 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) shuahkh@osg.samsung.com --------------EDC34565A237898EA1000891 Content-Type: text/x-patch; name="linux-kselftest-4.13-rc6-fixes.diff" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="linux-kselftest-4.13-rc6-fixes.diff" diff --git a/tools/testing/selftests/futex/Makefile b/tools/testing/selft= ests/futex/Makefile index e2fbb890aef9..7c647f619d63 100644 --- a/tools/testing/selftests/futex/Makefile +++ b/tools/testing/selftests/futex/Makefile @@ -14,7 +14,7 @@ all: done =20 override define RUN_TESTS - @if [ `dirname $(OUTPUT)` =3D $(PWD) ]; then ./run.sh; fi + $(OUTPUT)/run.sh endef =20 override define INSTALL_RULE diff --git a/tools/testing/selftests/kmod/kmod.sh b/tools/testing/selftes= ts/kmod/kmod.sh old mode 100644 new mode 100755 diff --git a/tools/testing/selftests/sysctl/sysctl.sh b/tools/testing/sel= ftests/sysctl/sysctl.sh old mode 100644 new mode 100755 diff --git a/tools/testing/selftests/timers/freq-step.c b/tools/testing/s= elftests/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); =20 - 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); =20 printf("[OK]\n"); srand(ts.tv_sec ^ ts.tv_nsec); --------------EDC34565A237898EA1000891--