From patchwork Tue Jan 10 17:43:53 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shuah Khan X-Patchwork-Id: 90743 Delivered-To: patch@linaro.org Received: by 10.140.20.99 with SMTP id 90csp733386qgi; Tue, 10 Jan 2017 09:44:02 -0800 (PST) X-Received: by 10.84.210.228 with SMTP id a91mr6815159pli.0.1484070241983; Tue, 10 Jan 2017 09:44:01 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g3si2801634pld.336.2017.01.10.09.44.01; Tue, 10 Jan 2017 09:44:01 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S937510AbdAJRn7 (ORCPT + 25 others); Tue, 10 Jan 2017 12:43:59 -0500 Received: from ec2-52-27-115-49.us-west-2.compute.amazonaws.com ([52.27.115.49]:35164 "EHLO osg.samsung.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1761560AbdAJRn4 (ORCPT ); Tue, 10 Jan 2017 12:43:56 -0500 Received: from localhost (localhost [127.0.0.1]) by osg.samsung.com (Postfix) with ESMTP id B24D4A1355; Tue, 10 Jan 2017 17:44:11 +0000 (UTC) X-Virus-Scanned: amavisd-new at osg.samsung.com Received: from osg.samsung.com ([127.0.0.1]) by localhost (s-opensource.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jrzzmrV0zfWK; Tue, 10 Jan 2017 17:44:10 +0000 (UTC) Received: from [192.168.1.87] (c-73-181-52-62.hsd1.co.comcast.net [73.181.52.62]) by osg.samsung.com (Postfix) with ESMTPSA id A8BC8A0DE2; Tue, 10 Jan 2017 17:44:10 +0000 (UTC) To: torvalds@linux-foundation.org Cc: linux-kselftest@vger.kernel.org, LKML , Shuah Khan From: Shuah Khan Subject: [GIT PULL] Kselftest update for 4.10-rc4 Message-ID: <0e119ef7-56ad-d5e4-e25a-fd4c4fd338ab@osg.samsung.com> Date: Tue, 10 Jan 2017 10:43:53 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Linus, Please pull the Kselftest fixes for 4.10-rc4 This update consists of fixes to use shell instead of bash to run tests on embedded devices where the only shell available is the busybox ash. Also included is a typo fix to a test result message. diff attached. thanks, -- Shuah -------------------------------------------------------------------------- The following changes since commit 7ce7d89f48834cefece7804d38fc5d85382edf77: Linux 4.10-rc1 (2016-12-25 16:13:08 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest tags/linux-kselftest-4.10-rc4-fixes for you to fetch changes up to 7738789fba09108a28a5fb4739595d9a0a2f85fe: selftests: x86/pkeys: fix spelling mistake: "itertation" -> "iteration" (2017-01-05 13:24:18 -0700) ---------------------------------------------------------------- linux-kselftest-4.10-rc4-fixes This update consists of fixes to use shell instead of bash to run tests on embedded devices where the only shell available is the busybox ash. Also included is a typo fix to a test result message. ---------------------------------------------------------------- Colin King (1): selftests: x86/pkeys: fix spelling mistake: "itertation" -> "iteration" Rolf Eike Beer (3): selftests: do not require bash for the generated test selftests: do not require bash to run bpf tests selftests: do not require bash to run netsocktests testcase tools/testing/selftests/Makefile | 2 +- tools/testing/selftests/bpf/test_kmod.sh | 2 +- tools/testing/selftests/net/run_netsocktests | 2 +- tools/testing/selftests/x86/protection_keys.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) -------------------------------------------------------------------------- -- Shuah Khan Sr. Linux Kernel Developer Open Source Innovation Group Samsung Research America (Silicon Valley) shuahkh@osg.samsung.com diff --git a/tools/testing/selftests/Makefile b/tools/testing/selftests/Makefile index 71b0589..831022b 100644 --- a/tools/testing/selftests/Makefile +++ b/tools/testing/selftests/Makefile @@ -90,7 +90,7 @@ ifdef INSTALL_PATH done; @# Ask all targets to emit their test scripts - echo "#!/bin/bash" > $(ALL_SCRIPT) + echo "#!/bin/sh" > $(ALL_SCRIPT) echo "cd \$$(dirname \$$0)" >> $(ALL_SCRIPT) echo "ROOT=\$$PWD" >> $(ALL_SCRIPT) diff --git a/tools/testing/selftests/bpf/test_kmod.sh b/tools/testing/selftests/bpf/test_kmod.sh index 92e627a..6d58cca 100755 --- a/tools/testing/selftests/bpf/test_kmod.sh +++ b/tools/testing/selftests/bpf/test_kmod.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh SRC_TREE=../../../../ diff --git a/tools/testing/selftests/net/run_netsocktests b/tools/testing/selftests/net/run_netsocktests index c09a682..16058bb 100755 --- a/tools/testing/selftests/net/run_netsocktests +++ b/tools/testing/selftests/net/run_netsocktests @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh echo "--------------------" echo "running socket test" diff --git a/tools/testing/selftests/x86/protection_keys.c b/tools/testing/selftests/x86/protection_keys.c index bdd58c7..df9e0a0 100644 --- a/tools/testing/selftests/x86/protection_keys.c +++ b/tools/testing/selftests/x86/protection_keys.c @@ -1367,7 +1367,7 @@ void run_tests_once(void) tracing_off(); close_test_fds(); - printf("test %2d PASSED (itertation %d)\n", test_nr, iteration_nr); + printf("test %2d PASSED (iteration %d)\n", test_nr, iteration_nr); dprintf1("======================\n\n"); } iteration_nr++;