summaryrefslogtreecommitdiffstats
path: root/tests/by-util/test_ls.rs
AgeCommit message (Collapse)Author
5 daystests: fix warnings on OpenBSD for unused imports in by-util/test_*Laurent Cheylus
Signed-off-by: Laurent Cheylus <foxy@free.fr>
5 daystests: disable failed tests for ls on OpenBSDLaurent Cheylus
Signed-off-by: Laurent Cheylus <foxy@free.fr>
6 daysMerge pull request #6528 from sylvestre/cfDaniel Hofstetter
ls: when -CF is passed, use a tab. closes: #5396
6 daysls: fixed dired option (-D) not outputting datetime and parent dir byte ↵Pyokyeong Son
offsets (#6538) Closes #6522
6 daysls: fix error sub dir output (#6521)Mengsheng Wu
Closes #6492
7 daysls: when -CF is passed, use a tab. closes: #5396Sylvestre Ledru
9 daysls: add testn4n5
11 daysMerge pull request #6505 from Its-Just-Nans/fix-clippy-errorsSylvestre Ledru
Fix clippy errors
11 daysfix clippy testsn4n5
12 daysls: gnu `color-clear-to-eol` fix (#6507)sreehari prasad
--------- Co-authored-by: Sylvestre Ledru <sylvestre@debian.org>
2024-06-24ls: gnu `color-norm` test fix (#6481)sreehari prasad
2024-06-24ls: If we have --dired --hyperlink, we don't show dired but we still want to ↵Sylvestre Ledru
see the long format Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
2024-06-23ls: --format will override the --dired optionSylvestre Ledru
Closes: #6488 Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
2024-06-22ls --dired: v9.5 --hyperlink is ignored if passed firstSylvestre Ledru
Manages cases like: $ ls -R --dired --hyperlink a2 will show hyperlink $ ls -R --hyperlink --dired a2 won't
2024-06-21ls --dired: v9.5 automatically set --format=longSylvestre Ledru
2024-05-25tests: fix some clippy warningsSylvestre Ledru
2024-05-15ls: Fix quoting alignmentDorian Péron
2024-05-15tests(ls): Test space alignment when quoting is involved on grid outputDorian Péron
2024-05-15tests(ls): Test default quoting style on TTY outputDorian Péron
2024-05-11Fix ls: panicking on dangling symlink with --color=auto -l (#6346)Anirban Halder
* Fixed unwrap being called on dereferenced dangling symlink * Added test * Switched to regex matching in test * Remove unnecessary mkdir call * Modified documentation of the test and added assertion of the colors * Fixed a typo
2024-04-30ls+tests: remove unused spell-checker:disableBen Wiederhake
2024-04-14ls: accept shortcuts for stringly-enum argumentsBen Wiederhake
2024-04-01ls: fix exit code for --time-style when usedBen Wiederhake
2024-04-01ls: compute correct exit code on errorBen Wiederhake
Note in particular that this seems to be the only tool where invalid stringly-enum values cause a different exit code than invalid arguments.
2024-03-23apply different reference sizes for f2fs (android) caseUlrich Hornung
2024-02-05Fix errors reported by new version of cspellDaniel Hofstetter
2024-01-14ls: if acl are used, show the + in the perms (#5816)Sylvestre Ledru
* 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-05fix: cargo fmt + fix spelling mistakeDorian Péron
2024-01-05tests/ls: Add tests to ensure env var is used as a last resortDorian Péron
2023-12-28clippy: fix warnings introduced by Rust 1.75Daniel Hofstetter
2023-12-24ls: set correct block size when -k is providedDaniel Hofstetter
2023-12-22ls: introduce 2nd blocksize & fix todos in testsDaniel Hofstetter
2023-12-19ls: recognize BLOCKSIZE env varDaniel Hofstetter
2023-12-19ls: ignore invalid block size from env varsDaniel Hofstetter
2023-12-18ls: support hyperlinks for dir namesDaniel Hofstetter
2023-12-18Merge pull request #5629 from cakebaker/ls_hyperlink_encodeSylvestre Ledru
ls: encode path when using --hyperlink
2023-12-16ls: manages the COLOR and COLORTERM variablesSylvestre Ledru
Should fix GNU tests/ls/color-term.sh
2023-12-12ls: enable "args override self"Daniel Hofstetter
2023-12-12ls: encode path when using --hyperlinkDaniel Hofstetter
2023-12-11ls: make --block-size and --human-readable/--siDaniel Hofstetter
override each other
2023-12-11Merge pull request #5626 from cakebaker/ls_invalid_block_sizeSylvestre Ledru
ls: handle invalid block size as GNU does
2023-12-10ls: set default quoting style to literal when not TTY (#5553)Dorian Péron
* ls: set default quoting style to literal if output is not TTY * tests/ls: Fix quoting tests that now run with Literal as default * ls: Fix formatting/linting/spelling issues * tests/ls: Fix windows escaped tests
2023-12-09Add mdir to the spell ignoreSylvestre Ledru
2023-12-09address review commentsSylvestre Ledru
2023-12-09ls colors: create a stylemanager to carry the previous style to know if we ↵Sylvestre Ledru
need to reset or not
2023-12-09ls: use the gnu_legacy feature from lscolorsSylvestre Ledru
2023-12-08ls: handle invalid block size as GNU doesDaniel Hofstetter
2023-12-07ls: implement --hyperlinkDaniel Hofstetter
2023-12-03ls: ignore value of POSIXLY_CORRECTDaniel Hofstetter
2023-11-30ls: fix padding of size column when using -lDaniel Hofstetter