Commit graph

9284 commits

Author SHA1 Message Date
Zaú Júlio
9e2c543cd4
mktemp: prefix prefix_of_template use to_string_lossy
Co-authored-by: Terts Diepraam <terts.diepraam@gmail.com>
2023-02-16 18:43:32 -03:00
ZauJulio
af4ce911c8
mktemp: fix PrefixContainsDirSeparator verification 2023-02-16 17:48:23 -03:00
Joining7943
f610f33aa7
tests/util: Don't trim output in CmdResult::stdout_matches and stdout_does_not_match (#4304)
* tests/util: Fix documentation of UCommand::stderr_only and usage_error

* tests/util: Remove trimming from CmdResult::stdout_matches and stdout_does_not_match. Fix tests.

The tests are fixed to match the trailing newline instead of ignoring it.
2023-02-16 15:33:33 +01:00
Terts Diepraam
ff5000d4d0
Merge pull request #4239 from Joining7943/tail-fix-parsing-of-sleep-interval
`tail`: fix argument parsing of sleep interval
2023-02-16 15:14:53 +01:00
Sylvestre Ledru
d3fc0e8706
Merge pull request #4314 from cakebaker/comm_total_with_output_delimiter
comm: use delimiter on "total" line
2023-02-16 14:24:02 +01:00
Terts Diepraam
ef9d39e046
Merge pull request #4375 from papparapa/cat-move-help-strings-to-md-file
cat: move help strings to markdown file
2023-02-16 13:36:04 +01:00
Koki Ueha
5cc9130490 cat: move help strings to markdown file 2023-02-16 10:47:34 +00:00
papparapa
34e31f20e7
cp: move help strings to markdown file (#4372)
* cp: move help strings to markdown file

* cp: change markdown section order
2023-02-16 11:23:32 +01:00
Sylvestre Ledru
1c2a1ada96
Merge pull request #4371 from cakebaker/stat_fix_md_formatting
stat: fix markdown formatting
2023-02-15 16:39:08 +01:00
Daniel Hofstetter
675c55ba01 stat: fix markdown formatting 2023-02-15 16:16:10 +01:00
Sylvestre Ledru
76034a8fe2
Merge pull request #4367 from cakebaker/replace_get_long_usage_fn_with_const
Replace get_long_usage fns with const
2023-02-15 08:18:36 +01:00
Terts Diepraam
df7fe29095
Merge pull request #4339 from howjmay/tr-newline
tr: Remove the extra newline in stderr
2023-02-14 22:58:40 +01:00
Guilherme A. de Souza
04b6d806a2
nproc: replace num_cpus crate with thread::available_parallelism (#4352)
* nproc: replace num_cpus crate with std:🧵:available_parallelism

* nproc: unwrap Result for Windows

* nproc: if thread::available_parallelism results in err return 1

* nproc: wrap the call to available_parallelism into a function

* nproc: remove comment in the wrong place

* nproc: fix style violation

* nproc: fix comment, refers to the new function
2023-02-14 22:43:09 +01:00
Yang Hau
ec81a23afc tr: Remove the extra newline in stderr
closes #4301
2023-02-15 02:04:43 +08:00
Terts Diepraam
e8af2a1e67
Merge pull request #4256 from Joining7943/tests-util-fix-test-executable-resolution
tests/util: Fix path resolution of test executable
2023-02-14 15:56:39 +01:00
Joining7943
3a613cbc7f tests/util: Fix path resolution of test executable 2023-02-14 11:22:49 +01:00
Daniel Hofstetter
99f3fc8356 Replace get_long_usage fns with const 2023-02-14 09:51:28 +01:00
Sylvestre Ledru
b9ae16c09f
Merge pull request #4363 from jfinkels/clippy-fixes-2
Fixes from nightly version of clippy
2023-02-14 09:11:36 +01:00
Sylvestre Ledru
92ec546188
Merge pull request #4331 from tertsdiepraam/document-env-files
docs: document env -f/--file in GNU extensions
2023-02-14 08:49:48 +01:00
Jeffrey Finkelstein
c6d9d7f11c Clippy fixes 2023-02-13 21:33:42 -05:00
Sylvestre Ledru
072335a2ff
Merge pull request #4354 from cakebaker/uniq_remove_lint_suppression
uniq: remove suppression of use_self lint
2023-02-13 11:49:44 +01:00
Daniel Hofstetter
c433f8b475 uniq: remove suppression of use_self lint 2023-02-13 08:53:26 +01:00
Joining7943
0ed6a9f882 tail: Fix parsing of sleep interval. Use duration parser from fundu crate.
Activate tests for parsing sleep interval
2023-02-12 20:23:55 +01:00
Terts Diepraam
d9f05f4c52
Merge pull request #4349 from tmccombs/cp-sparse-help
Stop saying --sparse is not implemented for cp
2023-02-12 16:29:44 +01:00
Thayne McCombs
5b190dbf76 Stop saying --sparse is not implemented for cp
It is implemented, so update the --help text to reflect that
2023-02-12 01:41:36 -07:00
Sylvestre Ledru
816e0d51e3
Merge pull request #4344 from tertsdiepraam/msrv-1.64
MSRV 1.64 & Workspace inheritance for dependencies
2023-02-12 08:27:21 +01:00
Terts Diepraam
bf8e9333f6 tee: use retain_mut from std instead of the deprecated retain_mut crate 2023-02-11 18:54:55 +01:00
Terts Diepraam
ae27c82020 Use workspace inheritance for dependencies 2023-02-11 18:54:46 +01:00
Terts Diepraam
d60fc40f2f Clippy fixes for MSRV 1.64 2023-02-11 13:59:50 +01:00
Terts Diepraam
b10950e383 Bump MSRV to 1.64 2023-02-11 13:59:50 +01:00
Terts Diepraam
d2c047c0ab
Merge pull request #4340 from howjmay/remove_dir_all
rm: Remove remove_dir_all dependency
2023-02-11 12:32:24 +01:00
Yang Hau
0b1edd33fc rm: Remove remove_dir_all dependency
Closes #4335
2023-02-11 01:04:30 +08:00
Sylvestre Ledru
830f785220
Merge pull request #4333 from tertsdiepraam/fix-double-deps
Fix some double deps
2023-02-10 11:09:47 +01:00
Terts Diepraam
152be8527d update blake2_simd to 1.0.1
This fixes the duplicate constant-time-eq dependency.
2023-02-10 09:56:24 +01:00
Terts Diepraam
41883301d1 deny: remove skipping env logger because we no longer use quickcheck 2023-02-09 14:09:06 +01:00
Terts Diepraam
357001dabc fix double dependency of memoffset by upgrading nix, libc and ctrlc 2023-02-09 14:02:40 +01:00
Terts Diepraam
efb9cad579 fix double terminal_size dependency via indicatif -> console 2023-02-09 13:48:59 +01:00
Terts Diepraam
91c8f32881 docs: document env -f/--file in GNU extensions 2023-02-09 13:18:47 +01:00
Sylvestre Ledru
7363e53940
Merge pull request #4330 from cakebaker/comm_enable_two_tests
comm: enable "no_arguments" & "one_argument" tests
2023-02-09 12:13:22 +01:00
Daniel Hofstetter
a22749ec57 comm: enable "no_arguments" & "one_argument" tests 2023-02-09 10:51:32 +01:00
Sylvestre Ledru
588a890edd
Merge pull request #4328 from howjmay/typo
fix typo
2023-02-08 18:28:28 +01:00
Yang Hau
6299b418f5 typo 2023-02-09 00:33:54 +08:00
Terts Diepraam
7687cffa5c
Merge pull request #4327 from cakebaker/ln_fix_format_of_help_text
ln: fix format of help text
2023-02-08 16:12:31 +01:00
Daniel Hofstetter
d4cd4d310f ln: fix format of help text 2023-02-08 15:00:35 +01:00
Sylvestre Ledru
2074f85167
Merge pull request #4326 from cakebaker/start_about_text_with_uppercase_char
Start about texts with uppercase char
2023-02-07 15:03:55 +01:00
Daniel Hofstetter
ba7a222a55 Start about texts with uppercase char 2023-02-07 14:54:25 +01:00
Sylvestre Ledru
4b3d57c93d
Merge pull request #4324 from cakebaker/env_start_about_text_with_uppercase
env: start about text with uppercase char
2023-02-07 10:23:58 +01:00
Daniel Hofstetter
a2796d4585 env: start about text with uppercase char 2023-02-07 10:20:04 +01:00
Daniel Hofstetter
ccf999473c comm: use delimiter on "total" line 2023-02-07 09:22:55 +01:00
Sylvestre Ledru
f268e6e3a5
Merge pull request #4323 from Joining7943/cicd-fix-windows-toolchain
`cicd`: Fix #4322 toolchain overrides must begin with +
2023-02-06 18:07:33 +01:00