]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
CI: Fix logger.conf for unit tests.
authorCorey Farrell <git@cfware.com>
Fri, 20 Jul 2018 14:25:25 +0000 (10:25 -0400)
committerCorey Farrell <git@cfware.com>
Fri, 20 Jul 2018 14:30:23 +0000 (09:30 -0500)
Change-Id: Idea59d60eab20105de50b34f0f0d506e6ef55d5c

tests/CI/runUnittests.sh

index 0ad5f495333729c13709844d1437d74efd71e5ac..c334ea64b2e59ff73b1759c8a2b796d687264603 100755 (executable)
@@ -3,7 +3,10 @@ CIDIR=$(dirname $(readlink -fn $0))
 source $CIDIR/ci.functions
 ASTETCDIR=$DESTDIR/etc/asterisk
 
-echo "full => notice,warning,error,debug,verbose" >    "$ASTETCDIR/logger.conf"
+cat <<-EOF > "$ASTETCDIR/logger.conf"
+       [logfiles]
+       full => notice,warning,error,debug,verbose
+EOF
 
 echo "[default]" > "$ASTETCDIR/extensions.conf"