//! Test runner helpers for simulating CLI binaries.
//!
//! Responsibilities:
//! - Create executable fake runner binaries for tests that need runner output.
//! - Ensure deterministic setup of test runner scripts under a temp directory.
//!
//! Not handled here:
//! - Test orchestration or assertions (handled by individual tests).
//! - Cross-platform runner command semantics beyond basic executable creation.
//!
//! Invariants/assumptions:
//! - Callers provide valid script content compatible with the current platform shell.
//! - Unix permissions are required for executability on Unix platforms.
use ;
use Result;
/// Create a fake runner binary in `dir/bin/<name>` with the provided script contents.
pub