diff options
Diffstat (limited to 'tests/gnu/ignore_readdir_race.sh')
-rw-r--r-- | tests/gnu/ignore_readdir_race.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/gnu/ignore_readdir_race.sh b/tests/gnu/ignore_readdir_race.sh new file mode 100644 index 0000000..429933c --- /dev/null +++ b/tests/gnu/ignore_readdir_race.sh @@ -0,0 +1,5 @@ +rm -rf scratch/* +$TOUCH scratch/{foo,bar} + +# -links 1 forces a stat() call, which will fail for the second file +invoke_bfs scratch -mindepth 1 -ignore_readdir_race -links 1 -exec "$TESTS/remove-sibling.sh" {} \; |