From: Xing Gu Date: Wed, 24 Dec 2014 03:56:17 +0000 (+1100) Subject: xfs/111: fix cp of missing file X-Git-Tag: v2022.05.01~2976 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=04312bb559e4ac2ee21c6d6fdbe2f70e4176eb32;p=xfstests-dev.git 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 --- diff --git a/tests/xfs/111 b/tests/xfs/111 index bedead8f..f33f3396 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