Skip to content

Commit bfc553e

Browse files
committed
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`.
1 parent f9addad commit bfc553e

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

tests/ui/command/command-exec.rs

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,9 @@
11
//@ run-pass
22

3-
#![allow(stable_features)]
4-
//@ ignore-windows - this is a unix-specific test
5-
//@ ignore-wasm32 no processes
6-
//@ ignore-sgx no processes
3+
//@ only-unix (this is a unix-specific test)
4+
//@ needs-subprocess
75
//@ ignore-fuchsia no execvp syscall provided
86

9-
#![feature(process_exec)]
10-
117
use std::env;
128
use std::os::unix::process::CommandExt;
139
use std::process::Command;

0 commit comments

Comments
 (0)