diff options
author | Alan Somers <asomers@gmail.com> | 2020-05-02 14:03:28 -0600 |
---|---|---|
committer | Alan Somers <asomers@gmail.com> | 2020-07-03 10:47:29 -0600 |
commit | d970e8e4b2825c4474ca92e7af85b8f54388b10d (patch) | |
tree | c55b0a55ee5dbdc7f44bac928dd0da13829e4559 /test/test_unistd.rs | |
parent | c18b1d03f0c4bebbbfa8556d97f37972beb92f92 (diff) | |
download | nix-d970e8e4b2825c4474ca92e7af85b8f54388b10d.zip |
Factor out common code from the various skip macros
Diffstat (limited to 'test/test_unistd.rs')
-rw-r--r-- | test/test_unistd.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_unistd.rs b/test/test_unistd.rs index 24ed2e56..d44cb067 100644 --- a/test/test_unistd.rs +++ b/test/test_unistd.rs @@ -932,7 +932,7 @@ fn test_access_file_exists() { #[test] fn test_setfsuid() { use std::os::unix::fs::PermissionsExt; - use std::{fs, thread}; + use std::{fs, io, thread}; require_capability!(CAP_SETUID); // get the UID of the "nobody" user |