diff --git a/tests/CI/publishAsteriskDocs.sh b/tests/CI/publishAsteriskDocs.sh
index d5c857a70d9e4c9988e58ace538236735ee3c356..dc59033faa2f643b9372ecc1353ff1a90e5f89e8 100755
--- a/tests/CI/publishAsteriskDocs.sh
+++ b/tests/CI/publishAsteriskDocs.sh
@@ -1,7 +1,7 @@
+#!/usr/bin/env bash
 #
 # Publish Asterisk documentation to the wiki
 #
-#!/usr/bin/env bash
 CIDIR=$(dirname $(readlink -fn $0))
 source $CIDIR/ci.functions
 ASTETCDIR=$DESTDIR/etc/asterisk
@@ -113,7 +113,7 @@ ${OUTPUTDIR}/publish-rest-api.py --username="${CONFLUENCE_USER}" \
 rm -f ${OUTPUTDIR}/full-en_US.xml
 
 sudo $ASTERISK ${USER_GROUP:+-U ${USER_GROUP%%:*} -G ${USER_GROUP##*:}} -gn -C $CONFFILE
-for n in `seq 1 5` ; do
+for n in {1..5} ; do
 	sleep 3
 	$ASTERISK -rx "core waitfullybooted" -C $CONFFILE && break
 done
diff --git a/tests/CI/runUnittests.sh b/tests/CI/runUnittests.sh
index 2fb365d4e6946786a472b129665b6b76bf458ca0..682c5064fbfb3ee0b2e6ae9d2174e2dbd120170c 100755
--- a/tests/CI/runUnittests.sh
+++ b/tests/CI/runUnittests.sh
@@ -66,7 +66,7 @@ rm -rf $ASTETCDIR/extensions.{ael,lua} || :
 
 set -x
 sudo $ASTERISK ${USER_GROUP:+-U ${USER_GROUP%%:*} -G ${USER_GROUP##*:}} -gn -C $CONFFILE
-for n in `seq 1 5` ; do
+for n in {1..5} ; do
 	sleep 3
 	$ASTERISK -rx "core waitfullybooted" -C $CONFFILE && break
 done