mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-31 13:07:46 +00:00
Revert "rmdir: match GNU error output"
This commit is contained in:
parent
dfdd627763
commit
3913731222
2 changed files with 0 additions and 23 deletions
|
@ -108,19 +108,3 @@ fn test_rmdir_ignore_nonempty_directory_with_parents() {
|
|||
|
||||
assert!(at.dir_exists(dir));
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_rmdir_remove_symlink_match_gnu_error() {
|
||||
let (at, mut ucmd) = at_and_ucmd!();
|
||||
|
||||
let file = "file";
|
||||
let fl = "fl";
|
||||
at.touch(file);
|
||||
assert!(at.file_exists(file));
|
||||
at.symlink_file(file, fl);
|
||||
assert!(at.file_exists(fl));
|
||||
|
||||
ucmd.arg("fl/")
|
||||
.fails()
|
||||
.stderr_is("rmdir: failed to remove 'fl/': Not a directory");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue