rust/tests/ui/process
jyn fff8503613
Rollup merge of #109379 - flba-eb:108596_fixtest_sigpipe, r=jyn514
Replace `yes` command by `while-echo` in test `tests/ui/process/process-sigpipe.rs`

The `yes` command is not available on all platforms.

Fixes #108596.

Inviting `@mvf` as he contributed to this patch. Thanks! This issue has been discussed in https://github.com/rust-lang/rust/pull/106673 but was moved to #108596 to get going.

CC `@gh-tr`

r? `@workingjubilee`
`@rustbot` label +O-neutrino

Notes about the comments https://github.com/rust-lang/rust/pull/106673#discussion_r1117324265:
- The `echo` command is `/proc/boot/echo` (not built-in)
- `/bin/sh` is a symlink to `/proc/boot/ksh`
```sh
# ls -l /bin/sh /proc/boot/ksh /proc/boot/echo
lrwxrwxrwx   1 root      root             14 Mar 20 07:52 /bin/sh -> /proc/boot/ksh
-r-xr-xr-x   1 root      root           9390 Sep 12  2022 /proc/boot/echo
-r-xr-xr-x   1 root      root         308114 Sep 12  2022 /proc/boot/ksh
```
2023-04-26 01:55:50 -05:00
..
core-run-destroy.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
fds-are-cloexec.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-13304.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-14456.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-14940.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-16272.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-20091.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
multi-panic.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
no-stdio.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
nofile-limit.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
process-envs.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
process-exit.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
process-panic-after-fork.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
process-remove-from-env.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
process-sigpipe.rs Replace yes command by while-echo 2023-03-20 08:35:17 +01:00
process-spawn-nonexistent.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
process-spawn-with-unicode-params.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
process-status-inherits-stdin.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
signal-exit-status.rs Raise an aborting signal without UB 2023-03-28 21:37:15 -04:00
sigpipe-should-be-ignored.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
tls-exit-status.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
try-wait.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00