From patchwork Wed Jun 20 11:34:25 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Colin Ian King X-Patchwork-Id: 166024 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from chlorine.canonical.com (chlorine.canonical.com [91.189.94.204]) by ozlabs.org (Postfix) with ESMTP id A740FB6FD9 for ; Wed, 20 Jun 2012 21:35:15 +1000 (EST) Received: from localhost ([127.0.0.1] helo=chlorine.canonical.com) by chlorine.canonical.com with esmtp (Exim 4.71) (envelope-from ) id 1ShJBn-0001pS-Bm for incoming@patchwork.ozlabs.org; Wed, 20 Jun 2012 11:35:11 +0000 Received: from youngberry.canonical.com ([91.189.89.112]) by chlorine.canonical.com with esmtp (Exim 4.71) (envelope-from ) id 1ShJBF-0001oU-Rk for fwts-devel@lists.ubuntu.com; Wed, 20 Jun 2012 11:34:37 +0000 Received: from cpc19-craw6-2-0-cust5.croy.cable.virginmedia.com ([77.102.228.6] helo=localhost) by youngberry.canonical.com with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ShJBF-0002Lb-N7 for fwts-devel@lists.ubuntu.com; Wed, 20 Jun 2012 11:34:37 +0000 From: Colin King To: fwts-devel@lists.ubuntu.com Subject: [PATCH 5/6][FWTS-TEST] arg-results-0001: use more sensible log name Date: Wed, 20 Jun 2012 12:34:25 +0100 Message-Id: <1340192066-27620-6-git-send-email-colin.king@canonical.com> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1340192066-27620-1-git-send-email-colin.king@canonical.com> References: <1340192066-27620-1-git-send-email-colin.king@canonical.com> X-BeenThere: fwts-devel@lists.ubuntu.com X-Mailman-Version: 2.1.13 Precedence: list List-Id: Firmware Test Suite Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: fwts-devel-bounces@lists.ubuntu.com Errors-To: fwts-devel-bounces@lists.ubuntu.com From: Colin Ian King Signed-off-by: Colin Ian King Acked-by: Keng-Yu Lin Acked-by: Alex Hung --- arg-results-0001/test-0001.sh | 2 +- arg-results-0001/test-0002.sh | 2 +- arg-results-0001/test-0003.sh | 2 +- arg-results-0001/test-0004.sh | 2 +- arg-results-0001/test-0005.sh | 2 +- arg-results-0001/test-0006.sh | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/arg-results-0001/test-0001.sh b/arg-results-0001/test-0001.sh index 1845e1e..607bb66 100755 --- a/arg-results-0001/test-0001.sh +++ b/arg-results-0001/test-0001.sh @@ -2,7 +2,7 @@ # TEST="Test --results-output option" NAME=test-0001.sh -TMPLOG=$TMP/results.log.$$ +TMPLOG=$TMP/results_$$.log $FWTS --log-format="%line %owner " -w 80 --klog=klog.txt klog --results-output=$TMPLOG >& /dev/null grep "^[0-9]*[ ]*klog" $TMPLOG | cut -c7- > $TMPLOG.filtered diff --git a/arg-results-0001/test-0002.sh b/arg-results-0001/test-0002.sh index d36d77e..f067d91 100755 --- a/arg-results-0001/test-0002.sh +++ b/arg-results-0001/test-0002.sh @@ -2,7 +2,7 @@ # TEST="Test -r option" NAME=test-0002.sh -TMPLOG=$TMP/results.log.$$ +TMPLOG=$TMP/results_$$.log $FWTS --log-format="%line %owner " -w 80 --klog=klog.txt klog -r $TMPLOG >& /dev/null grep "^[0-9]*[ ]*klog" $TMPLOG | cut -c7- > $TMPLOG.filtered diff --git a/arg-results-0001/test-0003.sh b/arg-results-0001/test-0003.sh index 5180ce3..4ba0a84 100755 --- a/arg-results-0001/test-0003.sh +++ b/arg-results-0001/test-0003.sh @@ -2,7 +2,7 @@ # TEST="Test --results-output stdout option" NAME=test-0003.sh -TMPLOG=$TMP/results.log.$$ +TMPLOG=$TMP/results_$$.log ($FWTS --log-format="%line %owner " -w 80 --klog=klog.txt klog --results-output=stdout | grep "^[0-9]*[ ]*klog" | cut -c7- > $TMPLOG ) >& /dev/null diff $TMPLOG results.log >> $FAILURE_LOG diff --git a/arg-results-0001/test-0004.sh b/arg-results-0001/test-0004.sh index 5b884a3..9e19460 100755 --- a/arg-results-0001/test-0004.sh +++ b/arg-results-0001/test-0004.sh @@ -2,7 +2,7 @@ # TEST="Test -r stdout option" NAME=test-0004.sh -TMPLOG=$TMP/results.log.$$ +TMPLOG=$TMP/results_$$.log ($FWTS --log-format="%line %owner " -w 80 --klog=klog.txt klog -r stdout | grep "^[0-9]*[ ]*klog" | cut -c7- > $TMPLOG ) >& /dev/null diff $TMPLOG results.log >> $FAILURE_LOG diff --git a/arg-results-0001/test-0005.sh b/arg-results-0001/test-0005.sh index 4e55133..9ccba1a 100755 --- a/arg-results-0001/test-0005.sh +++ b/arg-results-0001/test-0005.sh @@ -2,7 +2,7 @@ # TEST="Test --results-output option (append)" NAME=test-0005.sh -TMPLOG=$TMP/results.log.$$ +TMPLOG=$TMP/results_$$.log $FWTS --log-format="%line %owner " -w 80 --klog=klog.txt klog --results-output=$TMPLOG >& /dev/null $FWTS --log-format="%line %owner " -w 80 --klog=klog.txt klog --results-output=$TMPLOG >& /dev/null diff --git a/arg-results-0001/test-0006.sh b/arg-results-0001/test-0006.sh index 1735f24..bfb3d6c 100755 --- a/arg-results-0001/test-0006.sh +++ b/arg-results-0001/test-0006.sh @@ -2,7 +2,7 @@ # TEST="Test -r option (append)" NAME=test-0006.sh -TMPLOG=$TMP/results.log.$$ +TMPLOG=$TMP/results_$$.log $FWTS --log-format="%line %owner " -w 80 --klog=klog.txt klog -r $TMPLOG >& /dev/null $FWTS --log-format="%line %owner " -w 80 --klog=klog.txt klog -r $TMPLOG >& /dev/null