add [ as alias for test, fix 0/1 argument handling
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest4 patches 4 repliesIn review
- v13 patches 8 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | cmd: test: allow using [ as alias for testcmd/ | +19 | 0 replies | |
| 2/4 | doc: test: document [ ] spelling of testdoc/ | +4 | 0 replies | |
| 3/4 | test: add tests for left-bracket alias for 'test' commandtest/ | +43 | 0 replies | |
| 4/4 | cmd: test: fix handling of single-argument form of testcmd/ test/ | +39 | 0 replies |
Reviews trailers per patch
None of the 4 patches has a Reviewed-by or Acked-by.
| Patch | Anshul Dalal |
|---|---|
| Series | T-b |
| 1/4 | |
| 2/4 | |
| 3/4 | |
| 4/4 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/4] add [ as alias for test, fix 0/1 argument handling
Make 'test' behave a little more like its cousins in other shells, by allowing the [ ... ] spelling, and while here, fix up the handling of a single, non-empty argument to comply with POSIX.
v2: update documentation, add a few more test cases.
CI is happy: https://github.com/u-boot/u-boot/pull/905
v1: https://lore.kernel.org/u-boot/[email protected]/
Rasmus Villemoes (4):
cmd: test: allow using [ as alias for test
doc: test: document [ ] spelling of test
test: add tests for left-bracket alias for 'test' command
cmd: test: fix handling of single-argument form of test
cmd/test.c | 30 +++++++++++++++-- doc/usage/cmd/test.rst | 5 ++- test/hush/if.c | 73 ++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 105 insertions(+), 3 deletions(-)
Signature · 1 line
2.53.0