All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/3][RESEND] xfstests: fix 251's cp -axT problem
@ 2012-02-06  8:27 ` Liu Bo
  0 siblings, 0 replies; 14+ messages in thread
From: Liu Bo @ 2012-02-06  8:27 UTC (permalink / raw)
  To: linux-btrfs; +Cc: xfs, hch

When I ran xfstests, 251 got failed cause I use a symlink and
"cp -axT" did not work as wish:
cp: cannot overwrite directory `/mnt/scratch/1' with non-directory

With this patch, 251 has passed.

Signed-off-by: Liu Bo <liubo2009@cn.fujitsu.com>
---
 251 |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/251 b/251
index fa3d74a..b54e4c3 100755
--- a/251
+++ b/251
@@ -130,7 +130,7 @@ function run_process() {
 
 		# Copy content -> partition.
 		mkdir $SCRATCH_MNT/$p
-		cp -axT $content $SCRATCH_MNT/$p
+		cp -axT $content/ $SCRATCH_MNT/$p/
 		export chpid=$! && wait $chpid &> /dev/null
 
 		check_sums
-- 
1.6.5.2


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

end of thread, other threads:[~2012-03-31 20:12 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-06  8:27 [PATCH 1/3][RESEND] xfstests: fix 251's cp -axT problem Liu Bo
2012-02-06  8:27 ` Liu Bo
2012-02-06  8:27 ` [PATCH 2/3][RESEND] xfstests: make 218 support btrfs Liu Bo
2012-02-06  8:27   ` Liu Bo
2012-03-31 20:12   ` [PATCH 2/3][RESEND] 218: " Christoph Hellwig
2012-03-31 20:12     ` Christoph Hellwig
2012-02-06  8:27 ` [PATCH 3/3] xfstests: add btrfs online defragments QA test Liu Bo
2012-02-06  8:27   ` Liu Bo
2012-02-06 12:11   ` Christoph Hellwig
2012-02-06 12:11     ` Christoph Hellwig
2012-02-07  1:21     ` Liu Bo
2012-02-07  1:21       ` Liu Bo
2012-03-31 20:11 ` [PATCH 1/3][RESEND] 251: fix cp -axT problem Christoph Hellwig
2012-03-31 20:11   ` Christoph Hellwig

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.