From 94665adb484c25534b756012e9b55f01737b7713 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Tue, 12 May 2009 11:41:14 +0200 Subject: s3-printing: Fix vlp testprinter application. Jeremy, we cannot just access cache_path() here without calling lp_load and friends as well as parsing configfile from the commandline in order to make "make test/selftest" find the correct conffile with path, etc. I just changed it to pass the target tdbfilename as an argument, ok ? Guenther --- selftest/target/Samba3.pm | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'selftest/target') diff --git a/selftest/target/Samba3.pm b/selftest/target/Samba3.pm index 3a51e6f4b2..bf27f36a50 100644 --- a/selftest/target/Samba3.pm +++ b/selftest/target/Samba3.pm @@ -507,13 +507,13 @@ sub provision($$$$$$) copy = tmp printable = yes printing = vlp - print command = $bindir_abs/vlp print %p %s - lpq command = $bindir_abs/vlp lpq %p - lp rm command = $bindir_abs/vlp lprm %p %j - lp pause command = $bindir_abs/vlp lppause %p %j - lp resume command = $bindir_abs/vlp lpresume %p %j - queue pause command = $bindir_abs/vlp queuepause %p - queue resume command = $bindir_abs/vlp queueresume %p + print command = $bindir_abs/vlp tdbfile=$lockdir/vlp.tdb print %p %s + lpq command = $bindir_abs/vlp tdbfile=$lockdir/vlp.tdb lpq %p + lp rm command = $bindir_abs/vlp tdbfile=$lockdir/vlp.tdb lprm %p %j + lp pause command = $bindir_abs/vlp tdbfile=$lockdir/vlp.tdb lppause %p %j + lp resume command = $bindir_abs/vlp tdbfile=$lockdir/vlp.tdb lpresume %p %j + queue pause command = $bindir_abs/vlp tdbfile=$lockdir/vlp.tdb queuepause %p + queue resume command = $bindir_abs/vlp tdbfile=$lockdir/vlp.tdb queueresume %p [print2] copy = print1 -- cgit