Skip to content

Commit 6ae6e2e

Browse files
committed
Move the seals tests from io to fs.
1 parent c8339a6 commit 6ae6e2e

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

tests/fs/main.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ mod openat2;
3535
mod readdir;
3636
mod readlinkat;
3737
mod renameat;
38+
#[cfg(any(linux_kernel, target_os = "freebsd"))]
39+
mod seals;
3840
#[cfg(not(any(target_os = "haiku", target_os = "redox", target_os = "wasi")))]
3941
mod statfs;
4042
#[cfg(linux_kernel)]

tests/io/seals.rs renamed to tests/fs/seals.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#[cfg(feature = "fs")]
21
#[test]
32
fn test_seals() {
43
use rustix::fs::{

tests/io/main.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,3 @@ mod procfs;
2626
#[cfg(not(target_os = "redox"))] // redox doesn't have cwd/openat
2727
#[cfg(not(target_os = "wasi"))] // wasi support for `S_IRUSR` etc. submitted to libc in #2264
2828
mod read_write;
29-
#[cfg(any(linux_kernel, target_os = "freebsd"))]
30-
mod seals;

0 commit comments

Comments
 (0)