mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 11:37:44 +00:00
fixes conv=nocreat test failure
This commit is contained in:
parent
96f93488ef
commit
74e0071cfe
3 changed files with 6 additions and 12 deletions
|
@ -268,11 +268,10 @@ fn test_nocreat_causes_failure_when_outfile_not_present() {
|
|||
assert_fixture_not_exists!(&fname);
|
||||
|
||||
let (fix, mut ucmd) = at_and_ucmd!();
|
||||
ucmd.args(&["conv=nocreat", of!(&fname)]).pipe_in("").run();
|
||||
ucmd.args(&["conv=nocreat", of!(&fname)]).pipe_in("").fails().stderr_is("dd Error: No such file or directory (os error 2)");
|
||||
|
||||
assert!(!fix.file_exists(&fname));
|
||||
|
||||
ucmd.fails();
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue