1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00

s3:tests: Do not export UID_WRAPPER_ROOT in test_smbXsrv_client_cross_node.sh

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Andreas Schneider 2023-04-11 15:30:23 +02:00 committed by Andrew Bartlett
parent 3799074b30
commit 3a9e0b318d

View File

@ -47,9 +47,6 @@ cd "$SELFTEST_TMPDIR" || exit 1
rm -f smbclient-stdin smbclient-stdout smbclient-stderr
mkfifo smbclient-stdin smbclient-stdout smbclient-stderr
UID_WRAPPER_ROOT=1
export UID_WRAPPER_ROOT
smbstatus_num_sessions()
{
UID_WRAPPER_INITIAL_RUID=0 UID_WRAPPER_INITIAL_EUID=0 "$SMBSTATUS" "$CONF" --json | jq -M '.sessions | length'