Skip to content

Commit 70aa4cc

Browse files
committed
tests: cleanup tests/ui/command/command-setgroups.rs
- Use `only-unix` instead of `ignore-windows`. - Replace `ignore-*` with `needs-subprocess`.
1 parent cc0c81d commit 70aa4cc

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

tests/ui/command/command-setgroups.rs

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
//@ run-pass
2-
//@ ignore-windows - this is a unix-specific test
3-
//@ ignore-wasm32
4-
//@ ignore-sgx
2+
//@ only-unix (this is a unix-specific test)
53
//@ ignore-musl - returns dummy result for _SC_NGROUPS_MAX
64
//@ ignore-nto - does not have `/bin/id`, expects groups to be i32 (not u32)
5+
//@ needs-subprocess
76

87
#![feature(rustc_private)]
98
#![feature(setgroups)]

0 commit comments

Comments
 (0)