selftest/Samba4: make more use of get_cmd_env_vars()
commit9d5f5e821cbe23cc2e64f201e7409aaec4b50387
authorStefan Metzmacher <metze@samba.org>
Mon, 23 Nov 2020 10:35:33 +0000 (23 11:35 +0100)
committerKarolin Seeger <kseeger@samba.org>
Tue, 2 Feb 2021 09:20:10 +0000 (2 09:20 +0000)
tree8b587386855876890ce209caa6e9cb950f96142c
parent56c2c0f651e1c038ecf87a14a7dbe478e5e58d8d
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)
selftest/target/Samba4.pm