Pipeline Fixes & Tests (#665)
Found some issues with pipeline execution logic, foreground job control, and background job control, and so I've fixed them and added a new integration test. The following use cases are now working: ``` echo foo | grep foo && echo found foo echo foo | grep bar || echo did not find bar echo test | grep test && echo found test | cat ```
Showing
- examples/pipelines.ion 6 additions, 0 deletionsexamples/pipelines.ion
- examples/pipelines.out 8 additions, 0 deletionsexamples/pipelines.out
- src/lib/shell/mod.rs 3 additions, 1 deletionsrc/lib/shell/mod.rs
- src/lib/shell/pipe_exec/mod.rs 103 additions, 107 deletionssrc/lib/shell/pipe_exec/mod.rs
- src/lib/sys/unix/job_control.rs 36 additions, 34 deletionssrc/lib/sys/unix/job_control.rs
- src/lib/sys/unix/mod.rs 18 additions, 7 deletionssrc/lib/sys/unix/mod.rs
Loading
Please register or sign in to comment