Sylvestre Ledru
a644724137
uucore: add foot to the list of terminals that support colors
2024-12-04 13:25:24 +01:00
Simone Ragusa
f0b7d322d1
dircolors: patch test fixture to include alacritty support
2024-12-02 10:03:52 +01:00
Dorian Péron
e9cf31451e
test(cksum): add tests for -z/--zero
2024-10-24 00:29:45 +02:00
Pistonight
ca6d0eda3d
hashsum: Windows: check in binary mode by default and allow --binary/--text whcn checking
2024-10-22 11:55:49 -07:00
Justin Tracey
a51a731704
join: add support for multibyte separators ( #6736 )
...
* join: add test for multibyte separators
* join: implement support for multibyte separators
* join: use a trait instead of an enum for separator
* join: test whitespace merging
2024-10-06 11:48:08 +02:00
Laurent Cheylus
c0a3662b63
tests: enable tests for uptime on OpenBSD
...
Signed-off-by: Laurent Cheylus <foxy@free.fr>
2024-06-30 16:17:04 +02:00
Jadi
576341bb93
users: support OpenBS using utmp
...
OpenBSD uses the original utmp file format so the general `users` does not
work there. By using the `utmp-classic` lib, we cna process the current users
on the system from the /var/run/utmp and show the list.
fixes #5665
2024-06-29 08:19:24 +03:30
Sylvestre Ledru
843275a136
cksum/blake2b: improve the error management
2024-05-14 23:21:56 +02:00
Ben Wiederhake
a13949b4ba
fmt: add basic tests for split-only, prefix, and skip-prefix args
2024-05-05 17:03:28 +02:00
Ulrich Hornung
537941b676
config terminal simulation for specific stdios only
2024-04-23 19:56:17 +02:00
Jadi
5d17bf7d78
head: two new tests. Improves function coverage from 38 to 75
2024-04-06 05:40:26 +02:00
Ben Wiederhake
1fa0b032e5
comm: permit and test separators that contain a hyphen
2024-03-23 23:35:40 +01:00
Ulrich Hornung
c62ba559d0
env: support string args by "-S", "-vS" or "--split-strings"
2024-03-19 00:45:05 +01:00
Ben Wiederhake
133cdde885
cksum: implement and test --base64 output method
2024-03-18 20:59:59 +01:00
Sylvestre Ledru
ffb70592ec
Merge pull request #5851 from cre4ture/fix/install_invalid_link_at_destination
...
Fix install: invalid link at destination
2024-03-12 08:02:18 +01:00
Ulrich Hornung
7cd754eb1f
Fix install: invalid link at destination
...
also remove some FixMEs for FreeBsd
2024-03-11 23:31:26 +01:00
Yury Zhytkou
156d3f7ee7
cut: allow non utf8 characters for delimiters ( #6037 )
2024-03-10 22:36:17 +01:00
Sylvestre Ledru
9003e3fbe4
Merge pull request #5869 from cre4ture/feature/simulate_terminal_utility
...
test utilities: easy way to simulate terminal context
2024-03-01 18:13:27 +01:00
Ulrich Hornung
d8b3b41850
added configurable terminal size
2024-02-25 21:47:07 +01:00
Ulrich Hornung
a4d5defeef
simulate terminal utility (squash)
2024-02-25 18:15:15 +01:00
Yury Zhytkou
17174ab986
uniq
: pass remaining GNU tests (#5994 )
2024-02-25 09:45:37 +01:00
D9nni
c7b15ddce9
cksum: fixed cksum --raw --algorithm
2024-01-10 15:04:19 +02: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
D9nni
28b5224725
cksum: fixed test for --raw on single file
2024-01-08 15:50:25 +02:00
Vardhan Patil
e1863ac64e
tests/cksum: test when the --length argument is 0 or >512
2023-12-30 20:14:30 +05:30
Vardhan Patil
09ef150085
tests/cksum: add tests for the length argument
2023-12-30 16:01:22 +05:30
Sylvestre Ledru
1c9413e185
bring back the old format
2023-12-04 22:51:08 +01:00
Sylvestre Ledru
e4b8750434
dircolors -p: generate it dynamically
2023-12-02 15:10:00 +01:00
Yury Zhytkou
c5a0aa92f8
split: implementing separator option ( #5331 )
...
* split: implementing separator option
* split: separator option - handle multiple update
* split: style
* split: separator tests
* split: separator tests - stdin in ci/cd
* split: tests - ci/cd stdin errors
* split: refactor based on feedback
* split: improve test coverage
* split: fix broken pipe error in tests with stdin
* split: fix for handle_multiple_separator_options
* split: comments
* split: refactor separator code
* split: changes based on feedback
* split: changes based on feedback
2023-10-03 00:42:46 +02:00
Leviticoh
b90b59c003
uniq: added support for deprecated -N
option ( #4228 )
2023-09-24 14:44:44 +02:00
Sylvestre Ledru
bfca6bf70f
Add license headers on all files
2023-08-21 10:49:27 +02:00
Jed Denlea
e5b46ea3eb
wc: more tests and fixes
...
My previous commits meant to bring our wc's output and behavior in line
with GNU's. There should be tests that check for these changes!
I found a stupid bug in my own changes, I was not adding 1 to the
indexes produced by .enumerate() when printing errors.
2023-05-22 01:02:35 -07:00
Daniel Hofstetter
690fff2fc9
cksum: implement --untagged
2023-05-14 16:43:14 +02:00
Daniel Hofstetter
0781ad0a65
cksum: fix output of --algorithm
...
for the algorithms md5, sha[1,224,256,384,512], blake2b, and sm3 from
<digest> <filesize> <filename>
to
<algo name> (<filename>) = <digest>
to use the same format as GNU cksum
2023-05-11 14:24:43 +02:00
Daniel Hofstetter
0d782e09c1
comm: implement --zero-terminated
2023-03-01 16:59:51 +01:00
Yang Hau
678a11dcf2
cksum: Implement option -a
...
Implement option -a --algorithm.
Move digest to src/uucore/src/lib/features and rename it to hash.
fix lint
fix Cargo.toml
2023-02-18 20:58:53 +08:00
Daniel Hofstetter
ccf999473c
comm: use delimiter on "total" line
2023-02-07 09:22:55 +01:00
Daniel Hofstetter
b06485990d
comm: implement --total
2023-01-24 16:49:43 +01:00
Daniel Hofstetter
747bc2513e
sum: fix output when using BSD sum algo (-r)
2023-01-13 10:05:09 +01:00
TechHara
f6a0abaee3
add whitespace delimiter option
2022-12-12 12:00:57 -05:00
Andrew Baptist
4922d34177
Match GNU semantics for missing EOF
...
While the rust coreutils semantics were arguably more correct,
they were different than the gnu split semantics when handling a
file without a trailing EOF. This patch addresses that difference
and allows passing one more GNU test suite.
2022-10-07 17:50:26 -04:00
Owen Anderson
08d3da8f6c
Fix a TODO by making conv_block_unblock_helper
consume the input. ( #3787 )
...
* Fix a TODO by making `conv_block_unblock_helper` consume the input.
2022-08-28 10:07:04 +02:00
Daniel Hofstetter
ac35a1b985
comm: use NUL if delimiter is empty
2022-07-06 13:50:23 +02:00
Jan Scheer
8ee806a444
Merge branch 'main' into tail_notify
2022-06-02 16:31:25 +02:00
Daniel Hofstetter
6d82523a99
dircolors: implement --print-ls-colors
2022-05-30 09:11:27 +02:00
Jan Scheer
6bd9a1d537
Merge branch 'main' into tail_notify
2022-05-26 00:33:12 +02:00
Daniel Hofstetter
ba746250fb
dircolors: update internal db
2022-05-24 13:56:15 +02:00
Jan Scheer
409878e323
Merge branch 'main' into tail_notify
2022-05-16 22:45:52 +02:00
Michael Kefeder
83a64f4afe
ptx: escape regular expression character class special chars
2022-04-30 10:01:11 +02:00
Michael Kefeder
994dedd6d9
tests/ptx: added breakfile option tests
2022-04-29 10:15:06 +02:00