mirror of
https://github.com/uutils/coreutils.git
synced 2026-06-10 15:48:22 -07:00
tests/pathchk: test empty path
This commit is contained in:
@@ -19,8 +19,10 @@ fn test_default_mode() {
|
||||
// accept non-portable chars
|
||||
new_ucmd!().args(&["dir#/$file"]).succeeds().no_stdout();
|
||||
|
||||
// accept empty path
|
||||
new_ucmd!().args(&[""]).succeeds().no_stdout();
|
||||
// fail on empty path
|
||||
new_ucmd!().args(&[""]).fails().no_stdout();
|
||||
|
||||
new_ucmd!().args(&["", ""]).fails().no_stdout();
|
||||
|
||||
// fail on long path
|
||||
new_ucmd!()
|
||||
|
||||
Reference in New Issue
Block a user