summaryrefslogtreecommitdiff
path: root/test/test_unistd.rs
diff options
context:
space:
mode:
authorAlan Somers <asomers@gmail.com>2020-05-02 14:03:28 -0600
committerAlan Somers <asomers@gmail.com>2020-07-03 10:47:29 -0600
commitd970e8e4b2825c4474ca92e7af85b8f54388b10d (patch)
treec55b0a55ee5dbdc7f44bac928dd0da13829e4559 /test/test_unistd.rs
parentc18b1d03f0c4bebbbfa8556d97f37972beb92f92 (diff)
downloadnix-d970e8e4b2825c4474ca92e7af85b8f54388b10d.zip
Factor out common code from the various skip macros
Diffstat (limited to 'test/test_unistd.rs')
-rw-r--r--test/test_unistd.rs2
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