Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp2437613imm; Thu, 7 Jun 2018 10:33:13 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKv9X1T7tCrVo4PgaOcG1FhXQ9UfCIOt9biFU/MKD5F/rhPooDqSdto9dGg39uGC6ff+2MC X-Received: by 2002:a17:902:c3:: with SMTP id a61-v6mr2959591pla.149.1528392793099; Thu, 07 Jun 2018 10:33:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528392793; cv=none; d=google.com; s=arc-20160816; b=kWrQIdu2vHGp59POLxLxFhnx6R87rnEsGC90Rzm1PTrb5cwt71VO8YBwx0LdvgBtRn QggLC6u2Bo/lIiSxEBHovpbQO4Du4e3aTYTpx0McJVatu3UkOAOeGIL93aT1cgLzbIH+ R4QBtqaTRpooPQ5Ht7zic7FFAWhSpuE+8X1zdp7QPfO3hSnOBE0xsxivvau4Bav87fiS zep8vjYNHXbhNlb77yHBDEApLzjoa9xPS5ntVY5ZEeLuJydDukQrDGiRWM4GJX5f/AR3 Ek48GCe3hOvQxZXY31kWQC+zFwT8BxNuMjoAzZvglLKAH9jcyZU8wHtrnfhOWK66WVUp ZOjA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:subject:message-id:date:cc:to :from:mime-version:content-transfer-encoding:content-disposition :arc-authentication-results; bh=gZdrK6eHwYYYWOtT7bi62H2mVICMfAnP0UfzedKsP48=; b=kfNSBbjfBAIl/jSx4G5oDXTvGgwKK51PS9qF69mwykXY+tPVBkVqMbcodHpzk6a49j PdX5bvuKVQDCitPoP7vOrULIqDXmycwAHRCWr7wb8UrQSwlo7pBWd6F+DwHjnSpSHctm V5uE/R839cytF3PTfxG/1MWyLxt34Ki6k5FUC56uEgK0UwKPrmfgIaiE9zQn6HB47rKK K/SYQ4kFgLKit4Fr+TbVd3AvB1RtOM5BvStIEnRXtrAxBVt0mb8GlP+g6iWFvXcIqQMu nn1icxWiv9rU5ZwOJla+L5O+hU7ku5tNbSvmdby2+ik5UG1jkSG7LKLETBtY5xZZzXZ2 8naQ== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h26-v6si13632744pfd.253.2018.06.07.10.32.57; Thu, 07 Jun 2018 10:33:13 -0700 (PDT) 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 S934359AbeFGOjz (ORCPT + 99 others); Thu, 7 Jun 2018 10:39:55 -0400 Received: from shadbolt.e.decadent.org.uk ([88.96.1.126]:40520 "EHLO shadbolt.e.decadent.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934347AbeFGOjx (ORCPT ); Thu, 7 Jun 2018 10:39:53 -0400 Received: from [148.252.241.226] (helo=deadeye) by shadbolt.decadent.org.uk with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1fQvbu-0005Zw-4a; Thu, 07 Jun 2018 15:09:54 +0100 Received: from ben by deadeye with local (Exim 4.91) (envelope-from ) id 1fQvb0-0002ne-JR; Thu, 07 Jun 2018 15:08:58 +0100 Content-Type: text/plain; charset="UTF-8" Content-Disposition: inline Content-Transfer-Encoding: 8bit MIME-Version: 1.0 From: Ben Hutchings To: linux-kernel@vger.kernel.org, stable@vger.kernel.org CC: akpm@linux-foundation.org, "Paul E. McKenney" , "SeongJae Park" Date: Thu, 07 Jun 2018 15:05:21 +0100 Message-ID: X-Mailer: LinuxStableQueue (scripts by bwh) Subject: [PATCH 3.16 080/410] rcutorture/configinit: Fix build directory error message In-Reply-To: X-SA-Exim-Connect-IP: 148.252.241.226 X-SA-Exim-Mail-From: ben@decadent.org.uk X-SA-Exim-Scanned: No (on shadbolt.decadent.org.uk); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 3.16.57-rc1 review patch. If anyone has any objections, please let me know. ------------------ From: SeongJae Park commit 2adfa4210f8f35cdfb4e08318cc06b99752964c2 upstream. The 'configinit.sh' script checks the format of optional argument for the build directory, printing an error message if the format is not valid. However, the error message uses the wrong variable, indicating an empty string even though the user entered a non-empty (but erroneous) string. This commit fixes the script to use the correct variable. Fixes: c87b9c601ac8 ("rcutorture: Add KVM-based test framework") Signed-off-by: SeongJae Park Signed-off-by: Paul E. McKenney Signed-off-by: Ben Hutchings --- tools/testing/selftests/rcutorture/bin/configinit.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- 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