Skip to content

Commit 0573cd2

Browse files
committed
fixup! t: add gitdir encoding tests
1 parent 9478a7b commit 0573cd2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

t/t7425-submodule-mixed-gitdir-paths.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ test_expect_success 'submodule encoded name exceeds max name limit' '
198198
199199
# each "%" char encodes to "%25" (3 chars), ensure we exceed NAME_MAX
200200
count=$((name_max + 10)) &&
201-
longname=$(printf "%%%0.s" $(seq 1 $count)) &&
201+
longname=$(test_seq -f "%%%0.s" 1 $count) &&
202202
203203
test_must_fail git submodule add ../new-sub "$longname"
204204
)

0 commit comments

Comments
 (0)