| To: | <linux-btrfs@xxxxxxxxxxxxxxx> |
|---|---|
| Subject: | [PATCH 1/3][RESEND] xfstests: fix 251's cp -axT problem |
| From: | Liu Bo <liubo2009@xxxxxxxxxxxxxx> |
| Date: | Mon, 6 Feb 2012 16:27:47 +0800 |
| Cc: | <xfs@xxxxxxxxxxx>, <hch@xxxxxxxxxxxxx> |
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@xxxxxxxxxxxxxx>
---
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
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH 2/3][RESEND] xfstests: make 218 support btrfs, Liu Bo |
|---|---|
| Next by Date: | [PATCH 3/3] xfstests: add btrfs online defragments QA test, Liu Bo |
| Previous by Thread: | [PATCH][RFC] XFS: Fix mem leak and possible NULL deref in xfs_setattr_nonsize(), Jesper Juhl |
| Next by Thread: | [PATCH 2/3][RESEND] xfstests: make 218 support btrfs, Liu Bo |
| Indexes: | [Date] [Thread] [Top] [All Lists] |