mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 03:27:44 +00:00
dd: custom positional argument parsing
This commit is contained in:
parent
7b4dcc3748
commit
e377e4f046
7 changed files with 1012 additions and 1636 deletions
|
@ -90,16 +90,16 @@ fn test_ls_allocation_size() {
|
|||
// fill empty file with zeros
|
||||
scene
|
||||
.ccmd("dd")
|
||||
.arg("--if=/dev/zero")
|
||||
.arg("--of=some-dir1/zero-file")
|
||||
.arg("if=/dev/zero")
|
||||
.arg("of=some-dir1/zero-file")
|
||||
.arg("bs=1024")
|
||||
.arg("count=4096")
|
||||
.succeeds();
|
||||
|
||||
scene
|
||||
.ccmd("dd")
|
||||
.arg("--if=/dev/zero")
|
||||
.arg("--of=irregular-file")
|
||||
.arg("if=/dev/zero")
|
||||
.arg("of=irregular-file")
|
||||
.arg("bs=1")
|
||||
.arg("count=777")
|
||||
.succeeds();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue