diff options
Diffstat (limited to 'internal/syscallcompat')
-rw-r--r-- | internal/syscallcompat/getdents_test.go | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/internal/syscallcompat/getdents_test.go b/internal/syscallcompat/getdents_test.go index f0b1e60..8f2bd09 100644 --- a/internal/syscallcompat/getdents_test.go +++ b/internal/syscallcompat/getdents_test.go @@ -25,9 +25,10 @@ func TestGetdents(t *testing.T) { t.Fatal(err) } } - // "/", "/dev" and "/proc" are good test cases because they contain many - // different file types (block and char devices, symlinks, mountpoints) - dirs := []string{testDir, "/", "/dev", "/proc"} + // "/", "/dev" and "/proc/self" are good test cases because they contain + // many different file types (block and char devices, symlinks, + // mountpoints). + dirs := []string{testDir, "/", "/dev", "/proc/self"} for _, dir := range dirs { // Read directory using stdlib Readdir() fd, err := os.Open(dir) |