Skip to content

Commit

Permalink
tests: cleanup tests/ui/command/command-exec.rs
Browse files Browse the repository at this point in the history
- Remove already stable feature gate and `#![allow(stable_features)]`.
- Replace `ignore-windows` with `only-unix`.
- Replace `ignore-*` with `needs-subprocess`.
  • Loading branch information
jieyouxu committed Jan 23, 2025
1 parent f9addad commit bfc553e
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions tests/ui/command/command-exec.rs
Original file line number Diff line number Diff line change
@@ -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;
Expand Down

0 comments on commit bfc553e

Please sign in to comment.