about summary refs log tree commit diff
path: root/compiler/rustc_interface/src
diff options
context:
space:
mode:
authorjyn <github@jyn.dev>2023-04-26 01:55:50 -0500
committerGitHub <noreply@github.com>2023-04-26 01:55:50 -0500
commitfff8503613996705ed0fe48100d54a17e6fc9eb1 (patch)
treea5528b42a81ecc63c18608ccd6f0f122c07c0649 /compiler/rustc_interface/src
parentab7e01e8b6683c172312a1b4dc20668ad5375ef5 (diff)
parent3970793579f39d7610df1936c4ca996062e99c92 (diff)
downloadrust-fff8503613996705ed0fe48100d54a17e6fc9eb1.tar.gz
rust-fff8503613996705ed0fe48100d54a17e6fc9eb1.zip
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
```
Diffstat (limited to 'compiler/rustc_interface/src')
0 files changed, 0 insertions, 0 deletions