summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/posix/nogroup_ulimit.sh7
-rw-r--r--tests/posix/nouser_ulimit.sh6
2 files changed, 11 insertions, 2 deletions
diff --git a/tests/posix/nogroup_ulimit.sh b/tests/posix/nogroup_ulimit.sh
index e7231d9..8f758c4 100644
--- a/tests/posix/nogroup_ulimit.sh
+++ b/tests/posix/nogroup_ulimit.sh
@@ -1,3 +1,8 @@
closefrom 4
ulimit -n 16
-bfs_diff deep -nogroup
+
+# -mindepth 18, but POSIX
+path="*/*/*/*/*/*"
+path="$path/$path/$path"
+bfs_diff deep -path "deep/$path" -nogroup
+
diff --git a/tests/posix/nouser_ulimit.sh b/tests/posix/nouser_ulimit.sh
index 1d0dd65..2777589 100644
--- a/tests/posix/nouser_ulimit.sh
+++ b/tests/posix/nouser_ulimit.sh
@@ -1,3 +1,7 @@
closefrom 4
ulimit -n 16
-bfs_diff deep -nouser
+
+# -mindepth 18, but POSIX
+path="*/*/*/*/*/*"
+path="$path/$path/$path"
+bfs_diff deep -path "deep/$path" -nouser