summaryrefslogtreecommitdiff
path: root/test/test_unistd.rs
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2020-07-25 19:09:27 +0000
committerGitHub <noreply@github.com>2020-07-25 19:09:27 +0000
commit57b6bd77002830526b1a8160d7c499584d2d2a8b (patch)
treeb1c705bba74c60decab3dad71067a9768f2943df /test/test_unistd.rs
parentb1ba07447315df4cd7b414410e793b17e6c722a7 (diff)
parentec05dd7f5aaffb9a8d807ccfc8bff6f376923e95 (diff)
downloadnix-57b6bd77002830526b1a8160d7c499584d2d2a8b.zip
Merge #1224
1224: Update the Linux CI environment to Ubuntu Bionic r=asomers a=asomers Co-authored-by: Alan Somers <asomers@gmail.com> Co-authored-by: Alan Somers <asomers@axcient.com>
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 da677287..8fe1d432 100644
--- a/test/test_unistd.rs
+++ b/test/test_unistd.rs
@@ -936,7 +936,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