From patchwork Tue Mar 25 08:13:00 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Hung X-Patchwork-Id: 333311 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) by ozlabs.org (Postfix) with ESMTP id 1AA4E140090 for ; Tue, 25 Mar 2014 19:13:00 +1100 (EST) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.76) (envelope-from ) id 1WSMTj-0003rB-0h; Tue, 25 Mar 2014 08:12:59 +0000 Received: from youngberry.canonical.com ([91.189.89.112]) by huckleberry.canonical.com with esmtp (Exim 4.76) (envelope-from ) id 1WSMTd-0003r1-Hv for fwts-devel@lists.ubuntu.com; Tue, 25 Mar 2014 08:12:53 +0000 Received: from [175.41.48.77] (helo=canonical.com) by youngberry.canonical.com with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1WSMTc-0003uE-Vh; Tue, 25 Mar 2014 08:12:53 +0000 From: Alex Hung To: fwts-devel@lists.ubuntu.com Subject: [PATCH] fwts-test: arg-help-0001: fix test-0002.sh incorrectly uses arg-help-0001.log Date: Tue, 25 Mar 2014 16:13:00 +0800 Message-Id: <1395735180-8904-1-git-send-email-alex.hung@canonical.com> X-Mailer: git-send-email 1.8.1.2 X-BeenThere: fwts-devel@lists.ubuntu.com X-Mailman-Version: 2.1.14 Precedence: list List-Id: Firmware Test Suite Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: fwts-devel-bounces@lists.ubuntu.com Sender: fwts-devel-bounces@lists.ubuntu.com Signed-off-by: Alex Hung Acked-by: Colin Ian King Acked-by: Keng-Yu Lin --- fwts-test/arg-help-0001/test-0002.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fwts-test/arg-help-0001/test-0002.sh b/fwts-test/arg-help-0001/test-0002.sh index d8b3815..fffef38 100755 --- a/fwts-test/arg-help-0001/test-0002.sh +++ b/fwts-test/arg-help-0001/test-0002.sh @@ -25,7 +25,7 @@ if [ $? -eq 1 ]; then fi $FWTS --help | grep -v "Show version" | grep -v "Usage" | sed s/\(V[0-9][0-9]\.[0-9][0-9]\.[0-9][0-9]\)/\(Vxx\.xx\.xx\)/ > $TMPLOG -sed s/\(V[0-9][0-9]\.[0-9][0-9]\.[0-9][0-9]\)/\(Vxx\.xx\.xx\)/ < $FWTSTESTDIR/arg-help-0001/arg-help-0001.log > $TMP/help.log.$$.orig +sed s/\(V[0-9][0-9]\.[0-9][0-9]\.[0-9][0-9]\)/\(Vxx\.xx\.xx\)/ < $FWTSTESTDIR/arg-help-0001/arg-help-0002.log > $TMP/help.log.$$.orig diff $TMPLOG $TMP/help.log.$$.orig >> $FAILURE_LOG ret=$? if [ $ret -eq 0 ]; then