summaryrefslogtreecommitdiffstats
path: root/source3/script
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-05-12 11:41:14 +0200
committerKarolin Seeger <kseeger@samba.org>2009-05-26 09:39:14 +0200
commit8ac05bf1caf1b210657f86bb626b49bb067e0c0f (patch)
treeb0516acf6e7d23e71d74b6fbe655e97c0dd24bb4 /source3/script
parenta98ad2144001bdebe9270bb50d5be5d32a198586 (diff)
downloadsamba-8ac05bf1caf1b210657f86bb626b49bb067e0c0f.tar.gz
samba-8ac05bf1caf1b210657f86bb626b49bb067e0c0f.tar.xz
samba-8ac05bf1caf1b210657f86bb626b49bb067e0c0f.zip
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) (cherry picked from commit 502d9ec5d1f37cd5d992324025b88756b6a475ec)
Diffstat (limited to 'source3/script')
-rwxr-xr-xsource3/script/tests/selftest.sh14
1 files changed, 7 insertions, 7 deletions
diff --git a/source3/script/tests/selftest.sh b/source3/script/tests/selftest.sh
index f915ec76e78..1e31fbfb6be 100755
--- a/source3/script/tests/selftest.sh
+++ b/source3/script/tests/selftest.sh
@@ -256,13 +256,13 @@ cat >$SERVERCONFFILE<<EOF
copy = tmp
printable = yes
printing = vlp
- print command = $BINDIR/vlp print %p %s
- lpq command = $BINDIR/vlp lpq %p
- lp rm command = $BINDIR/vlp lprm %p %j
- lp pause command = $BINDIR/vlp lppause %p %j
- lp resume command = $BINDIR/vlp lpresume %p %j
- queue pause command = $BINDIR/vlp queuepause %p
- queue resume command = $BINDIR/vlp queueresume %p
+ print command = $BINDIR/vlp tdbfile=$LOCKDIR/vlp.tdb print %p %s
+ lpq command = $BINDIR/vlp tdbfile=$LOCKDIR/vlp.tdb lpq %p
+ lp rm command = $BINDIR/vlp tdbfile=$LOCKDIR/vlp.tdb lprm %p %j
+ lp pause command = $BINDIR/vlp tdbfile=$LOCKDIR/vlp.tdb lppause %p %j
+ 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
[print2]
copy = print1