From 929221ba9b50496b2a267796b690b4526191f02b Mon Sep 17 00:00:00 2001 From: Liu Bo Date: Mon, 6 Feb 2012 16:27:47 +0800 Subject: [PATCH] 251: fix cp -axT problem 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 Signed-off-by: Christoph Hellwig --- 251 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/251 b/251 index fa3d74a9..b54e4c36 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 -- 2.39.5