Commit graph

13140 commits

Author SHA1 Message Date
Sylvestre Ledru
39a38013dc
Merge pull request #6549 from Kev1n8/remove-crash-fsext
fsext: remove crash!
2024-07-07 21:19:59 +02:00
kf zheng
4faf9c08d6 replace crash! with UResult in fsext and modify related files: df, stat, and filesystem 2024-07-07 20:56:22 +08:00
n4n5
fb48e7d280
Fix spelling, update comments, and add documentation for improved code clarity
fixes #5066
2024-07-07 12:20:41 +02:00
Sylvestre Ledru
33a04bed2f
Merge pull request #6547 from Kev1n8/remove-crash-sync
sync: replace crash! with USimpleError
2024-07-07 12:19:13 +02:00
kf zheng
d868743616 replace crash! with UResult in sync 2024-07-07 12:18:21 +02:00
Sylvestre Ledru
722339c66d
Merge pull request #6545 from lcheylus/openbsd-tests
Disable failed tests on OpenBSD
2024-07-07 12:16:50 +02:00
Daniel Hofstetter
770ee83f54
Merge pull request #6544 from uutils/renovate/serde-monorepo
chore(deps): update rust crate serde to v1.0.204
2024-07-07 10:43:11 +02:00
renovate[bot]
960989f2e8
chore(deps): update rust crate serde to v1.0.204 2024-07-06 22:53:05 +00:00
Laurent Cheylus
2f7c8cc18f
tests: disable tests for features/fsxattr on OpenBSD
Signed-off-by: Laurent Cheylus <foxy@free.fr>
2024-07-06 22:45:10 +02:00
Laurent Cheylus
f731b4e779
tests: disable common::util::tests::test_altering_umask on OpenBSD
Signed-off-by: Laurent Cheylus <foxy@free.fr>
2024-07-06 22:45:10 +02:00
Laurent Cheylus
008dd38a0d
tests: fix warnings on OpenBSD for unused imports in by-util/test_*
Signed-off-by: Laurent Cheylus <foxy@free.fr>
2024-07-06 22:45:10 +02:00
Laurent Cheylus
c25ba39ce6
tests: disable failed tests for touch on OpenBSD
Signed-off-by: Laurent Cheylus <foxy@free.fr>
2024-07-06 22:29:20 +02:00
Laurent Cheylus
de4d91beda
tests: disable failed tests for test on OpenBSD
Signed-off-by: Laurent Cheylus <foxy@free.fr>
2024-07-06 22:29:19 +02:00
Laurent Cheylus
de742e905b
tests: disable failed tests for tail on OpenBSD
Signed-off-by: Laurent Cheylus <foxy@free.fr>
2024-07-06 22:29:19 +02:00
Laurent Cheylus
c96e639f2f
tests: disable failed tests for stdbuf on OpenBSD
Signed-off-by: Laurent Cheylus <foxy@free.fr>
2024-07-06 22:29:19 +02:00
Laurent Cheylus
6bce1626b3
tests: disable failed tests for stat on OpenBSD
Signed-off-by: Laurent Cheylus <foxy@free.fr>
2024-07-06 22:29:18 +02:00
Laurent Cheylus
26da94687f
tests: disable failed tests for split on OpenBSD
Signed-off-by: Laurent Cheylus <foxy@free.fr>
2024-07-06 22:29:18 +02:00
Laurent Cheylus
00cca34a9c
tests: disable failed tests for ls on OpenBSD
Signed-off-by: Laurent Cheylus <foxy@free.fr>
2024-07-06 22:29:17 +02:00
Laurent Cheylus
a425da0a12
tests: disable failed tests for install on OpenBSD
Signed-off-by: Laurent Cheylus <foxy@free.fr>
2024-07-06 22:29:16 +02:00
Laurent Cheylus
643f93be2f
tests: disable failed tests for head on OpenBSD
Signed-off-by: Laurent Cheylus <foxy@free.fr>
2024-07-06 22:29:16 +02:00
Laurent Cheylus
584a9d290f
tests: disable failed tests for du on OpenBSD
Signed-off-by: Laurent Cheylus <foxy@free.fr>
2024-07-06 22:29:16 +02:00
Laurent Cheylus
91f5533bc5
tests: disable failed tests for cp on OpenBSD
Signed-off-by: Laurent Cheylus <foxy@free.fr>
2024-07-06 22:29:14 +02:00
Laurent Cheylus
62ec71d6fa
tests: disable failed tests for chown on OpenBSD
Signed-off-by: Laurent Cheylus <foxy@free.fr>
2024-07-06 22:29:12 +02:00
Laurent Cheylus
b69070fdff
tests: disable failed tests for cat on OpenBSD
Signed-off-by: Laurent Cheylus <foxy@free.fr>
2024-07-06 22:29:12 +02:00
Daniel Hofstetter
8cc129cff8
Merge pull request #6528 from sylvestre/cf
ls: when -CF is passed, use a tab. closes: #5396
2024-07-05 10:38:31 +02:00
Pyokyeong Son
ea478c2bb6
ls: fixed dired option (-D) not outputting datetime and parent dir byte offsets (#6538)
Closes #6522
2024-07-05 09:59:41 +02:00
Daniel Hofstetter
b774000351
Merge pull request #6535 from sylvestre/sort
sort: improve the error mgmt with --batch-size
2024-07-05 09:45:54 +02:00
Mengsheng Wu
1e80d3e3b2
ls: fix error sub dir output (#6521)
Closes #6492
2024-07-05 08:16:16 +02:00
Sylvestre Ledru
fd2c4a14b8 ls: when -CF is passed, use a tab. closes: #5396 2024-07-04 23:39:03 +02:00
Sylvestre Ledru
e2c66ea092 sort: improve the error mgmt with --batch-size
should make the gnu test tests/sort/sort-merge.pl pass
2024-07-04 22:16:46 +02:00
Daniel Hofstetter
a18c132994
Merge pull request #6524 from sylvestre/cksum-3
cksum: read the next file when the first is missing or invalid
2024-07-03 09:48:08 +02:00
Sylvestre Ledru
14230e3c68
Merge pull request #6526 from Its-Just-Nans/add-test-date
date: add test
2024-07-03 08:10:20 +02:00
Sylvestre Ledru
af8e820b5e
Merge pull request #6527 from Its-Just-Nans/add-ls-test
ls: add test
2024-07-03 08:09:55 +02:00
Daniel Hofstetter
1a1490ea59 build.rs: skip "expensive_tests", not a crate 2024-07-03 07:27:21 +02:00
Ben Wiederhake
8f6eb57856 common: permit signal names of any casing in tests 2024-07-03 04:15:52 +02:00
Ben Wiederhake
449c685675 uucore+timeout: accept signals of any casing 2024-07-03 04:15:52 +02:00
n4n5
0c67aa8e03
ls: remove useless clippy 2024-07-02 22:40:15 +02:00
n4n5
e506927f1f
ls: add test 2024-07-02 22:40:06 +02:00
Sylvestre Ledru
a6c5ee576a cksum: read the next file when the first is missing or invalid 2024-07-02 20:48:28 +02:00
n4n5
9846af40e5
add date test 2024-07-02 20:07:06 +02:00
Daniel Hofstetter
4183977c93
Merge pull request #6525 from uutils/renovate/vmactions-freebsd-vm-1.x
chore(deps): update vmactions/freebsd-vm action to v1.0.8
2024-07-02 16:49:21 +02:00
renovate[bot]
fc98461775
chore(deps): update vmactions/freebsd-vm action to v1.0.8 2024-07-02 14:11:06 +00:00
Sylvestre Ledru
63250a6aa1
Merge pull request #6516 from Its-Just-Nans/documention-functions
documents functions - #5069
2024-07-01 23:57:32 +02:00
Sylvestre Ledru
4720f8a076
Merge pull request #6513 from cvonelm/main
tr: correctly detected matched [:upper:]
2024-07-01 17:24:42 +02:00
kf zheng
e6b6b2761b
printf: Check precision before writing into stdout (#6511)
* Add a new error type InvalidPrecision

* check if the precision is valid before writing to stdout when it is signedInt, unsigned, or float

* add tests for invalid precision check

* add tests for invalid precision check

* fix possible cross-platform issue that code failing to pass on some tests

* uucore/format: inline var in format string

---------

Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
2024-07-01 15:15:32 +02:00
Sylvestre Ledru
ff389491cc
Merge pull request #6515 from Its-Just-Nans/document-args
document uucore::Args #5068
2024-06-30 23:09:12 +02:00
n4n5
29f99d3cda
documents functions 2024-06-30 23:00:47 +02:00
n4n5
8605170628
document uucore::Args #5068 2024-06-30 22:51:19 +02:00
Sylvestre Ledru
96fa8e9480
Merge pull request #6514 from lcheylus/openbsd-uptime
uptime: add support for OpenBSD using utmp
2024-06-30 21:27:48 +02:00
Sylvestre Ledru
9013265e47
Merge pull request #6506 from Its-Just-Nans/touch-directory
`touch`: change message when directory
2024-06-30 20:54:48 +02:00