[PATCH] xfstests 273: fix a typo

Wang Sheng-Hui shhuiw at gmail.com
Wed Feb 27 00:47:54 CST 2013


Make the porter log cp failure into $seq.full by appending, not overwriting,
which can help debug.

Signed-off-by: Wang Sheng-Hui <shhuiw at gmail.com>
---
  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



More information about the xfs mailing list