radicle-heartwood-lfs/crates
Fintan Halpenny 8f4b90db7b cli/test: Add broken pipe (SIGPIPE) tests
Add tests that verify the `rad` binary does not panic when its stdout
is a broken pipe (e.g., `rad config | head -1`).

Rust (since 1.62) ignores SIGPIPE by default (see [Rust #62569]),
causing `println!` to panic with "failed printing to stdout: Broken
pipe" instead of exiting silently. This is the standard Unix behaviour
expected of CLI tools.

These tests currently fail on `rad config` and `rad self`, and are set to `ignore`, to be enabled when fixed.

[Rust #62569]: https://github.com/rust-lang/rust/issues/62569
2026-04-29 10:57:24 +02:00
..
radicle treewide/test: Use `impl Arbitrary for Oid` 2026-04-28 14:35:38 +02:00
radicle-cli cli/test: Add broken pipe (SIGPIPE) tests 2026-04-29 10:57:24 +02:00
radicle-cli-test clippy: Disallow lints `collapsible_*` 2026-04-15 10:06:05 +02:00
radicle-cob clippy: Deny `unwrap_used` 2026-04-15 10:06:05 +02:00
radicle-core treewide/test: Use `impl Arbitrary for Oid` 2026-04-28 14:35:38 +02:00
radicle-crypto cargo: Update `cyphernet` from 0.5.2 to 0.5.3 2026-04-15 11:59:15 +01:00
radicle-dag repo: Move workspace crates into `crates` subdirectory 2025-06-09 15:09:21 +02:00
radicle-fetch treewide: Avoid `git2::Oid::zero` 2026-04-28 14:35:38 +02:00
radicle-git-metadata rust/edition/fmt: 2021 → 2024 2026-03-30 16:57:51 +02:00
radicle-git-ref-format git-ref-format: New crate 2025-10-13 13:34:15 +02:00
radicle-localtime localtime: add description in Cargo.toml 2026-02-20 13:48:14 +00:00
radicle-node oid: `const ZERO_SHA1` instead of `fn sha1_zero` 2026-04-28 14:35:38 +02:00
radicle-oid oid: Fix `impl Arbitrary for Oid` 2026-04-28 14:35:38 +02:00
radicle-protocol treewide/test: Use `impl Arbitrary for Oid` 2026-04-28 14:35:38 +02:00
radicle-remote-helper Spell "Radicle" with a captial R 2026-04-17 17:15:31 +01:00
radicle-schemars schemars: Update to 0.7.0 2026-03-26 15:32:50 +00:00
radicle-signals rust/edition/fmt: 2021 → 2024 2026-03-30 16:57:51 +02:00
radicle-systemd rust/edition/fmt: 2021 → 2024 2026-03-30 16:57:51 +02:00
radicle-term Spell "Radicle" with a captial R 2026-04-17 17:15:31 +01:00
radicle-windows rust/edition/fmt: 2021 → 2024 2026-03-30 16:57:51 +02:00