summaryrefslogtreecommitdiff
path: root/selftest/selftest.pl
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2014-04-03 10:42:30 +0200
committerStefan Metzmacher <metze@samba.org>2014-04-17 14:56:05 +0200
commitd1c53ebf4c34cd982dce9d0eaa141920a062adba (patch)
treecaebeb10b1e0e523dfb511a51c9189b25a946294 /selftest/selftest.pl
parent9feeeb369b913debc41a0c57ac1cd1f6fbdf9b72 (diff)
downloadsamba-d1c53ebf4c34cd982dce9d0eaa141920a062adba.tar.gz
selftest: Enable uid_wrapper globally.
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'selftest/selftest.pl')
-rwxr-xr-xselftest/selftest.pl3
1 files changed, 3 insertions, 0 deletions
diff --git a/selftest/selftest.pl b/selftest/selftest.pl
index 9478a2b39cf..c4eab453e96 100755
--- a/selftest/selftest.pl
+++ b/selftest/selftest.pl
@@ -353,6 +353,9 @@ if ($opt_libuid_wrapper_so_path) {
$ENV{LD_PRELOAD} = $ld_preload;
print "LD_PRELOAD=$ENV{LD_PRELOAD}\n";
+# Enable uid_wrapper globally
+$ENV{UID_WRAPPER} = 1;
+
my $socket_wrapper_dir;
if ($opt_socket_wrapper) {
$socket_wrapper_dir = SocketWrapper::setup_dir("$prefix_abs/w", $opt_socket_wrapper_pcap);