public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
From: Subrata Modak <subrata@linux.vnet.ibm.com>
To: Akira Fujita <a-fujita@rs.jp.nec.com>
Cc: ltp-list@lists.sourceforge.net, miaox@cn.fujitsu.com
Subject: Re: [LTP] [PATCH] Fix ext4_subdir_limit fix
Date: Wed, 02 Jun 2010 18:28:03 +0530	[thread overview]
Message-ID: <1275483484.4899.10.camel@subratamodak.linux.ibm.com> (raw)
In-Reply-To: <4C061631.3090407@rs.jp.nec.com>

On Wed, 2010-06-02 at 17:28 +0900, Akira Fujita wrote: 
> LTP: Fix ext4_subdir_limit fix
> 
> From: Akira Fujita <a-fujita@rs.jp.nec.com>

Thanks.

Regards--
Subrata

> 
> We get the following error results since the if condition
> in ext4_subdir_limit_tset.sh does not work fine.  The patch fixes this issue.
> 
> [root@bsd086 ltp]# ./runltp -f fs_ext4
> 
> <snip>
> 
> Ext4 subdir limit test
> ext4-subdir-limit    0  TINFO  :  Num of dirs to create: 65537, Dir name len: long name,
> mkdir: No space left on device
> ext4-subdir-limit    2  TFAIL  :  failed to create directories - 19118
> 
> <snip>
> 
> ext4-subdir-limit    0  TINFO  :  Num of dirs to create: 65537, Dir name len: long name,
> mkdir: No space left on device
> ext4-subdir-limit    4  TFAIL  :  failed to create directories - 19592
> 
> Signed-off-by: Akira Fujita <a-fujita@rs.jp.nec.com>
> ---
>  ext4_subdir_limit_test.sh |    3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> diff --git a/testcases/kernel/fs/ext4-new-features/ext4-subdir-limit/ext4_subdir_limit_test.sh b/testcases/kernel/fs/ext4-new-features/ext4-subdir-limit/ext4_subdir_limit_test.sh
> index 5631fe5..f0a3b50 100755
> --- a/testcases/kernel/fs/ext4-new-features/ext4-subdir-limit/ext4_subdir_limit_test.sh
> +++ b/testcases/kernel/fs/ext4-new-features/ext4-subdir-limit/ext4_subdir_limit_test.sh
> @@ -152,7 +152,8 @@ for ((i = 0; i < 3; i++))
>  	{
>  		for ((k = 0; k < 2; k++))
>  		{
> -			if [ $i -eq $LONG_DIR -a $k -eq 1024 ]; then
> +			if [ ${DIR_LEN[$k]} -eq $LONG_DIR -a \
> +				${BLOCK_SIZE[$i]} -eq 1024 ]; then
>  				continue
>  			fi
>  			ext4_run_case 65537 ${DIR_LEN[$k]} ${PARENT_DIR[$j]} \
> 
> 
> ------------------------------------------------------------------------------
> 
> _______________________________________________
> Ltp-list mailing list
> Ltp-list@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/ltp-list


------------------------------------------------------------------------------

_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

      reply	other threads:[~2010-06-02 12:58 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-02  8:28 [LTP] [PATCH] Fix ext4_subdir_limit fix Akira Fujita
2010-06-02 12:58 ` Subrata Modak [this message]

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=1275483484.4899.10.camel@subratamodak.linux.ibm.com \
    --to=subrata@linux.vnet.ibm.com \
    --cc=a-fujita@rs.jp.nec.com \
    --cc=ltp-list@lists.sourceforge.net \
    --cc=miaox@cn.fujitsu.com \
    /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