Commit graph

12140 commits

Author SHA1 Message Date
Sylvestre Ledru
e01d5f75f7
ls: if acl are used, show the + in the perms (#5816)
* ls: if acl are used, show the + in the perms

Tested by tests/mkdir/p-acl.sh

* CICD.yml: fix small formatting issue

---------

Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
2024-01-14 15:57:22 +01:00
Daniel Hofstetter
aeee56b3c3 head: fix clippy warnings in tests 2024-01-14 15:23:24 +01:00
Daniel Hofstetter
dc41ed2aeb
Merge pull request #5836 from uutils/renovate/smallvec-1.x
chore(deps): update rust crate smallvec to 1.12
2024-01-14 12:48:49 +01:00
renovate[bot]
e860b32a82
chore(deps): update rust crate smallvec to 1.12 2024-01-14 00:28:34 +00:00
Daniel Hofstetter
ac27b6c4b0
Merge pull request #5833 from sylvestre/cut-multiple
cut: allow the same option to be passed multiple times
2024-01-13 16:58:04 +01:00
Daniel Hofstetter
30ab8382aa
Merge pull request #5832 from sylvestre/fuzz-pipe-stderr
fuzz: with pipe, also capture stderr
2024-01-13 16:53:17 +01:00
Daniel Hofstetter
cc01c5e64c
Merge pull request #5736 from uutils/renovate/tempfile-3.x
chore(deps): update rust crate tempfile to 3.9.0
2024-01-13 16:00:04 +01:00
Sylvestre Ledru
bc51b8d216 cut: allow the same option to be passed multiple times 2024-01-13 15:09:16 +01:00
Daniel Hofstetter
e0abb76c0f Bump redox_syscall to 0.4.1
redox_syscall from 0.3.5 & 0.4.0 -> 0.4.1
filetime from 0.2.22 -> 0.2.23
parking_lot_core from 0.9.8 -> 0.9.9
2024-01-13 14:58:36 +01:00
renovate[bot]
c63b5b2a5d
chore(deps): update rust crate tempfile to 3.9.0 2024-01-13 13:57:26 +00:00
Sylvestre Ledru
2d0ab708cc
Merge pull request #5824 from cakebaker/bump_console_and_mio
Bump console and mio
2024-01-13 14:55:09 +01:00
Atomei Alexandru
563df4b79d
Made cksum return an error if used on a directory. (#5822)
* Made cksum to return an error if it is used on a directory regardless of the algorithm

* Added one more test for cksum on folders and deleted an old one that expected it to succeed instead of fail

* Made cksum work on more than one item if it fails and added a test for this case
2024-01-13 14:43:36 +01:00
Sylvestre Ledru
19e1f26e3d fuzz: with pipe, also capture stderr 2024-01-13 14:08:48 +01:00
Daniel Hofstetter
7e3f4d8358
Merge pull request #5830 from sudhackar/printf-infinite-loop
printf : no infinite loop
2024-01-12 14:50:19 +01:00
Sudhakar Verma
cd4568f5d9 printf: simplify loop 2024-01-12 17:12:30 +05:30
Sudhakar Verma
4e5a65ee41 printf: fix clippy warnings 2024-01-12 16:23:38 +05:30
Sudhakar Verma
2aa8a3502f printf : no infinite loop 2024-01-12 16:08:47 +05:30
Sylvestre Ledru
edb77b8d59
Merge pull request #5827 from samueltardieu/issue-5826
printf: %c prints the first byte of its argument
2024-01-12 00:25:32 +01:00
Daniel Hofstetter
5b860cb428
Merge pull request #5828 from samueltardieu/printf-double-quote
printf: output of double-quote should not be escaped
2024-01-11 08:52:51 +01:00
Samuel Tardieu
47e908bc6c printf: output of double-quote should not be escaped
This is obtained by escaping the sequence `\"` as `"`.
2024-01-10 19:17:42 +01:00
Sylvestre Ledru
19a9380089
Merge pull request #5803 from D9nni/cksum
cksum: Add --raw argument
2024-01-10 18:36:08 +01:00
Samuel Tardieu
7d32e49fb9 printf: %c prints the first byte of its argument 2024-01-10 18:19:56 +01:00
Daniel Hofstetter
e948d2e8e5 ci: install mingw-w64-x86_64-gcc for windows-gnu 2024-01-10 17:54:58 +01:00
Marras Antoine
0648321d97 printf: 0x not shown anymore in front of 0 while in alternative mode 2024-01-10 16:55:04 +01:00
Marras Antoine
3b884966ac printf: added failing tests on alternative hex form 2024-01-10 16:55:03 +01:00
Terts Diepraam
0071442cba
Merge pull request #5783 from samueltardieu/printf-compatibility
printf compatibility
2024-01-10 16:33:37 +01:00
D9nni
9a76997b0a cksum: fixed clippy and fmt errors 2024-01-10 16:49:52 +02:00
Samuel Tardieu
a85a792c88 format: use the new number parser and fix the error messages
The error messages are more compliant with GNU coreutils.
Also, floating hexadecimal numbers are now supported in
`printf`.
2024-01-10 14:34:43 +01:00
Samuel Tardieu
00cd6fa347 format: new dedicated number parser
The parser can parse integral and floating point numbers as expected by
the coreutils `printf` command.
2024-01-10 14:34:43 +01:00
D9nni
911df1d76c cksum: code improvements for cksum --raw --algorithm 2024-01-10 15:15:23 +02:00
D9nni
c7b15ddce9 cksum: fixed cksum --raw --algorithm 2024-01-10 15:04:19 +02:00
Terts Diepraam
aafdf10dc8 CI: test uucore with coreutils to run it with the proper features 2024-01-10 14:03:53 +01:00
Daniel Hofstetter
4754e071d4 deny.toml: update comment for windows-sys 2024-01-10 10:48:50 +01:00
Daniel Hofstetter
d29adfcb09 Bump mio from 0.8.6 to 0.8.10 2024-01-10 10:47:20 +01:00
Daniel Hofstetter
0fe5f39b74 Bump console from 0.15.7 to 0.15.8 2024-01-10 10:46:03 +01:00
D9nni
96271ffa3c cksum: added tests for --raw with each algorithm, not working for crc, sysv, bsd 2024-01-09 23:12:40 +02:00
Daniel Hofstetter
f400a07dc6 pathchk: remove useless comments 2024-01-09 15:19:22 +01:00
Daniel Hofstetter
49154669a6 pathchk: simplify and rename test 2024-01-09 15:17:15 +01:00
Daniel Hofstetter
cd9863dd29
Merge pull request #5808 from tertsdiepraam/printf-octal-prefix
`printf`: use 0 instead of 0o as octal prefix
2024-01-09 13:38:19 +01:00
Terts Diepraam
9858fef20e printf: use 0 instead of 0o as octal prefix 2024-01-09 10:34:08 +01:00
Samuel Tardieu
5dfeca9ff2 format: %c prints the first character of a string 2024-01-09 00:13:54 +01:00
Sylvestre Ledru
7dc4afb5cc
Merge pull request #5814 from cakebaker/android
ci: set -no-window in Android workflow
2024-01-08 19:50:55 +01:00
Sylvestre Ledru
294a0abb9c
Merge pull request #5812 from cakebaker/ln_fix_unused_import_on_android
ln: fix "unused import" warning on Android
2024-01-08 18:05:10 +01:00
Sylvestre Ledru
3552b4af61
Merge pull request #5813 from cakebaker/head_disable_tests_on_android
head: disable some tests on Android
2024-01-08 18:01:51 +01:00
Daniel Hofstetter
e29afdc0df head: disable some tests on Android 2024-01-08 17:29:34 +01:00
Daniel Hofstetter
62dffc3250 ln: fix "unused import" warning on Android 2024-01-08 17:17:43 +01:00
Daniel Hofstetter
833c1a0d3f ci: set -no-window in Android workflow 2024-01-08 16:19:43 +01:00
D9nni
28b5224725 cksum: fixed test for --raw on single file 2024-01-08 15:50:25 +02:00
Daniel Hofstetter
1c6bf6991c nl: don't exit if input is directory 2024-01-08 11:01:07 +01:00
Sylvestre Ledru
d72343bc64
Merge branch 'main' into cksum 2024-01-08 09:02:11 +01:00