]> arthur.barton.de Git - ngircd-alex.git/commitdiff
Test suite: explicitely enable glibc memory checking
authorAlexander Barton <alex@barton.de>
Fri, 10 Jan 2014 18:56:08 +0000 (19:56 +0100)
committerAlexander Barton <alex@barton.de>
Fri, 10 Jan 2014 18:56:14 +0000 (19:56 +0100)
src/testsuite/start-server.sh

index 0fd61ea97c361093a4cb148e2b04724658bf3111..3d19ffb5997f795fe2dea8d0b421f6b87a49bf0d 100755 (executable)
@@ -35,6 +35,10 @@ fi
 # generate MOTD for test-server
 echo "This is an ngIRCd Test Server" > ngircd-test${id}.motd
 
+# glibc memory checking, see malloc(3)
+MALLOC_CHECK_=3
+export MALLOC_CHECK_
+
 # starting up test-server ...
 ./T-ngircd${id} -n -f ${srcdir}/ngircd-test${id}.conf $* \
  >ngircd-test${id}.log 2>&1 &