From: Richard Palethorpe <rpalethorpe@suse.de>
To: Hongling Zeng <zenghongling@kylinos.cn>
Cc: zhongling0719@126.com, ltp@lists.linux.it
Subject: Re: [LTP] [LTP|PATCH] du: bug fix for testcase/du/du01.sh
Date: Mon, 07 Nov 2022 13:54:27 +0000 [thread overview]
Message-ID: <87fseux3qc.fsf@suse.de> (raw)
In-Reply-To: <1666856118-18962-1-git-send-email-zenghongling@kylinos.cn>
Hello,
Hongling Zeng <zenghongling@kylinos.cn> writes:
> The runltp interface test for command du report error :
> du01 9 TFAIL: 'du -c' failed
> du01 9 TINFO: Looking for '^10[2-3][0-9][0-9][[:space:]]total' in:
> 4 ./testdir
> 4 ./basedir
> 10256 .
> 10256 总用量
> du01 10 TFAIL: 'du --total' failed
>
> Add slective judgement for chinese command and fix this error.
Hopefully this has been fixed already by setting LC_ALL=C.
9acdbed6ce0f0f996ae4f8da576968718326736c
tst_test.sh: Normalize the locale
Set to superseded in patchwork.
>
> Signed-off-by: zenghongling <zenghongling@kylinos.cn>
> ---
> testcases/commands/du/du01.sh | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/testcases/commands/du/du01.sh b/testcases/commands/du/du01.sh
> index 7977fd4..a9c4377 100755
> --- a/testcases/commands/du/du01.sh
> +++ b/testcases/commands/du/du01.sh
> @@ -74,7 +74,7 @@ check2="^10[2-3][0-9][0-9][[:space:]]testfile"
> check3="^\(0\|${page_size}\)[[:space:]]\.\/testdir\/testsymlink"
> check5="^20[4-6][0-9][0-9][[:space:]]\."
> check7="^10[4-5][0-9][0-9]\{4\}[[:space:]]\."
> -check9="^10[2-3][0-9][0-9][[:space:]]total"
> +check9="^10[2-3][0-9][0-9][[:space:]][(总用量|total)]"
> check11="^10[2-3][0-9][0-9][[:space:]]testdir\/testsymlink"
> check14="^1[0,1]M[[:space:]]\."
> check16="^10[2-3][0-9][0-9][[:space:]]testdir\/"
> --
> 2.1.0
--
Thank you,
Richard.
--
Mailing list info: https://lists.linux.it/listinfo/ltp
prev parent reply other threads:[~2022-11-07 14:02 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-27 7:35 [LTP] [LTP|PATCH] du: bug fix for testcase/du/du01.sh Hongling Zeng
2022-11-07 13:54 ` Richard Palethorpe [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=87fseux3qc.fsf@suse.de \
--to=rpalethorpe@suse.de \
--cc=ltp@lists.linux.it \
--cc=zenghongling@kylinos.cn \
--cc=zhongling0719@126.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.