diff options
context:
space:
mode:
authorBryce Kwon <bryce@brycekwon.com>
committerBryce Kwon <bryce@brycekwon.com>
commit
parent
tree
download
Prefer POSIX forms throughout the test scripts
Diffstat (limited to 'tests/t0204-limits.sh')
-rwxr-xr-xtests/t0204-limits.sh7
1 file changed, 4 insertions, 3 deletions
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 &&