s3-printing: Fix vlp testprinter application.
authorGünther Deschner <gd@samba.org>
Tue, 12 May 2009 09:41:14 +0000 (11:41 +0200)
committerGünther Deschner <gd@samba.org>
Tue, 12 May 2009 09:47:13 +0000 (11:47 +0200)
commit502d9ec5d1f37cd5d992324025b88756b6a475ec
treeb8e1f630a1d342ce78e741b105917a22ab6c1d0d
parent6c5450d9010b83e4acdd359279102ceda9bf0318
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
(cherry picked from commit 94665adb484c25534b756012e9b55f01737b7713)
selftest/target/Samba3.pm
source3/printing/tests/vlp.c
source3/script/tests/selftest.sh