selftest: Add helper function to build up s3 daemon cmd
commitad30fdc6ba28374b84dbe94af92c5694bff6f86e
authorTim Beale <timbeale@catalyst.net.nz>
Thu, 23 May 2019 00:37:04 +0000 (23 12:37 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 24 May 2019 03:19:17 +0000 (24 03:19 +0000)
tree2956ee8083d1d7697fe975b9ae91bfa9ecbeb8fa
parentba9323abde060c832274e84f1e8a6b79fccc5fce
selftest: Add helper function to build up s3 daemon cmd

The s3 daemons all basically use the same command logic, it's just they
use slightly different environment variables.

This adds a common helper function, which we can pass the specific
environment variables into.

(Note the slight parameter difference for winbind with --stdout vs
--log-stdout).

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
selftest/target/Samba3.pm