mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 03:27:44 +00:00
Merge pull request #7881 from alexs-sh/7736-control-flow-experiments
uucore/echo:handle ControlFlow result
This commit is contained in:
parent
13c0a813eb
commit
7d5cfbc4b6
3 changed files with 16 additions and 6 deletions
|
@ -762,3 +762,12 @@ fn test_uchild_when_run_no_wait_with_a_non_blocking_util() {
|
|||
// we should be able to call wait without panics and apply some assertions
|
||||
child.wait().unwrap().code_is(0).no_stdout().no_stderr();
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_escape_sequence_ctrl_c() {
|
||||
new_ucmd!()
|
||||
.args(&["-e", "show\\c123"])
|
||||
.run()
|
||||
.success()
|
||||
.stdout_only("show");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue