1
Fork 0

tests: cleanup tests/ui/command/command-argv0.rs

- Convert `ignore-windows` to `only-unix`.
- Convert `ignore-*` to `needs-subprocess`.
This commit is contained in:
许杰友 Jieyou Xu (Joe) 2025-01-23 15:41:35 +08:00
parent 5f63f2dac9
commit f9addadd71

View file

@ -1,8 +1,7 @@
//@ run-pass
//@ ignore-windows - this is a unix-specific test
//@ ignore-wasm32 no processes
//@ ignore-sgx no processes
//@ only-unix (this is a unix-specific test)
//@ needs-subprocess
use std::env;
use std::os::unix::process::CommandExt;
use std::process::Command;