Commit graph

10296 commits

Author SHA1 Message Date
tpeters
53ffd55bdf more: run test only on unix systems 2023-05-24 13:40:30 +02:00
tpeters
eed916a076 more: disable raw mode on error 2023-05-24 13:40:14 +02:00
tpeters
50bff30c67 more: add test and change error type 2023-05-23 18:03:25 +02:00
tpeters
d41777c52c more: change file unwrap to match 2023-05-22 20:07:14 +02:00
Daniel Hofstetter
4b33223854
Merge pull request #4885 from uutils/renovate/digest-0.x
chore(deps): update rust crate digest to 0.10.7
2023-05-22 17:39:13 +02:00
Daniel Hofstetter
c7f945641e
Merge pull request #4884 from uutils/renovate/data-encoding-macro-0.x
fix(deps): update rust crate data-encoding-macro to 0.1.13
2023-05-22 17:25:57 +02:00
renovate[bot]
8ffc33429e
chore(deps): update rust crate digest to 0.10.7 2023-05-22 12:49:11 +00:00
renovate[bot]
cda52ebce6
fix(deps): update rust crate data-encoding-macro to 0.1.13 2023-05-22 12:36:42 +00:00
Daniel Hofstetter
8d49e36e8e
Merge pull request #4883 from uutils/renovate/data-encoding-2.x
fix(deps): update rust crate data-encoding to 2.4
2023-05-22 14:33:49 +02:00
Sylvestre Ledru
8b730d8f6a
Merge pull request #4882 from uutils/renovate/clap_complete-4.x
chore(deps): update rust crate clap_complete to 4.3
2023-05-22 13:44:15 +02:00
renovate[bot]
66224cdbf8
fix(deps): update rust crate data-encoding to 2.4 2023-05-22 11:32:58 +00:00
renovate[bot]
d1d64049e3
chore(deps): update rust crate clap_complete to 4.3 2023-05-22 07:34:09 +00:00
Sylvestre Ledru
08c71fc80c
Merge pull request #4880 from cakebaker/more_remove_empty_else_branches
more: remove empty "else"-branches in tests
2023-05-22 09:31:21 +02:00
Sylvestre Ledru
e5419ade96
Merge pull request #4878 from cakebaker/mktemp_4874
mktemp: prioritize TMPDIR over -p when using -t
2023-05-22 09:31:11 +02:00
Sylvestre Ledru
c91520768e
Merge pull request #4876 from shinhs0506/mkdir-p
mkdir: set correct permissions on dirs created by -p
2023-05-22 07:43:52 +02:00
John Shin
33ac653ce5 mkdir: correctly set umask so that tests fail without the fix 2023-05-21 21:07:00 -07:00
Moïse Valvassori
0130a07579
chown: show message if file doesn't exist
* print the message "failed to change ownership of" when we try to change a non existing file.

* replace the 4-tuple returned by parse_gid_uid_and_filter by GidUidOwnerFilter struct.

* chain the test in one expression.

* chown: remove unused var "result" in test

---------

Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
2023-05-21 17:54:32 +02:00
Daniel Hofstetter
e844bdfebe more: remove empty "else"-branches in tests 2023-05-20 16:26:11 +02:00
Daniel Hofstetter
70765eea82
Merge pull request #4872 from Ideflop/more_implement_print_over_and_clean_print
more: add arguments print over and clean print
2023-05-20 15:32:50 +02:00
Ideflop
2d1a9f6709 fix behavior of -c and -p commands 2023-05-20 08:56:50 +02:00
Daniel Hofstetter
698fafad68 mktemp: prioritize TMPDIR over -p when using -t 2023-05-20 08:02:37 +02:00
John Shin
9e8575dadd mkdir: add documentation for the use of allow attribute 2023-05-19 08:13:33 -07:00
Sylvestre Ledru
bf1bc1764f
Merge pull request #4877 from cakebaker/mktemp_test_refactorings
mktemp: two small test refactorings
2023-05-19 12:16:07 +02:00
Daniel Hofstetter
a01dc20c30 mktemp: remove TEST_TEMPLATE9 2023-05-19 10:42:52 +02:00
Daniel Hofstetter
5be5f85043 mktemp: simplify test_default_missing_value() 2023-05-19 10:38:04 +02:00
John Shin
f592dff46a mkdir: skip setting dir permissions on windows 2023-05-18 19:34:57 -07:00
John Shin
5e1a6c1f13 mkdir: add test for checking mode of parent dirs with -p 2023-05-18 19:12:38 -07:00
John Shin
b05c05eb45 mkdir: chmod of parent directories created by -p 2023-05-18 19:11:49 -07:00
Sylvestre Ledru
fdf8ce548a
Merge pull request #4873 from cakebaker/more_page_down_page_up
more: support PageDown/PageUp keys
2023-05-18 18:24:19 +02:00
Daniel Hofstetter
932f44d3dc more: support PageDown/PageUp keys 2023-05-18 15:24:49 +02:00
Daniel Hofstetter
74e73bee06
Merge pull request #4832 from sylvestre/issue_4821
mktemp -t foo.XXXX should create in TMPDIR
2023-05-18 14:12:40 +02:00
Sylvestre Ledru
cd189b2391 Fix mktemp -t -p ~/projects/playground foo.XXXX 2023-05-18 11:08:55 +02:00
Sylvestre Ledru
35b5fd6a40 mktemp -t foo.XXXX should create in TMPDIR 2023-05-18 11:08:55 +02:00
Ideflop
1a12ffaa79 Add check for terminal in test_valid_arg() function 2023-05-18 09:18:33 +02:00
Daniel Hofstetter
b75688bf79
Merge pull request #4871 from jeddenlea/rm
rm: support non-UTF-8 paths
2023-05-18 08:55:31 +02:00
Jed Denlea
db5696f64b rm: support non-UTF-8 paths
Addresses #4868.
2023-05-17 23:01:21 -07:00
Ideflop
1ce52903b0
Merge branch 'uutils:main' into more_implement_print_over_and_clean_print 2023-05-17 22:47:07 +02:00
Ideflop
b676875c0c more: add arguments print over and clean print 2023-05-17 20:38:03 +02:00
Daniel Hofstetter
d458f3e594
Merge pull request #4864 from sylvestre/why-skip
Document why tests are skipped
2023-05-16 17:04:33 +02:00
Daniel Hofstetter
5b715b4085
Add "spell-checker:ignore" line 2023-05-16 16:10:18 +02:00
Daniel Hofstetter
1e621cb935
Merge pull request #4866 from uutils/renovate/sm3-0.x
chore(deps): update rust crate sm3 to 0.4.2
2023-05-16 14:52:57 +02:00
renovate[bot]
11b72d3849
chore(deps): update rust crate sm3 to 0.4.2 2023-05-16 11:30:17 +00:00
Sylvestre Ledru
a3e455ea3d
Merge pull request #4865 from uutils/renovate/zip-0.x
chore(deps): update rust crate zip to 0.6.6
2023-05-16 13:27:40 +02:00
renovate[bot]
354cb0341c
chore(deps): update rust crate zip to 0.6.6 2023-05-16 10:35:39 +00:00
Sylvestre Ledru
f26bf98883
Merge pull request #4862 from jeddenlea/yes
yes: support non-UTF-8 args
2023-05-16 08:38:43 +02:00
Daniel Hofstetter
21b9cf8e8a
Merge pull request #4863 from sylvestre/split
remaining-gnu-error.py: split SKIP & ERROR
2023-05-16 08:14:47 +02:00
Sylvestre Ledru
6c1552cc20 Document why tests are skipped 2023-05-15 23:20:19 +02:00
Sylvestre Ledru
a1a136650b remaining-gnu-error.py: split SKIP & ERROR 2023-05-15 21:46:07 +02:00
Sylvestre Ledru
137fb4b0b5
Merge pull request #4771 from Joining7943/ci-improve-setup-steps-use-github-actions
`ci`: Improve and speed up setup steps using github actions
2023-05-15 20:45:27 +02:00
Sylvestre Ledru
d07630e1d1
Merge pull request #4766 from Joining7943/ci-fix-gnu-tests-caching
`ci/gnu tests`: fix Swatinem/rust-cache to use correct workspace
2023-05-15 20:40:23 +02:00