diff options
| author | 许杰友 Jieyou Xu (Joe) <39484203+jieyouxu@users.noreply.github.com> | 2025-01-23 15:43:01 +0800 |
|---|---|---|
| committer | 许杰友 Jieyou Xu (Joe) <39484203+jieyouxu@users.noreply.github.com> | 2025-01-23 20:51:29 +0800 |
| commit | bfc553eb5301ebdc1364cb8f0acbba3d9f9f9da2 (patch) | |
| tree | 17f0621ccc68ae9d50e1f20a5c7955cefad75bd2 | |
| parent | f9addadd716d946ad40fb728a5bb74ab0c1d4da7 (diff) | |
| download | rust-bfc553eb5301ebdc1364cb8f0acbba3d9f9f9da2.tar.gz rust-bfc553eb5301ebdc1364cb8f0acbba3d9f9f9da2.zip | |
tests: cleanup `tests/ui/command/command-exec.rs`
- Remove already stable feature gate and `#![allow(stable_features)]`. - Replace `ignore-windows` with `only-unix`. - Replace `ignore-*` with `needs-subprocess`.
| -rw-r--r-- | tests/ui/command/command-exec.rs | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/tests/ui/command/command-exec.rs b/tests/ui/command/command-exec.rs index d2545b0b472..77336377e88 100644 --- a/tests/ui/command/command-exec.rs +++ b/tests/ui/command/command-exec.rs @@ -1,13 +1,9 @@ //@ run-pass -#![allow(stable_features)] -//@ 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 //@ ignore-fuchsia no execvp syscall provided -#![feature(process_exec)] - use std::env; use std::os::unix::process::CommandExt; use std::process::Command; |
