summaryrefslogtreecommitdiff
path: root/selftest/target
diff options
context:
space:
mode:
authorRalph Boehme <slow@samba.org>2018-01-09 10:46:40 +0100
committerRalph Boehme <slow@samba.org>2018-01-10 05:19:26 +0100
commita07804278533e8e6d946c51447d940a8d0ed9e4d (patch)
treef260695111dc619a34a41014a403fa920f50e7c9 /selftest/target
parentee6e0b19f670f370b5643699a194dec774494f74 (diff)
downloadsamba-a07804278533e8e6d946c51447d940a8d0ed9e4d.tar.gz
selftest: split a large system invocation line
Small cleanup for better code readability, no change in behaviour. Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org> Autobuild-User(master): Ralph Böhme <slow@samba.org> Autobuild-Date(master): Wed Jan 10 05:19:26 CET 2018 on sn-devel-144
Diffstat (limited to 'selftest/target')
-rwxr-xr-xselftest/target/Samba3.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/selftest/target/Samba3.pm b/selftest/target/Samba3.pm
index 17247274b73..f4ae0f3c02f 100755
--- a/selftest/target/Samba3.pm
+++ b/selftest/target/Samba3.pm
@@ -2468,7 +2468,9 @@ sub wait_for_start($$$$$)
$cmd .= "cache del IDMAP/SID2XID/S-1-5-32-545";
system($cmd);
- $ret = system("SELFTEST_WINBINDD_SOCKET_DIR=" . $envvars->{SELFTEST_WINBINDD_SOCKET_DIR} . " " . Samba::bindir_path($self, "wbinfo") . " --sid-to-gid=S-1-5-32-545");
+ $cmd = "SELFTEST_WINBINDD_SOCKET_DIR='$envvars->{SELFTEST_WINBINDD_SOCKET_DIR}' ";
+ $cmd .= Samba::bindir_path($self, "wbinfo") . " --sid-to-gid=S-1-5-32-545";
+ $ret = system($cmd);
if ($ret != 0) {
print "Missing \"BUILTIN\\Users\", did net sam createbuiltingroup Users fail?\n";
teardown_env($self, $envvars);