samba3.py: Correctly initialize cache directory for passdb test
commitc2f8c939a3e0c9e7c9333ecc0db2f17cf2e6463c
authorChristof Schmitt <cs@samba.org>
Thu, 15 Jan 2015 21:31:19 +0000 (15 14:31 -0700)
committerKarolin Seeger <kseeger@samba.org>
Sat, 24 Jan 2015 21:16:11 +0000 (24 22:16 +0100)
tree42d332c0924b3537119fd3405c2a8a5dfc92d36a
parent091a3aa86ec74cfaf54e5fdb3e0141acc310587c
samba3.py: Correctly initialize cache directory for passdb test

Running 'make test TESTS=tests.samba3' succeeds, but the log shows that
it tried to open the gencache tdb in the wrong directory:
Unable to create directory /usr/local/samba/var/cache for file gencache.tdb. Error was No such file or directory

Fix this by correctly initializing the cache directory.

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-By: Jelmer Vernooij <jelmer@samba.org>
Autobuild-User(master): Christof Schmitt <cs@samba.org>
Autobuild-Date(master): Fri Jan 16 02:36:39 CET 2015 on sn-devel-104
(cherry picked from commit c31f54112e21b2e76398a402e864a2b6b6c74e6c)

BUG: https://bugzilla.samba.org/show_bug.cgi?id=11032
python/samba/tests/samba3.py