From: Petr Vorel <pvorel@suse.cz>
To: ltp@lists.linux.it
Subject: [LTP] [PATCH] bugfix for cpio/cpio_tests.sh
Date: Wed, 31 Mar 2021 12:31:00 +0200 [thread overview]
Message-ID: <YGRPZF+DJy/jAZRN@pevik> (raw)
In-Reply-To: <20210330130115.26575-1-sujiaxun@uniontech.com>
Hi,
> In cpio version 2.12 and 2.13,'cpio --help' create is lowercase
> - if ! cpio --help 2>&1 | grep -q -- '-o.*Create'; then
> + if ! cpio --help 2>&1 | grep -qi -- '-o.*Create'; then
First, are you talking about cpio implementation [1]
or busybox implementation [2] ?
I suppose cpio, but also busybox had in the past 2.12 and 2.13.
There is no lower case in cpio 2.12 [3] neither in 2.13 [4].
Looking at busybox, I'm not sure how help was printed ([5] [6]), as I'm not able
to install this version (1_13_4 tag is from 2009 - I guess you're not talking about it).
Kind regards,
Petr
[1] https://git.savannah.gnu.org/cgit/cpio.git
[2] https://git.busybox.net/busybox/
[3] https://git.savannah.gnu.org/cgit/cpio.git/tree/src/main.c?h=release_2_12#n101
[4] https://git.savannah.gnu.org/cgit/cpio.git/tree/src/main.c?h=release_2_13#n100
[5] https://git.busybox.net/busybox/tree/archival/cpio.c?h=1_12_stable#n185
[6] https://git.busybox.net/busybox/tree/archival/cpio.c?h=1_13_stable
next prev parent reply other threads:[~2021-03-31 10:31 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-30 13:01 [LTP] [PATCH] bugfix for cpio/cpio_tests.sh sujiaxun
2021-03-31 10:31 ` Petr Vorel [this message]
[not found] ` <762779324.75038.1617189402948.JavaMail.xmail@bj-wm-cp-5>
2021-03-31 13:18 ` Petr Vorel
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=YGRPZF+DJy/jAZRN@pevik \
--to=pvorel@suse.cz \
--cc=ltp@lists.linux.it \
/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