]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commitdiff
xfstests 273: fix a typo
authorWang Sheng-Hui <shhuiw@gmail.com>
Wed, 27 Feb 2013 06:47:54 +0000 (06:47 +0000)
committerRich Johnston <rjohnston@sgi.com>
Tue, 5 Mar 2013 17:32:47 +0000 (11:32 -0600)
Make the porter log cp failure into $seq.full by appending, not overwriting,
which can help debug.

Signed-off-by: Wang Sheng-Hui <shhuiw@gmail.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Rich Johnston <rjohnston@sgi.com>
273

diff --git a/273 b/273
index 67f3d6b198b1249727f1e2fb06f715279524b376..2bb15ae1166cd588697c506f9d4a9fe7c48559fe 100755 (executable)
--- 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"