From 3b387d81e63893ed3fe3b45e3721fbcfb1c5dde0 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Wed, 19 Oct 2022 10:29:05 -0400 Subject: tests: Split test cases into separate files --- tests/gnu/ignore_readdir_race.sh | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 tests/gnu/ignore_readdir_race.sh (limited to 'tests/gnu/ignore_readdir_race.sh') 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" {} \; -- cgit v1.2.3