Skip to content

Commit dca2c36

Browse files
committed
no-mistakes: apply CI fixes
1 parent ca43143 commit dca2c36

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

tests/fm-checkout-return-boundary.test.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -176,16 +176,16 @@ import os
176176
import sys
177177
178178
root = sys.argv[1]
179-
for index in range(41701):
179+
for index in range(42001):
180180
os.mkdir(os.path.join(root, f"directory-{index:05d}"))
181181
deep = os.path.join(root, "deep")
182182
os.mkdir(deep)
183-
for _ in range(300):
183+
for _ in range(130):
184184
deep = os.path.join(deep, "d")
185185
os.mkdir(deep)
186186
PY
187187
then
188-
fail "could not generate the 42,002-directory capacity fixture"
188+
fail "could not generate the greater-than-42,000-directory capacity fixture"
189189
fi
190190
fakebin=$(fm_fakebin "$case_dir/fake")
191191
cat > "$fakebin/treehouse" <<'SH'
@@ -207,8 +207,8 @@ SH
207207
PATH="$fakebin:$PATH" python3 "$BOUNDARY_PY" "$worktree" "$project"
208208
) >/dev/null 2>&1
209209
status=$?
210-
expect_code 0 "$status" "a 42,002-directory worktree deeper than the descriptor limit must return"
211-
pass "a real 42,002-directory deep fixture keeps only its root descriptor across exec"
210+
expect_code 0 "$status" "a worktree with more than 42,000 directories and depth beyond the descriptor limit must return"
211+
pass "a real greater-than-42,000-directory fixture keeps only its root descriptor across exec"
212212
}
213213

214214
extract_boundary_program

0 commit comments

Comments
 (0)