Sylvestre Ledru
97f3dfad54
Merge pull request #3965 from Joining7943/fix-windows-pipe
...
`tests/tail`: Fix tests to reflect changes from the refactoring #3905
2022-10-06 11:17:25 +02:00
Sylvestre Ledru
6b36a266e4
Merge pull request #3981 from jfinkels/cp-directory-into-itself
...
cp: correct error message on copying dir to itself
2022-10-06 09:33:41 +02:00
Jeffrey Finkelstein
8bfd96fb59
cp: correct error message on copying dir to itself
...
Correct the error message produced when attempting to copy a directory
into itself with `cp`. Before this commit, the error message was
$ cp -R d d
cp: cannot copy a directory, 'd', into itself, 'd'
After this commit, the error message is
$ cp -R d d
cp: cannot copy a directory, 'd', into itself, 'd/d'
2022-10-05 21:37:30 -04:00
Sylvestre Ledru
490aa75553
Merge pull request #4001 from tertsdiepraam/tests-not-via-build-rs
...
tests: do not generate module structure in `build.rs`
2022-10-05 21:04:43 +02:00
Sylvestre Ledru
ae7c45d27a
Merge pull request #3988 from dmatos2012/add-date-format-ls
...
ls: add support for +FORMAT in timestyle
2022-10-05 18:41:15 +02:00
Pat Laster
493a2628d2
rm: Added descend messages for interactive mode Fixes #3817 ( #3931 )
...
Co-authored-by: Terts Diepraam <terts.diepraam@gmail.com>
2022-10-05 13:35:31 +02:00
Joining7943
1725151ef8
tests/tail: Fix tests to reflect changes from the refactoring #3905
2022-10-05 13:32:35 +02:00
Terts Diepraam
adf4bab03c
tests: do not generate module structure in build.rs
...
Generating the tests to run in build.rs created problems for tooling. For example, cargo fmt, was ignoring the test_*.rs files and needed to be passed these files manually to be formatted. Now we simply use the feature mechanism to decide which tests to run.
2022-10-05 13:30:22 +02:00
David Matos
b8a5588b81
ls: add support for +FORMAT in timestyle
2022-10-05 13:29:19 +02:00
Terts Diepraam
e523a56dab
Merge pull request #4005 from sylvestre/disable-expensive-test
...
Disable test_when_piped_input_then_no_broken_pipe by default
2022-10-04 21:51:59 +02:00
Sylvestre Ledru
858b2a5b99
disable the new tests
2022-10-04 17:24:06 +02:00
Sylvestre Ledru
3cda177d34
Disable test_preference_of_userspec on android
2022-10-04 17:17:01 +02:00
Sylvestre Ledru
8478570c04
Disable test_when_piped_input_then_no_broken_pipe by default
...
It is blocking the executions of the tests and I suspect it is breaking android
2022-10-04 17:17:01 +02:00
Terts Diepraam
25db814671
Merge pull request #4002 from sylvestre/cmd-test
...
test: add a bunch of operations
2022-10-04 12:00:00 +02:00
Sylvestre Ledru
45a7e52ed9
Merge pull request #3982 from jfinkels/cp-sparse-copy
...
cp: make copy_on_write_linux() func more readable
2022-10-03 23:19:01 -10:00
Terts Diepraam
2b495daa16
Merge pull request #3999 from sylvestre/travis
...
remove an old travis CI script
2022-10-04 10:55:28 +02:00
Sylvestre Ledru
436b7006f2
Merge pull request #3998 from sylvestre/wc-doc
...
wc: document the long match
2022-10-03 20:37:21 -10:00
Sylvestre Ledru
33de6c89db
test: allow parsing of bigger numbers
...
Fixes: tests/misc/test.pl
2022-10-03 20:25:45 +02:00
Sylvestre Ledru
f0b8b33dc1
test: add support for -ef, -nt & -ot
2022-10-03 20:25:42 +02:00
Emil Suleymanov
a7b637b1eb
cp: assume --reflink=always on no value ( #3992 )
...
* Set reflink to auto by default
2022-10-03 20:20:55 +02:00
Sylvestre Ledru
a437cf0187
Merge pull request #3996 from uutils/dependabot/github_actions/vmactions/freebsd-vm-0.2.9
...
build(deps): bump vmactions/freebsd-vm from 0.2.6 to 0.2.9
2022-10-03 01:38:32 -10:00
Sylvestre Ledru
63203a0a68
test: add -N FILE exists and has been modified since it was last read
...
Upstream: tests/misc/test-N.sh
2022-10-03 00:59:39 -10:00
Sylvestre Ledru
ee13d98f10
remove an old travis CI script
2022-10-03 00:58:21 -10:00
Sylvestre Ledru
7257adb53b
wc: document the long match
2022-10-03 00:57:48 -10:00
dependabot[bot]
78994824f8
build(deps): bump vmactions/freebsd-vm from 0.2.6 to 0.2.9
...
Bumps [vmactions/freebsd-vm](https://github.com/vmactions/freebsd-vm ) from 0.2.6 to 0.2.9.
- [Release notes](https://github.com/vmactions/freebsd-vm/releases )
- [Commits](https://github.com/vmactions/freebsd-vm/compare/v0.2.6...v0.2.9 )
---
updated-dependencies:
- dependency-name: vmactions/freebsd-vm
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-10-03 06:46:23 +00:00
Sylvestre Ledru
043c009a41
Merge pull request #3990 from cakebaker/clap_replace_deprecated_is_present
...
du,stty: replace deprecated is_present()
2022-09-29 05:53:09 -10:00
Daniel Hofstetter
8cae763321
du,stty: replace deprecated is_present()
2022-09-29 15:20:10 +02:00
Terts Diepraam
6d5d6f2bb6
Merge pull request #3989 from cakebaker/clap_replace_deprecated_values_of_lossy
...
df: replace deprecated values_of_lossy()
2022-09-29 13:59:23 +02:00
Daniel Hofstetter
af51493368
df: replace deprecated values_of_lossy()
2022-09-29 09:37:13 +02:00
Terts Diepraam
4b517a361d
Merge pull request #3959 from Joining7943/tail-reactivate-presume-input-pipe
...
tail: Reactivate ---presume-input-pipe option
2022-09-28 00:09:18 +02:00
Sylvestre Ledru
a44eb5b097
Merge pull request #3828 from cakebaker/clap_replace_deprecated_value_of
...
Replace deprecated value_of() with get_one()
2022-09-27 06:59:54 -10:00
Sylvestre Ledru
bbbe1cf11a
Merge pull request #3983 from uutils/dependabot/cargo/thiserror-1.0.36
...
build(deps): bump thiserror from 1.0.35 to 1.0.36
2022-09-27 06:51:02 -10:00
Jeffrey Finkelstein
1f907bfd4b
fixup! cp: make copy_on_write_linux() func more readable
2022-09-26 23:59:41 -04:00
Daniel Hofstetter
9e8daf92dd
Replace deprecated value_of() with get_one()
2022-09-26 16:42:42 +02:00
dependabot[bot]
8b7bbc3da9
build(deps): bump thiserror from 1.0.35 to 1.0.36
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.35 to 1.0.36.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.35...1.0.36 )
---
updated-dependencies:
- dependency-name: thiserror
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-09-26 06:42:42 +00:00
Jeffrey Finkelstein
e0dcc43076
cp: make copy_on_write_linux() func more readable
...
Improve readability of the `copy_on_write_linux()` helper function by
employing new helper functions `clone()` and `sparse_copy()`.
2022-09-25 23:14:37 -04:00
Sylvestre Ledru
b43bbe9e98
Merge pull request #3980 from sashashura/patch-1
...
GitHub Workflows security hardening
2022-09-25 18:33:38 +02:00
Alex
1138c906fe
build: harden CICD.yml permissions
...
Signed-off-by: Alex <aleksandrosansan@gmail.com>
2022-09-25 16:30:33 +02:00
Alex
b182f81a62
build: harden GnuTests.yml permissions
...
Signed-off-by: Alex <aleksandrosansan@gmail.com>
2022-09-25 16:17:38 +02:00
Terts Diepraam
a3ba02a791
Merge pull request #3971 from niyaznigmatullin/cp_H_option
...
cp: add `-H` option
2022-09-25 15:16:37 +02:00
Terts Diepraam
9ce600ffa8
Merge pull request #3904 from cakebaker/pr_use_clap_for_help_and_version
...
pr: use clap to handle help & version
2022-09-25 14:10:00 +02:00
Niyaz Nigmatullin
9166269aec
cp: fix help for -H
2022-09-23 20:35:14 +03:00
Niyaz Nigmatullin
90babe2775
uucore: remove is_symlink
function
...
Since Rust 1.58 there is `is_symlink` method for `Path`
2022-09-23 20:32:09 +03:00
Niyaz Nigmatullin
84a741fe91
cp: add -H
option, add tests, fix test
2022-09-23 20:31:24 +03:00
Niyaz Nigmatullin
5640d56584
Fix clippy warning
2022-09-23 20:27:43 +03:00
Sylvestre Ledru
fce36c80f1
Merge pull request #3967 from uutils/dependabot/cargo/md-5-0.10.5
...
build(deps): bump md-5 from 0.10.4 to 0.10.5
2022-09-22 17:42:17 +02:00
jfinkels
dd0daa5e06
df: remove trailing spaces in rightmost column ( #3882 )
...
Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
2022-09-22 08:37:20 +02:00
dependabot[bot]
52b977de79
build(deps): bump md-5 from 0.10.4 to 0.10.5
...
Bumps [md-5](https://github.com/RustCrypto/hashes ) from 0.10.4 to 0.10.5.
- [Release notes](https://github.com/RustCrypto/hashes/releases )
- [Commits](https://github.com/RustCrypto/hashes/compare/md-5-v0.10.4...md-5-v0.10.5 )
---
updated-dependencies:
- dependency-name: md-5
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-09-22 06:37:09 +00:00
Sylvestre Ledru
1e268b1a8f
Merge pull request #3940 from jfinkels/mktemp-nonexistent-tmpdir-env-var
...
mktemp: add message for directory not found
2022-09-22 08:36:30 +02:00
Jeffrey Finkelstein
60ca9a03bb
mktemp: add message for directory not found
...
Add special handling in `mktemp` for when the directory that will
contain the temporary file is not found. This situation now produces
the message
mktemp: failed to create file via template 'XXX': No such file or directory
to match the behavior of GNU mktemp.
2022-09-21 21:26:39 -04:00