mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 11:37:44 +00:00
echo: write using locked stdout
This commit is contained in:
parent
23f6dbf2d3
commit
42794e9f11
2 changed files with 51 additions and 14 deletions
|
@ -63,6 +63,11 @@ fn test_escape_one_slash() {
|
|||
new_ucmd!().args(&["-e", "foo\\ bar"]).succeeds().stdout_only("foo\\ bar");
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_escape_one_slash_multi() {
|
||||
new_ucmd!().args(&["-e", "foo\\", "bar"]).succeeds().stdout_only("foo\\ bar");
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_escape_newline() {
|
||||
new_ucmd!().args(&["-e", "\\na"]).succeeds().stdout_only("\na\n");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue