On Sat, Dec 20, 2014 at 03:50:02PM +0800, Xing Gu wrote:
> 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 <[email protected]>
> ---
>  tests/xfs/111 | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tests/xfs/111 b/tests/xfs/111
> index bedead8..a900184 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}
> +    cp src/itrash* $SCRATCH_MNT/${I}
>      let I=$I+1
>  done
>  umount $SCRATCH_DEV

Just use $XFS_IO_PROG to create the files.

Cheers,

Dave.
-- 
Dave Chinner
[email protected]
--
To unsubscribe from this list: send the line "unsubscribe fstests" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to