Commit Graph
11 Commits
Author SHA1 Message Date
oech3andGitHub c6b8a81f74 ls,dir,vdir: protect names against argv[0] (#11371) 2026-03-18 00:37:22 +01:00
Fan MoandGitHub da4d846b63 dir: add "about" and "usage" instead of being "ls" (#10369)
* fix: add "about" and "usage" for dir and vdir

* fix import

* revert changes on vdir. focus on dir first

* revert import on vdir

* add test

* Update en-US.ftl

* fix fmt

* revert vdir

* precommit
2026-01-20 11:55:17 +01:00
Sylvestre LedruandDaniel Hofstetter 23f3551e1c clap/locale: fix the colors for all programs (Closes: #8501)
Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
2025-09-05 08:25:59 +02:00
Sylvestre Ledru a0179ea239 uutests: adjust the tests to use them 2025-03-28 21:40:31 +01:00
Sylvestre Ledru bfca6bf70f Add license headers on all files 2023-08-21 10:49:27 +02:00
Daniel Hofstetter 7a888da409 tests: remove all "extern crate" statements 2023-04-10 08:31:31 +02:00
Daniel Hofstetter 6988eb7ec6 tests: expand wildcard imports 2023-03-20 15:32:35 +01:00
Joining7943andGitHub f610f33aa7 tests/util: Don't trim output in CmdResult::stdout_matches and stdout_does_not_match (#4304)
* tests/util: Fix documentation of UCommand::stderr_only and usage_error

* tests/util: Remove trimming from CmdResult::stdout_matches and stdout_does_not_match. Fix tests.

The tests are fixed to match the trailing newline instead of ignoring it.
2023-02-16 15:33:33 +01:00
Niyaz Nigmatullin 306272bf60 unix_sockets is deprecated, use std::os::unix::net instead 2022-08-20 17:02:29 +03:00
Terts Diepraam 95ba8c45b2 dir, vdir: fix incorrect regex in tests 2022-05-01 13:48:51 +02:00
gmnsiiandGitHub c2e214bd99 Add dir and vdir utils (based on ls)
Fix issue #3163

They are basically ls with some different options.
2022-04-15 17:30:40 +02:00