1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-27 22:50:26 +03:00

selftest: Make lockdir available in test environment

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
This commit is contained in:
Christof Schmitt 2017-02-16 16:23:43 -07:00
parent d80de473f8
commit 5a6d5ede33
2 changed files with 2 additions and 0 deletions

View File

@ -863,6 +863,7 @@ my @exported_envvars = (
"DNS_FORWARDER2",
"RESOLV_CONF",
"UNACCEPTABLE_PASSWORD",
"LOCK_DIR",
# nss_wrapper
"NSS_WRAPPER_PASSWD",

View File

@ -2106,6 +2106,7 @@ force_user:x:$gid_force_user:
$ret{SMBD_TEST_LOG_POS} = 0;
$ret{SERVERCONFFILE} = $conffile;
$ret{CONFIGURATION} ="-s $conffile";
$ret{LOCK_DIR} = $lockdir;
$ret{SERVER} = $server;
$ret{USERNAME} = $unix_name;
$ret{USERID} = $unix_uid;