xfs
[Top] [All Lists]

[PATCH] xfstests 273: fix a typo

To: xfs@xxxxxxxxxxx
Subject: [PATCH] xfstests 273: fix a typo
From: Wang Sheng-Hui <shhuiw@xxxxxxxxx>
Date: Wed, 27 Feb 2013 14:47:54 +0800
Delivered-to: xfs@xxxxxxxxxxx
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=rtt2JSgXGNwJxZP3R/8pfTgtgWi70zvqspa+mAggPzo=; b=oL0gIGOcKkhaATP3Q08h0CGHiWRw6HVvjWdHOFj8vSk3yzteli+klv/fUGux2+zl4H K8ioz5P4dBk0SdlT4hJbDB6nI4qU7mYSKbLtvaNrVsZ2vCzZreit32xe9Oz5Xu4TKhbX moiuJ2Vn16msWkNLia1DzwSa9u1xFwnD6bcs1C+BmUHf8JDc5Uc/K0RMQuSmqAf7mTE7 ltww0sS2h/IN92blMnHXmtaZrfPFQLFcQhKbxhNldDzCu3rgbf/Rdbu2zjsscbwAX37K /E6ajRZsrBVc0fuXQN1iqnhD3GRa1ueqfstU3knH0AuIXVQaL8BBO4PIDp+GA9KjR3ys 4fOA==
User-agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/17.0 Thunderbird/17.0
Make the porter log cp failure into $seq.full by appending, not overwriting,
which can help debug.

Signed-off-by: Wang Sheng-Hui <shhuiw@xxxxxxxxx>
---
 273 |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/273 b/273
index 67f3d6b..639e280 100755
--- a/273
+++ b/273
@@ -92,7 +92,7 @@ _porter()
                exit
        fi

-       cp -r $SCRATCH_MNT/origin $SCRATCH_MNT/sub_$_suffix >$seq.full 2>&1
+       cp -r $SCRATCH_MNT/origin $SCRATCH_MNT/sub_$_suffix >>$seq.full 2>&1
        if [ $? -ne 0 ]
        then
                echo "_porter $_suffix not complete"
--
1.7.10.4

<Prev in Thread] Current Thread [Next in Thread>