public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] xfstests 273: fix a typo
@ 2013-02-27  6:47 Wang Sheng-Hui
  2013-02-27 23:05 ` Dave Chinner
  2013-03-06 23:22 ` David Sterba
  0 siblings, 2 replies; 7+ messages in thread
From: Wang Sheng-Hui @ 2013-02-27  6:47 UTC (permalink / raw)
  To: xfs

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>
---
  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

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2013-03-07 22:48 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-27  6:47 [PATCH] xfstests 273: fix a typo Wang Sheng-Hui
2013-02-27 23:05 ` Dave Chinner
2013-03-06 23:22 ` David Sterba
2013-03-07  3:38   ` Dave Chinner
2013-03-07 11:06     ` David Sterba
2013-03-07 11:22       ` David Sterba
2013-03-07 22:48       ` Dave Chinner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox