mirror of
https://github.com/farion1231/cc-switch.git
synced 2026-08-04 03:32:25 +08:00
test(pi): make Windows job fixture exit successfully
This commit is contained in:
@@ -1336,7 +1336,7 @@ mod tests {
|
||||
let started = Instant::now();
|
||||
for _ in 0..8 {
|
||||
let output = execute_config_command(
|
||||
"start \"\" /b cmd /D /S /C \"ping 127.0.0.1 -n 30 >nul\" & <nul set /p =ready",
|
||||
"start \"\" /b cmd /D /S /C \"ping 127.0.0.1 -n 30 >nul\" & <nul set /p =ready & exit /b 0",
|
||||
)
|
||||
.expect("command output");
|
||||
assert_eq!(output, "ready");
|
||||
|
||||
Reference in New Issue
Block a user