From 6b9dac473def1e6ed0daedb9eb35664fbbfffb8c Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Mon, 24 Aug 2026 16:51:55 -1000 Subject: Prefer POSIX forms throughout the test scripts --- tests/t0204-limits.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'tests/t0204-limits.sh') diff --git a/tests/t0204-limits.sh b/tests/t0204-limits.sh index f09c290..d35dc69 100755 --- a/tests/t0204-limits.sh +++ b/tests/t0204-limits.sh @@ -12,7 +12,8 @@ test_description='Check the ref listing and diff size limits' . ./setup.sh -if [ $CGIT_HAS_LUA -eq 1 ]; then +if test "$CGIT_HAS_LUA" -eq 1 +then test_set_prereq LUA fi @@ -24,11 +25,11 @@ test_expect_success 'set up limit fixtures' ' mkrepo repos/limits 1 && ( cd repos/limits && - seq 1 60 >big.c && + test_seq 1 60 >big.c && printf "int x;\n" >small.c && git add -A && git commit -m sources && - seq 301 360 >big.c && + test_seq 301 360 >big.c && printf "int y;\n" >small.c && git commit -am change && for i in 1 2 3; do git branch branch-$i || exit 1; done && -- cgit v2.8.0