Merge pull request #7881 from alexs-sh/7736-control-flow-experiments

uucore/echo:handle ControlFlow result
This commit is contained in:
Alexander
2025-05-05 00:33:51 +02:00
committed by GitHub
parent 13c0a813eb
commit 7d5cfbc4b6
3 changed files with 16 additions and 6 deletions
+9
View File
@@ -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");
}