s3-selftest: set "lpq cache time = 0" in server configuration.
authorGünther Deschner <gd@samba.org>
Fri, 26 Mar 2010 21:59:29 +0000 (22:59 +0100)
committerGünther Deschner <gd@samba.org>
Fri, 26 Mar 2010 22:01:19 +0000 (23:01 +0100)
This fixes currently broken spoolss tests.
(make test variant).

Guenther

source3/script/tests/selftest.sh

index 40ada286d2f5e5feb51a8b1724158eace891e8cc..a13877ddc9227e32fe8fefa2a87ec5d41a539181 100755 (executable)
@@ -315,6 +315,7 @@ cat >$SERVERCONFFILE<<EOF
        lp resume command = $BINDIR/vlp tdbfile=$LOCKDIR/vlp.tdb lpresume %p %j
        queue pause command = $BINDIR/vlp tdbfile=$LOCKDIR/vlp.tdb queuepause %p
        queue resume command = $BINDIR/vlp tdbfile=$LOCKDIR/vlp.tdb queueresume %p
+       lpq cache time = 0
 
        #Include user defined custom parameters if set
        $INCLUDE_CUSTOM_CONF