File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -176,16 +176,16 @@ import os
176176import sys
177177
178178root = 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}"))
181181deep = os.path.join(root, "deep")
182182os.mkdir(deep)
183- for _ in range(300 ):
183+ for _ in range(130 ):
184184 deep = os.path.join(deep, "d")
185185 os.mkdir(deep)
186186PY
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 '
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
214214extract_boundary_program
You can’t perform that action at this time.
0 commit comments