Skip to content
Myr

test: run test_exec_with_separator on Windows when echo is available

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by mrhard9090 · committed by Thayne McCombs · parent e46230b · Browse files · 1 file+5 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Trailers

  • Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

Diff stats

1 file+5 added−1 removed

  • tests:+5 added−1 removed

1 file+5 added−1 removed

modified:tests/tests.rs+5 added-1 removed
2108 unmodified lines
2109 );2110}21112112/// Shell script execution (--exec) with a custom --path-separator2113#[cfg(not(windows))] // Windows has no `echo` executable, only the shell builtin2113#[test]2114fn test_exec_with_separator() {2115 // On Windows, `echo` is only a shell builtin unless an `echo` executable is installed.2116 if cfg!(windows) && std::process::Command::new("echo").output().is_err() {2117 return;2118 }21192120 let (te, abs_path) = get_test_env_with_abs_path(DEFAULT_DIRS, DEFAULT_FILES);2121 te.assert_output(2122 &[2123 "--path-separator=#",
815 unmodified lines