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
dependabot[bot]
278e21b81b
build(deps): bump blake3 from 1.3.1 to 1.3.2
...
Bumps [blake3](https://github.com/BLAKE3-team/BLAKE3 ) from 1.3.1 to 1.3.2.
- [Release notes](https://github.com/BLAKE3-team/BLAKE3/releases )
- [Commits](https://github.com/BLAKE3-team/BLAKE3/compare/1.3.1...1.3.2 )
---
updated-dependencies:
- dependency-name: blake3
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-12-26 10:25:33 +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
Terts Diepraam
e4bed1c087
Merge pull request #4135 from Joining7943/refactor-tail-check-warnings
...
`tail`: Refactor handling of warnings and early exits
2022-12-14 13:21:54 +01:00
TechHara
4e2cfdb8ce
add more comments
2022-12-14 04:07:12 -05:00
TechHara
76f818da05
fix whitespace
2022-12-13 21:02:16 -05:00
TechHara
27dfe63f4c
add comments on the function logic
2022-12-13 20:57:46 -05:00
TechHara
9798ae7987
fix clippy complaint
2022-12-13 20:34:01 -05:00
TechHara
db829321fc
remove clippy complex
2022-12-13 11:51:05 -05:00
TechHara
5867a47f21
fix clippy complaint
2022-12-13 11:49:26 -05:00
TechHara
11e64958d6
add test cases to cover cut -w failing options
2022-12-13 11:43:20 -05:00
TechHara
17c48e13f4
specify that cut -w is freebsd extension
2022-12-13 11:30:58 -05:00
TechHara
866a6d25c8
fix clippy complaint
2022-12-13 11:20:34 -05:00
Joining7943
b339f6d80c
tests/tail: Add all additional tests written during refactoring tail from tip of refactoring branch
...
Other changes summmary:
* Use module level imports instead of fully qualified imports where appropriate
* Fix intermittent failing test_positive_zero_bytes because of broken pipe
* Cleanup old disabled test for warning of following indefinitely
2022-12-13 16:16:14 +01:00
Joining7943
93654d4504
tail: Add documentation for Settings::check_warnings and Settings::verify
2022-12-13 16:16:14 +01:00
Joining7943
2dc8a1b55e
tail: Add gnu's warning when following stdin is ineffective. If no pid support set to 0 in Observer.
2022-12-13 16:16:14 +01:00
Joining7943
d57545d09c
tail: Refactor: Handle warnings and early exits in one place. Remove InputService ...
...
Other changes summary:
* Cleanup imports
* Remove stdin_is_pipe_of_fifo function
* Rename WatcherService to Observer
2022-12-13 16:16:08 +01:00
Sylvestre Ledru
ce8c53dbad
Merge pull request #4235 from cakebaker/build_rs_remove_println
...
build.rs: remove two comments
2022-12-13 15:32:08 +01:00
Daniel Hofstetter
3d498432fa
build.rs: remove two comments
2022-12-13 15:05:05 +01:00
Terts Diepraam
69caa45b01
Merge pull request #4219 from cakebaker/match_wildcard_for_single_variant
...
chore: fix wildcards that match single variant
2022-12-13 11:57:52 +01:00
Christian
00bbe24639
mv: add progress bar ( #4220 )
...
* mv: add progress bar
Similarly to `cp`, adds `-g` and `--progress` flags to enable a progress
bar via indicatif.
2022-12-13 11:46:54 +01:00