Code

integration/test_lib: Pass -U mockuser to sysdb.
authorSebastian Harl <sh@tokkee.org>
Thu, 1 May 2014 20:55:39 +0000 (22:55 +0200)
committerSebastian Harl <sh@tokkee.org>
Thu, 1 May 2014 20:55:39 +0000 (22:55 +0200)
getpwuid_r on Travis leaks some memory which causes the valgrind tests to fail
:-/

t/integration/test_lib.sh

index b7f7c9714d9b9e6fad80ad69e4098f00a7dde8c3..6386b205f467d45052d686e02d210d960ca71f44 100644 (file)
@@ -49,7 +49,7 @@ SYSDBD_CONF="$TESTDIR/sysdbd.conf"
 SOCKET_FILE="$TESTDIR/sock"
 PLUGIN_DIR="$TESTDIR"
 
-SYSDB="$MEMCHECK $TESTDIR/sysdb"
+SYSDB="$MEMCHECK $TESTDIR/sysdb -U mockuser"
 SYSDBD="$MEMCHECK $TESTDIR/sysdbd"
 
 export LD_PRELOAD=$TESTDIR/libsysdbclient.so:$TESTDIR/libsysdb.so