From 04312bb559e4ac2ee21c6d6fdbe2f70e4176eb32 Mon Sep 17 00:00:00 2001 From: Xing Gu Date: Wed, 24 Dec 2014 14:56:17 +1100 Subject: [PATCH] xfs/111: fix cp of missing file After installing the test suite, src directory only contains binary programs in the final building directory. Here executing "cp src/itrash.c $SCRATCH_MNT/${I}" will output "cp: cannot stat 'src/itrash.c': No such file or directory" error message. Fix it. Signed-off-by: Xing Gu Reviewed-by: Dave Chinner Signed-off-by: Dave Chinner --- tests/xfs/111 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/xfs/111 b/tests/xfs/111 index bedead8f7..f33f3396d 100755 --- a/tests/xfs/111 +++ b/tests/xfs/111 @@ -53,7 +53,7 @@ echo Create some files I=0 while [ $I -lt 1000 ] do - cp src/itrash.c $SCRATCH_MNT/${I} + $XFS_IO_PROG -f -c "pwrite 0 512" $SCRATCH_MNT/${I} > /dev/null let I=$I+1 done umount $SCRATCH_DEV -- 2.51.0