summaryrefslogtreecommitdiff
path: root/selftest/target
diff options
context:
space:
mode:
authorRalph Boehme <slow@samba.org>2018-01-09 10:45:59 +0100
committerRalph Boehme <slow@samba.org>2018-01-10 01:01:25 +0100
commitee6e0b19f670f370b5643699a194dec774494f74 (patch)
treeb259fd166f75cfbbf0a2afd113e913dae1bd232a /selftest/target
parent584a8ac4aa90707cf353975be0f2ddfe65fb065a (diff)
downloadsamba-ee6e0b19f670f370b5643699a194dec774494f74.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>
Diffstat (limited to 'selftest/target')
-rwxr-xr-xselftest/target/Samba3.pm6
1 files changed, 5 insertions, 1 deletions
diff --git a/selftest/target/Samba3.pm b/selftest/target/Samba3.pm
index 73ac1c3a17e..17247274b73 100755
--- a/selftest/target/Samba3.pm
+++ b/selftest/target/Samba3.pm
@@ -2463,7 +2463,11 @@ sub wait_for_start($$$$$)
teardown_env($self, $envvars);
return 0;
}
- system(Samba::bindir_path($self, "net") . " $envvars->{CONFIGURATION} cache del IDMAP/SID2XID/S-1-5-32-545");
+
+ $cmd = Samba::bindir_path($self, "net") . " $envvars->{CONFIGURATION} ";
+ $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");
if ($ret != 0) {
print "Missing \"BUILTIN\\Users\", did net sam createbuiltingroup Users fail?\n";