Received: by 10.223.185.116 with SMTP id b49csp7853259wrg; Thu, 1 Mar 2018 12:17:53 -0800 (PST) X-Google-Smtp-Source: AG47ELvoeY9eMd8FClvaZN5FSPngp2CHWVpVnnxRfm2tyZeUUaTH4MLFCzYdwewikdJqPDgF3Afe X-Received: by 10.98.217.211 with SMTP id b80mr3193360pfl.107.1519935473299; Thu, 01 Mar 2018 12:17:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519935473; cv=none; d=google.com; s=arc-20160816; b=USt3nNUosLYHDcMSVjRYvO0iu+7pRDciOBPUabD+gROLVpyVWYtFEw14tVRset6WD8 cOEAKITE2h6Hv+RoI6NEGW8ozpPwlWQfXdt+xgDiTHHNIZiW8mDIahzLys+NnI+hbsEk p0OdmpuDyVznYBUlDIZgQ2gSa4ebzZ+SHqI13RKXaAfXltauFvMnnk7LcWqhX1FXtyzj Z8z+eNbWit43Tll9RYHr8NO55VJ4B1evk09XH5UVlvJRv8JSo5DyW56a09LvnqRQabSh sX0x+9yRQQF/AkeEgbLkRElYhLasdFoIgzeuTK+APPNMAw5EoP97v2mmr2+nJRZrY4hm 8b1w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=osgvTO+nq6TXhbiA/Cp8MkPyUSWU2CJD9pVfvZnz5TM=; b=GLPzxpoOnTO6KEC1kAxzSxLKWLeGkmP3vanJlQelLehIkpRacdJsfnV+WR29vnr2qX skkAB7vGHdX/pMOfle5M2sDx4YqUTqb1cWoKtzMmsGtrOvz3/0cdTwcZgXTGan75FQ8l pctjNLH4uzeJLgiGryyBn+EgUlLNLvrOljOabF/G3lMtcVJD4/7M9v9OSfuqwLSEiVST qVQK54um9RsJh/cjrPTsu7oeJ24N1eK/v1a7xV63mkGIu6hdptaz0NfSyTdHj/vrTVUv nVyW5rWvDd08Hnt0+7lfUvtHK802lmLYo3Hln3Jxr75GvQDTFb7YeZC/SA4B6fnHcZUi Fi2Q== ARC-Authentication-Results: i=1; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p18-v6si3501624plo.388.2018.03.01.12.17.38; Thu, 01 Mar 2018 12:17:53 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1161517AbeCAUQ7 (ORCPT + 99 others); Thu, 1 Mar 2018 15:16:59 -0500 Received: from osg.samsung.com ([64.30.133.232]:63859 "EHLO osg.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1161420AbeCAUQ6 (ORCPT ); Thu, 1 Mar 2018 15:16:58 -0500 Received: from localhost (localhost [127.0.0.1]) by osg.samsung.com (Postfix) with ESMTP id E524330911; Thu, 1 Mar 2018 12:16:57 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at dev.s-opensource.com Received: from osg.samsung.com ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LKOxQnMY-396; Thu, 1 Mar 2018 12:16:48 -0800 (PST) Received: from localhost.localdomain (c-24-9-64-241.hsd1.co.comcast.net [24.9.64.241]) by osg.samsung.com (Postfix) with ESMTPSA id 3B2DE30909; Thu, 1 Mar 2018 12:16:48 -0800 (PST) From: Shuah Khan To: shuah@kernel.org, naresh.kamboju@linaro.org Cc: Shuah Khan , tglx@linutronix.de, gregkh@linuxfoundation.org, pombredanne@nexb.com, lei.yang@windriver.com, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] selftests: memory-hotplug: fix emit_tests regression Date: Thu, 1 Mar 2018 13:16:26 -0700 Message-Id: <20180301201626.17347-1-shuahkh@osg.samsung.com> X-Mailer: git-send-email 2.14.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit 16c513b13477 ("selftests: memory-hotplug: silence test command echo") introduced regression in emit_tests and results in the following failure when selftests are installed and run. Fix it. Running tests in memory-hotplug ======================================== ./run_kselftest.sh: line 121: @./mem-on-off-test.sh: No such file or directory selftests: memory-hotplug [FAIL] Fixes: 16c513b13477 (selftests: memory-hotplug: silence test command echo") Reported-by: Naresh Kamboju Signed-off-by: Shuah Khan --- tools/testing/selftests/memory-hotplug/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/testing/selftests/memory-hotplug/Makefile b/tools/testing/selftests/memory-hotplug/Makefile index 183b46883875..686da510f989 100644 --- a/tools/testing/selftests/memory-hotplug/Makefile +++ b/tools/testing/selftests/memory-hotplug/Makefile @@ -5,7 +5,8 @@ include ../lib.mk TEST_PROGS := mem-on-off-test.sh override RUN_TESTS := @./mem-on-off-test.sh -r 2 && echo "selftests: memory-hotplug [PASS]" || echo "selftests: memory-hotplug [FAIL]" -override EMIT_TESTS := echo "$(RUN_TESTS)" + +override EMIT_TESTS := echo "$(subst @,,$(RUN_TESTS))" run_full_test: @/bin/bash ./mem-on-off-test.sh && echo "memory-hotplug selftests: [PASS]" || echo "memory-hotplug selftests: [FAIL]" -- 2.14.1