selftest/Samba4: make more use of get_cmd_env_vars()
authorStefan Metzmacher <metze@samba.org>
Mon, 23 Nov 2020 10:35:33 +0000 (11:35 +0100)
committerKarolin Seeger <kseeger@samba.org>
Wed, 3 Mar 2021 08:11:09 +0000 (08:11 +0000)
commit98051444a580ca36bed892ed82241e54384c08dc
treec1adcce7db427d7b4364bb161f715a7d30a685bd
parent7a72dc8cd36f9ad58b1e0295cd9773ed8fbf7274
selftest/Samba4: make more use of get_cmd_env_vars()

This simplifies the code a lot and makes it much easier to
add new environment variables in future.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14628

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
(cherry picked from commit 15b39160406c3ef49c5f074793d3a55b3bf12e0e)
(cherry picked from commit 9d5f5e821cbe23cc2e64f201e7409aaec4b50387)
selftest/target/Samba4.pm