selftest: Add comment elaborating on what ENV_DEPS actually does
authorTim Beale <timbeale@catalyst.net.nz>
Tue, 29 Jan 2019 21:04:28 +0000 (10:04 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 1 Feb 2019 02:36:16 +0000 (03:36 +0100)
Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
selftest/target/Samba4.pm

index 7ffa08c376d0d8515232c3681599d047d8919a62..33c66848c562ba299c9479ac1c2bf64951b1b906 100755 (executable)
@@ -2335,6 +2335,10 @@ sub check_env($$)
 # Declare the environments Samba4 makes available.
 # To be set up, they will be called as
 #   samba4->setup_$envname($self, $path, $dep_1_vars, $dep_2_vars, ...)
+# The interdependencies between the testenvs are declared below. Some testenvs
+# are dependent on another testenv running first, e.g. vampire_dc is dependent
+# on ad_dc_ntvfs because vampire_dc joins ad_dc_ntvfs's domain. All DCs are
+# dependent on dns_hub, which handles resolving DNS queries for the realm.
 %Samba4::ENV_DEPS = (
        # name               => [dep_1, dep_2, ...],
        dns_hub              => [],