radicle-heartwood-lfs/crates/radicle-cli
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
..
examples treewide: radicle.{xyz → dev,network} 2026-04-27 18:34:30 +02:00
src treewide: Avoid `git2::Oid::zero` 2026-04-28 14:35:38 +02:00
tests cli/test: Add broken pipe (SIGPIPE) tests 2026-04-29 10:57:24 +02:00
CHANGELOG.md cli: Update to 0.20.0 2026-03-26 15:32:43 +00:00
Cargo.toml I2P Support 2026-04-15 12:01:50 +01:00
build.rs repo: Move workspace crates into `crates` subdirectory 2025-06-09 15:09:21 +02:00