mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 11:37:44 +00:00
* Fix missing dependency to "process" to make it compile. * fix issue of not forwarding stdout from strip program * fix issue of applying "./" redundantly * cargo fmt
This commit is contained in:
parent
55b7b2fcb5
commit
dc533a915a
3 changed files with 24 additions and 14 deletions
|
@ -699,7 +699,20 @@ fn test_install_and_strip_with_program_hyphen() {
|
|||
.arg("src")
|
||||
.arg("-dest")
|
||||
.succeeds()
|
||||
.no_stderr();
|
||||
.no_stderr()
|
||||
.stdout_is("./-dest\n");
|
||||
|
||||
scene
|
||||
.ucmd()
|
||||
.arg("-s")
|
||||
.arg("--strip-program")
|
||||
.arg("./no-hyphen")
|
||||
.arg("--")
|
||||
.arg("src")
|
||||
.arg("./-dest")
|
||||
.succeeds()
|
||||
.no_stderr()
|
||||
.stdout_is("./-dest\n");
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue