FS/XFS testing framework
 help / color / mirror / Atom feed
From: "gux.fnst" <gux.fnst@cn.fujitsu.com>
To: Dave Chinner <david@fromorbit.com>
Cc: fstests@vger.kernel.org
Subject: Re: [PATCH] xfs/111: fix cp of missing file
Date: Mon, 22 Dec 2014 10:09:54 +0800	[thread overview]
Message-ID: <54977D72.8000604@cn.fujitsu.com> (raw)
In-Reply-To: <20141221220939.GN15665@dastard>



On 12/22/2014 06:09 AM, Dave Chinner wrote:
> 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 <gux.fnst@cn.fujitsu.com>
>> ---
>>   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.
>

Got it. Thanks!

regards,
Xing Gu

> Cheers,
>
> Dave.
>

  reply	other threads:[~2014-12-22  2:13 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-20  7:50 [PATCH] xfs/111: fix cp of missing file Xing Gu
2014-12-21 22:09 ` Dave Chinner
2014-12-22  2:09   ` gux.fnst [this message]
2014-12-22  8:41 ` [PATCH v2] " Xing Gu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=54977D72.8000604@cn.fujitsu.com \
    --to=gux.fnst@cn.fujitsu.com \
    --cc=david@fromorbit.com \
    --cc=fstests@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox