Skip to content

Commit 287f7c2

Browse files
committed
Add a test to show what FIFO does to the dirwalk.
1 parent e6199a5 commit 287f7c2

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

gix-dir/tests/dir/walk.rs

+10
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,16 @@ use gix_dir::walk::EmissionMode::*;
1818
use gix_dir::walk::ForDeletionMode;
1919
use gix_ignore::Kind::*;
2020

21+
#[test]
22+
#[cfg(unix)]
23+
fn root_is_fifo() {
24+
let root = fixture_in("fifo", "top-level");
25+
}
26+
27+
#[test]
28+
#[cfg(unix)]
29+
fn fifo_in_traversal() {}
30+
2131
#[test]
2232
fn symlink_to_dir_can_be_excluded() -> crate::Result {
2333
let root = fixture_in("many-symlinks", "excluded-symlinks-to-dir");

0 commit comments

Comments
 (0)