summaryrefslogtreecommitdiffstats
path: root/tests/posix/nouser_ulimit.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/posix/nouser_ulimit.sh')
-rw-r--r--tests/posix/nouser_ulimit.sh9
1 files changed, 2 insertions, 7 deletions
diff --git a/tests/posix/nouser_ulimit.sh b/tests/posix/nouser_ulimit.sh
index 2777589..a94b8c5 100644
--- a/tests/posix/nouser_ulimit.sh
+++ b/tests/posix/nouser_ulimit.sh
@@ -1,7 +1,2 @@
-closefrom 4
-ulimit -n 16
-
-# -mindepth 18, but POSIX
-path="*/*/*/*/*/*"
-path="$path/$path/$path"
-bfs_diff deep -path "deep/$path" -nouser
+ulimit -n $((NOPENFD + 13))
+bfs_diff deep -type f -nouser