-
-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests/gnu: Add an -ignore_readdir_race test for removed directories
- Loading branch information
1 parent
a8295ac
commit 35d3012
Showing
2 changed files
with
7 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
./bar | ||
./foo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
cd "$TEST" | ||
"$XTOUCH" -p foo/ bar/ | ||
|
||
# Check that -ignore_readdir_race suppresses errors from opendir() | ||
bfs_diff . -ignore_readdir_race -mindepth 1 -print -name foo -exec rmdir {} \; |