Commit graph

11668 commits

Author SHA1 Message Date
Sylvestre Ledru
f99987bb35 fix rustfmt 2023-12-06 21:19:59 +01:00
Sylvestre Ledru
bd667efa7b
simplify the declaration
Co-authored-by: Terts Diepraam <terts.diepraam@gmail.com>
2023-12-06 21:15:43 +01:00
Sylvestre Ledru
97ec99cf28
use a single push_str
Co-authored-by: Terts Diepraam <terts.diepraam@gmail.com>
2023-12-06 21:14:59 +01:00
Daniel Hofstetter
6b0eff6bb7
Merge pull request #5621 from sylvestre/fuzz_seq
fuzz seq
2023-12-06 09:09:06 +01:00
Sylvestre Ledru
2fcfec6490 fuzz seq 2023-12-05 22:10:15 +01:00
Sylvestre Ledru
b0fdb1edef Rest of the comments 2023-12-04 23:39:10 +01:00
Sylvestre Ledru
1c9413e185 bring back the old format 2023-12-04 22:51:08 +01:00
Sylvestre Ledru
3e35410907 dircolors: fix comments 2023-12-04 22:47:42 +01:00
Sylvestre Ledru
dabbcff9fb dircolors: manage the --print-ls-colors pipe option 2023-12-04 22:41:03 +01:00
Sylvestre Ledru
f5776bc511
fix comment
Co-authored-by: Terts Diepraam <terts.diepraam@gmail.com>
2023-12-04 22:40:18 +01:00
Sylvestre Ledru
d913057b04
Merge pull request #5600 from sylvestre/fuzz-echo
Fuzz the echo command
2023-12-04 22:03:20 +01:00
Sylvestre Ledru
9ef43191ff
Document that \0NNN and \xHH need more work 2023-12-04 21:20:47 +01:00
Sylvestre Ledru
8a6ee38ca3
Merge pull request #5618 from uutils/renovate/vmactions-freebsd-vm-1.x
chore(deps): update vmactions/freebsd-vm action to v1.0.4
2023-12-04 20:53:18 +01:00
renovate[bot]
d4b22a192d
chore(deps): update vmactions/freebsd-vm action to v1.0.4 2023-12-04 19:09:30 +00:00
Sylvestre Ledru
8b1a82edb9
Merge pull request #5617 from cakebaker/ls_remove_allow_unused_vars
ls: remove "#[allow(unused_variables)]"
2023-12-04 14:59:27 +01:00
Daniel Hofstetter
cf853df2dc ls: remove "#[allow(unused_variables)]" 2023-12-04 14:48:25 +01:00
Terts Diepraam
35548e2137
Merge pull request #5615 from cakebaker/du_disable_test_on_android
du: disable test on Android
2023-12-03 16:58:00 +01:00
Daniel Hofstetter
51fc2d7564 ls: ignore value of POSIXLY_CORRECT 2023-12-03 16:01:19 +01:00
Daniel Hofstetter
c77d389f5b ls: improve some var names related to block sizes 2023-12-03 14:58:14 +01:00
Daniel Hofstetter
a6d15d67ca ls: cleanup "spell-checker:ignore" entries 2023-12-03 14:58:14 +01:00
Daniel Hofstetter
42d03f4e8e
Merge pull request #5509 from uutils/renovate/vmactions-freebsd-vm-1.x
chore(deps): update vmactions/freebsd-vm action to v1.0.3
2023-12-03 14:41:52 +01:00
Daniel Hofstetter
49fb72ed21 du: disable test on Android 2023-12-03 14:07:03 +01:00
renovate[bot]
f414110083
chore(deps): update vmactions/freebsd-vm action to v1.0.3 2023-12-03 12:49:28 +00:00
Daniel Hofstetter
b7ee388cc1
Merge pull request #5602 from n1000/freebsd_fixes_push
tests/cp, tests/test: Don't attempt to set sticky file bit on FreeBSD
2023-12-03 13:49:10 +01:00
Nathan Houghton
0ea1a7cd88 tests/cp, tests/test: Don't attempt to set sticky file bit on FreeBSD
On FreeBSD (and OpenBSD), only the superuser can set the file sticky
bit.
2023-12-02 16:58:27 +01:00
Daniel Hofstetter
aee1fcade4
Merge pull request #5599 from lcheylus/openbsd-build
Add support in uucore for OpenBSD
2023-12-02 15:20:17 +01:00
Sylvestre Ledru
1a4ca7e65d fix clippy warnings 2023-12-02 15:19:37 +01:00
Sylvestre Ledru
e4b8750434 dircolors -p: generate it dynamically 2023-12-02 15:10:00 +01:00
Sylvestre Ledru
5d19f79cd0 dircolors should use the datastructures when printing 2023-12-02 15:04:39 +01:00
Sylvestre Ledru
0e8c171c80 dircolors: move the FILE_ATTRIBUTE_CODES datastructures and use it 2023-12-02 11:03:51 +01:00
Sylvestre Ledru
13a4c9114c create datastructures for colors 2023-12-02 10:29:02 +01:00
Sylvestre Ledru
e24d6b2fbd
Merge pull request #5604 from cakebaker/ls_fix_padding
ls: fix padding of size column when using `-l`
2023-12-02 09:40:18 +01:00
Sylvestre Ledru
6d0ffe9f80
Merge pull request #5608 from piotrkwiecinski/github-actions-triggers
prevent CI creating 2 events on each pull request push
2023-12-02 09:39:29 +01:00
Sylvestre Ledru
22f91b0501
Merge pull request #5607 from cakebaker/dd_fix_not_found_in_this_scope_error
dd: skip two tests without "printf" feature
2023-12-01 12:01:48 +01:00
Piotr Kwiecinski
4d2bdf497a prevent CI creating 2 events on each pull request push 2023-12-01 11:52:23 +01:00
Daniel Hofstetter
6b3f00cc31 dd: skip two tests without "printf" feature 2023-12-01 10:03:44 +01:00
Daniel Hofstetter
319315c019
Merge pull request #5606 from piotrkwiecinski/freebsd-vm
Bump freebsd-vm action to v1.0.2 & use ubuntu
2023-12-01 07:07:38 +01:00
Piotr Kwiecinski
c6e7fdcabe skip test_cp_arg_update_interactive on FreeBSD 2023-11-30 18:45:06 +01:00
Piotr Kwiecinski
8d591a7acc Bump freebsd-vm action to v1.0.2 & use ubuntu 2023-11-30 18:09:42 +01:00
Daniel Hofstetter
0ec6802459 ls: fix padding of size column when using -l 2023-11-30 16:19:27 +01:00
clara swanson
9061b2ba7e
libstdbuf: remove crash macro (#5565)
* libstdbuf: remove crash macro

* libstdbuf: remove uucore macro/struct and use gnu messages

* libstdbuf: remove crash macro

* libstdbuf: remove uucore macro/struct and use gnu messages

* libstdbuf: remove :? from print by printing file descriptor instead of file

* merge main into libstdbuf-remove-crash-macro

* libstdbuf: remove uucore from dependencies
2023-11-30 11:01:31 +01:00
Sylvestre Ledru
4d5c034eb1 Run the echo fuzzer in the CI 2023-11-30 09:14:58 +01:00
Daniel Hofstetter
07241db6d8
Merge pull request #5601 from uutils/renovate/lscolors-0.x
chore(deps): update rust crate lscolors to 0.16.0
2023-11-30 07:11:31 +01:00
renovate[bot]
173153122b
chore(deps): update rust crate lscolors to 0.16.0 2023-11-29 21:49:08 +00:00
Laurent Cheylus
420df3db3d
Add support in uucore for OpenBSD
- uucore/src/lib/features/fs.rs: add target_os = OpenBSD when needed
  - uucore/src/lib/features/fsext.rs: implement FsUsage::new for OpenBSD

  - fixes uutils/coreutils#5448

  - initial code by n1000 https://github.com/n1000/coreutils/tree/openbsd_compile_fixes

Signed-off-by: Laurent Cheylus <foxy@free.fr>
2023-11-29 17:44:50 +01:00
Sylvestre Ledru
3cadeb734d
Merge pull request #5561 from tertsdiepraam/fixup-macros
all: reduce imports needed for `show` and `show_if_err` macros
2023-11-29 15:10:59 +01:00
Sylvestre Ledru
203e79d74b
Fix unused import: UError 2023-11-29 14:09:13 +01:00
Sylvestre Ledru
571ca3cbd0
Merge pull request #5595 from cakebaker/cut_too_long_delimiter
cut: add test & improve error message if the delimiter is too long
2023-11-29 12:52:13 +01:00
Sylvestre Ledru
66e0835e72 fuzz the echo command 2023-11-29 09:55:55 +01:00
Daniel Hofstetter
6eec4fe8f9 cut: add test & improve error message 2023-11-29 09:41:11 +01:00