Commit graph

9138 commits

Author SHA1 Message Date
Sylvestre Ledru
d5e2050cf4
Merge pull request #4270 from rivy/rf.build-features
build: feature cleanup
2023-01-11 13:42:04 +01:00
Terts Diepraam
9ccfb025cf
Merge pull request #4264 from cakebaker/pr_seq_simplify_format_strings
pr,seq: simplify format strings
2023-01-11 13:17:13 +01:00
Roy Ivy III
c3c7054155 build: feature cleanup 2023-01-08 12:42:37 -06:00
Sylvestre Ledru
3033d017b5
Merge pull request #4266 from cakebaker/csplit_rename_var_and_simplify_format_strings
csplit: rename var to simplify format strings
2023-01-07 16:49:44 +01:00
Daniel Hofstetter
fe9779261f csplit: rename var to simplify format strings 2023-01-07 15:05:34 +01:00
Daniel Hofstetter
cc1f109906 pr,seq: simplify format strings 2023-01-06 10:39:43 +01:00
Sylvestre Ledru
ad542965ab
Merge pull request #4262 from cakebaker/pr_remove_comment
pr: remove commented out code line
2023-01-04 16:42:20 +01:00
Daniel Hofstetter
212ad777fc pr: remove commented out code line 2023-01-04 15:20:45 +01:00
Sylvestre Ledru
c2e4da97da
Merge pull request #4251 from Joining7943/ci-run-tests-with-backtrace
`ci/tests`: Run cargo test with RUST_BACKTRACE=1
2023-01-02 10:09:54 +01:00
Sylvestre Ledru
75cf8ce6cb
Merge pull request #4252 from tertsdiepraam/track_caller
Put `#[track_caller]` on assertion functions in test utils
2023-01-02 09:58:15 +01:00
Joining7943
ccfc799b46 CI/tests: Run cargo test with RUST_BACKTRACE=1 2023-01-01 18:36:02 +01:00
Terts Diepraam
44ea43f058 tests: remove status_code, which is the same as code_is 2023-01-01 17:25:59 +01:00
Terts Diepraam
267a22e12c add track_caller attribute to assertion functions 2023-01-01 15:25:37 +01:00
Terts Diepraam
36f3507bed
Merge pull request #4232 from TechHara/whitespace
cut: add whitespace option for separating fields
2023-01-01 12:58:28 +01:00
Sylvestre Ledru
a3c76678fe
Merge pull request #4247 from tertsdiepraam/rm/add-fifo-test
rm: add test for #4246
2022-12-30 12:09:53 +01:00
Sylvestre Ledru
87da0c0a5f
Merge pull request #4248 from rivy/fix.expr
Multiple fixes and tests added for `expr`
2022-12-30 11:49:52 +01:00
Roy Ivy III
737271de96 test/expr: add regex tests 2022-12-29 23:22:13 -06:00
Roy Ivy III
8753fb95c3 fix/expr: EXIT_CODE=1 for any return output parsable to 0 (or empty) 2022-12-29 22:49:02 -06:00
Roy Ivy III
812d811ff6 test/expr: add simple value and EXIT_CODE tests 2022-12-29 22:49:02 -06:00
Roy Ivy III
fe954e5825 fix/expr: repair off-by-1 index operator error 2022-12-29 22:49:02 -06:00
Roy Ivy III
be37e033be test/expr: add more index testing of unicode strings 2022-12-29 22:49:02 -06:00
Roy Ivy III
8e7dbb0bf6 test/expr: add 'index' operator tests 2022-12-29 22:48:55 -06:00
Terts Diepraam
ea8085e2ca rm: add test for #4246 2022-12-29 16:15:41 +01:00
Sylvestre Ledru
f3285d9662
Merge pull request #4245 from rivy/chg.uname-to-tier1
build: `uname` is WinOS-compatible; move to 'Tier1' feature
2022-12-28 09:34:16 +01:00
Roy Ivy III
9b27cd8cb3 build: uname is WinOS-compatible; move to 'Tier1' feature 2022-12-27 10:55:34 -06:00
Sylvestre Ledru
666fe68675
Merge pull request #4224 from trasua/parse-size-option
uucore: add options to parse_size::Parser
2022-12-26 14:17:44 +01:00
trasua
ef8f92f720 uucore: add options to parse_size::Parser to support parse_byte_count() in sort.rs 2022-12-26 10:23:20 +01:00
jaggededgedjustice
b8a755a396
date: Catch panic from invalid format string (#4240)
* Catch panic from invalid date string
2022-12-25 21:11:34 +01:00
Sylvestre Ledru
083e4ac4df
Merge pull request #4242 from cakebaker/unnested_or_patterns
clippy: fix some "unnested or-patterns" warnings
2022-12-25 21:10:56 +01:00
TechHara
276b115c02 remove clippy allow; fmt 2022-12-23 09:56:21 -05:00
TechHara
20761fe422 simplify 2022-12-23 02:18:16 -05:00
TechHara
a53dcba6d3 mark fixme item -- use char for delimiter 2022-12-22 21:38:47 -05:00
Terts Diepraam
bdd6f56ae4
Merge pull request #4231 from Joining7943/add-timeout-in-tests
`tests/common/util`: Add possibility to set timeout for UCommand and UChild. Add `rstest` with timeout macro to dev dependencies
2022-12-23 01:12:57 +01:00
TechHara
a549589682 fix clippy warnings 2022-12-21 08:01:31 -05:00
TechHara
f2a7175144 enum Delimiter; misc changes 2022-12-20 20:37:31 -05:00
Daniel Hofstetter
a0522f5cbd clippy: fix some "unnested or-patterns" warnings 2022-12-20 16:07:37 +01:00
TechHara
c29839f4f9 Merge branch 'main' into whitespace 2022-12-18 09:07:03 -05:00
TechHara
df8ce0c999 ignore multispace cspell 2022-12-18 09:06:47 -05:00
Terts Diepraam
03710a180e
Merge pull request #4241 from sylvestre/android-test
Ignore some cp tests on android
2022-12-18 00:50:17 +01:00
Joining7943
09c04d9f3f tests: Set timeout for tests which would fail with the default timeout in test_factor, test_sort 2022-12-17 21:55:01 +01:00
Joining7943
1d7447d42e tests/util: Add setting timeout for UChild::kill and run and wait methods in UCommand and UChild.
Additional notes:
* Set default timeout to 30s
* Fix UChild::kill to always fail on timeout if zero
2022-12-17 21:53:39 +01:00
Joining7943
83725d1876 tests: Add rstest crate with timeout macro, parameterized tests etc. to development dependencies 2022-12-17 21:41:35 +01:00
Sylvestre Ledru
8489e9b69c Ignore some cp tests on android
Closes: #4233
2022-12-17 16:54:23 +01:00
Sylvestre Ledru
4f90c680c8
Merge pull request #4238 from Joining7943/fix-cargo-clippy-doc-warnings
cargo: Fix cargo clippy doc warnings
2022-12-17 16:51:30 +01:00
Joining7943
ca0414d867 clippy: Allow some unnecessary casts 2022-12-16 18:37:50 +01:00
Joining7943
c94a039358 clippy and doc: Fix warnings, mostly needless conversions. Fix documentation warning. 2022-12-16 18:36:27 +01:00
TechHara
bae78e62e0
Merge branch 'main' into whitespace 2022-12-15 22:23:03 -05:00
Sylvestre Ledru
d7e690496b
Merge pull request #4234 from ctsk/mv-progress-extension-doc
docs: document progress flag for mv extension
2022-12-14 18:12:13 +01:00
ctsk
a1fc7432b8 docs: document progress flag for mv extension 2022-12-14 17:57:41 +01:00
Sylvestre Ledru
c5728a61b4
fix some clippy warnings (#4229)
* fix some clippy warnings

* Fix the last two
2022-12-14 15:42:07 +01:00