Update test-setup.sh to in fact forward signals to its children. It claims to in at least one mode, but actually implicitly relies on the fact that the sandbox does. Second attempt: this accounts for allowing test processes to receive SIGINT if they want to, which is harder than it sounds.
Update test-setup.sh to in fact forward signals to its children. It claims to in at least one mode, but actually implicitly relies on the fact that the sandbox does. Second attempt: this accounts for allowing test processes to receive SIGINT if they want to, which is harder than it sounds.

This is a different variant of the same fix as https://github.com/bazelbuild/bazel/commit/9fe02aa9c7081f5cb6b48a949a054f64f693ae22 , which implicitly relied on someone else to signal child processes. Will it be better, or will it introduce a new corner case? We'll see!

RELNOTES: None.
PiperOrigin-RevId: 303794822

ButterflyNetwork/bazel,dslomov/bazel,perezd/bazel,safarmer/bazel,davidzchen/bazel,bazelbuild/bazel,twitter-forks/bazel,katre/bazel,ulfjack/bazel,dslomov/bazel,safarmer/bazel,twitter-forks/bazel,akira-baruah/bazel,perezd/bazel,werkt/bazel,perezd/bazel,dslomov/bazel,perezd/bazel,werkt/bazel,twitter-forks/bazel,ButterflyNetwork/bazel,bazelbuild/bazel,perezd/bazel,werkt/bazel,dslomov/bazel,katre/bazel,safarmer/bazel,dslomov/bazel,ButterflyNetwork/bazel,katre/bazel,katre/bazel,cushon/bazel,twitter-forks/bazel,dslomov/bazel-windows,ulfjack/bazel,dslomov/bazel,dslomov/bazel-windows,cushon/bazel,davidzchen/bazel,davidzchen/bazel,meteorcloudy/bazel,cushon/bazel,meteorcloudy/bazel,meteorcloudy/bazel,dslomov/bazel-windows,akira-baruah/bazel,werkt/bazel,dslomov/bazel-windows,safarmer/bazel,ulfjack/bazel,ulfjack/bazel,meteorcloudy/bazel,werkt/bazel,meteorcloudy/bazel,safarmer/bazel,davidzchen/bazel,cushon/bazel,dslomov/bazel-windows,safarmer/bazel,meteorcloudy/bazel,cushon/bazel,akira-baruah/bazel,akira-baruah/bazel,akira-baruah/bazel,akira-baruah/bazel,bazelbuild/bazel,bazelbuild/bazel,twitter-forks/bazel,katre/bazel,perezd/bazel,cushon/bazel,twitter-forks/bazel,davidzchen/bazel,ulfjack/bazel,ButterflyNetwork/bazel,davidzchen/bazel,ulfjack/bazel,perezd/bazel,dslomov/bazel,katre/bazel,bazelbuild/bazel,ulfjack/bazel,werkt/bazel,meteorcloudy/bazel,twitter-forks/bazel,ButterflyNetwork/bazel,dslomov/bazel-windows,ButterflyNetwork/bazel,davidzchen/bazel,bazelbuild/bazel