summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xtests.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests.sh b/tests.sh
index 9f95117..a2b1681 100755
--- a/tests.sh
+++ b/tests.sh
@@ -440,7 +440,7 @@ function closefrom() {
fi
fd="${fd##*/}"
- if [ "$fd" -gt "$1" ]; then
+ if [ "$fd" -ge "$1" ]; then
eval "exec ${fd}<&-"
fi
done
@@ -1173,14 +1173,14 @@ function test_colors() {
}
function test_deep() {
- closefrom 2
+ closefrom 3
ulimit -n 8
bfs_diff deep -mindepth 18
}
function test_deep_strict() {
- closefrom 2
+ closefrom 3
# Not even enough fds to keep the root open
ulimit -n 6