From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755845AbdKCKRr (ORCPT ); Fri, 3 Nov 2017 06:17:47 -0400 Received: from mail-pf0-f193.google.com ([209.85.192.193]:43748 "EHLO mail-pf0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750826AbdKCKRn (ORCPT ); Fri, 3 Nov 2017 06:17:43 -0400 X-Google-Smtp-Source: ABhQp+QzJroG8mqn0sQh12ajDoPgQ2OesDzazawQPdy8nlTqi8zVkWLgg8eCzcDSEX/MiLRzxVMoeQ== From: SeongJae Park To: paulmck@linux.vnet.ibm.com, josh@joshtriplett.org, rostedt@goodmis.org Cc: shuah@kernel.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, SeongJae Park Subject: [PATCH 1/9] rcutorture/configinit: Fix build directory error message Date: Fri, 3 Nov 2017 19:17:20 +0900 Message-Id: <20171103101728.28288-2-sj38.park@gmail.com> X-Mailer: git-send-email 2.13.0 In-Reply-To: <20171103101728.28288-1-sj38.park@gmail.com> References: <20171103101728.28288-1-sj38.park@gmail.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 'configinit.sh' checks format of optional argument for build directory and print error message if the format is not valid. However, the error message is broken so that it just says user entered empty string as build directory even though user entered wrong, but non-empty string as the argument. This commit fixes the message to show what user entered for the argument. Fixes: c87b9c601ac8 ("rcutorture: Add KVM-based test framework") Signed-off-by: SeongJae Park --- tools/testing/selftests/rcutorture/bin/configinit.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testing/selftests/rcutorture/bin/configinit.sh b/tools/testing/selftests/rcutorture/bin/configinit.sh index 3f81a1095206..50a6371b2b2e 100755 --- a/tools/testing/selftests/rcutorture/bin/configinit.sh +++ b/tools/testing/selftests/rcutorture/bin/configinit.sh @@ -51,7 +51,7 @@ then mkdir $builddir fi else - echo Bad build directory: \"$builddir\" + echo Bad build directory: \"$buildloc\" exit 2 fi fi -- 2.13.0