about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2025-02-07 21:31:01 +0100
committerGitHub <noreply@github.com>2025-02-07 21:31:01 +0100
commit8aa6cfbe53577c0769874361bd647b54e12672b5 (patch)
tree6be49e2de2f0e79fc2a867fdf5d0f8ffd461abe6 /compiler/rustc_codegen_gcc
parent7ca0fd18f6c7927de9f50bd3a229967d0c88e9f7 (diff)
parentbdaf7a8fd7b3c670a6a5c506e065fa032432b401 (diff)
downloadrust-8aa6cfbe53577c0769874361bd647b54e12672b5.tar.gz
rust-8aa6cfbe53577c0769874361bd647b54e12672b5.zip
Rollup merge of #136556 - amy-kwan:amy-kwan/update_wait-forked-but-failed-child.rs, r=joboet
[AIX] Update tests/ui/wait-forked-but-failed-child.rs to accomodate exiting and idle processes.

The `wait-forked-but-failed-child.rs` test expects to see an integer PPID in the
output of the command: `ps -A -o pid,ppid,args`.

However, on AIX, sometimes an integer PPID is not available when a process is
either exiting or idle, as documented in https://www.ibm.com/docs/en/aix/7.3?topic=p-ps-command.
In these situations, a `-` is instead shown in the PPID column of the `ps` output.

This PR updates the test to accommodate this behaviour on AIX by first filtering out the
lines of the `ps` output where a `-` is found in the `PPID` column.
Diffstat (limited to 'compiler/rustc_codegen_gcc')
0 files changed, 0 insertions, 0 deletions