From patchwork Tue Jun 19 20:23:49 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bart Van Assche X-Patchwork-Id: 10475409 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id EBD0C6029B for ; Tue, 19 Jun 2018 20:24:45 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DE0AB286B2 for ; Tue, 19 Jun 2018 20:24:45 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D2EC828BE8; Tue, 19 Jun 2018 20:24:45 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7FF52286B2 for ; Tue, 19 Jun 2018 20:24:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756712AbeFSUYo (ORCPT ); Tue, 19 Jun 2018 16:24:44 -0400 Received: from esa5.hgst.iphmx.com ([216.71.153.144]:31673 "EHLO esa5.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757248AbeFSUYJ (ORCPT ); Tue, 19 Jun 2018 16:24:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=wdc.com; i=@wdc.com; q=dns/txt; s=dkim.wdc.com; t=1529439849; x=1560975849; h=from:to:cc:subject:date:message-id:in-reply-to: references; bh=1Rfi6HoKOtbt9syHV5Yqj58B+Efr0y63D9S0WLMZ138=; b=AN7sOvSp8h0IQu3GWTEuUE23MYah+lCMOmJxItmwmtpcbf8IdfzdS49a t+iCUEW2VCY2EW95K26DUICMcLmrlV+SFQqcmv4kmYXfJDe6wELeN78hI ebXlJ89NHWG8uxgoChNzHYtv+CBZrkuvyEJ32QGxkc1cn3dJOJUKZs+Fh PAiTidHqyb5hXGlkNAY/+dMmOxCayas/KfBMgl/lUGvJ0cpFBmqg4Hl6D E1JZ9PdUU1LbUB3MXu+zZilyf55Vp+eC33rm8n3Pc58H6gc5QxOXmZDH7 5PnrL/oBwGa63HSLGxLGo9gKNi5e3OI0QpJtTJZBLJk5oFefl/2e/kCjR g==; X-IronPort-AV: E=Sophos;i="5.51,244,1526313600"; d="scan'208";a="81403678" Received: from h199-255-45-14.hgst.com (HELO uls-op-cesaep01.wdc.com) ([199.255.45.14]) by ob1.hgst.iphmx.com with ESMTP; 20 Jun 2018 04:23:56 +0800 Received: from uls-op-cesaip02.wdc.com ([10.248.3.37]) by uls-op-cesaep01.wdc.com with ESMTP; 19 Jun 2018 13:13:47 -0700 Received: from thinkpad-bart.sdcorp.global.sandisk.com ([10.111.67.248]) by uls-op-cesaip02.wdc.com with ESMTP; 19 Jun 2018 13:23:56 -0700 From: Bart Van Assche To: Omar Sandoval Cc: linux-block@vger.kernel.org, Bart Van Assche Subject: [PATCH 5/9] check: Avoid that shellcheck complains that $FULL appears unused Date: Tue, 19 Jun 2018 13:23:49 -0700 Message-Id: <20180619202353.23631-6-bart.vanassche@wdc.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180619202353.23631-1-bart.vanassche@wdc.com> References: <20180619202353.23631-1-bart.vanassche@wdc.com> Sender: linux-block-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-block@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP $FULL is a global variable. Avoid that shellcheck complains about it. Signed-off-by: Bart Van Assche Reviewed-by: Johannes Thumshirn --- check | 2 ++ 1 file changed, 2 insertions(+) diff --git a/check b/check index 5f53fa105f72..f1feb96b293e 100755 --- a/check +++ b/check @@ -301,6 +301,8 @@ _call_test() { local test_func="$1" local seqres="${RESULTS_DIR}/${TEST_NAME}" FULL="${seqres}.full" + # Avoid that shellcheck complains that $FULL appears unused. + echo "$FULL" >/dev/null declare -A TEST_DEV_QUEUE_SAVED _read_last_test_run