mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-09-16 19:56:17 +00:00
dd: return UResult from uumain() function (#2792)
* dd: return UResult from uumain() function * fixup! dd: return UResult from uumain() function
This commit is contained in:
parent
645eea0c09
commit
3f18b98c9d
4 changed files with 84 additions and 93 deletions
|
@ -262,7 +262,9 @@ fn test_nocreat_causes_failure_when_outfile_not_present() {
|
|||
ucmd.args(&["conv=nocreat", of!(&fname)])
|
||||
.pipe_in("")
|
||||
.fails()
|
||||
.stderr_is("dd Error: No such file or directory (os error 2)");
|
||||
.stderr_only(
|
||||
"dd: failed to open 'this-file-does-not-exist.txt': No such file or directory",
|
||||
);
|
||||
assert!(!fix.file_exists(fname));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue