1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

selftest: Convert backup/restore testenvs to use default

These testenvs shouldn't be dependent on the process model at all, so we
should be able to convert them to the new default without any
repercussions.

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Tim Beale 2019-01-31 12:45:31 +13:00 committed by Andrew Bartlett
parent 4603351544
commit d29853ab0a

View File

@ -2894,7 +2894,7 @@ sub setup_backupfromdc
return undef;
}
if (not defined($self->check_or_start($env, "standard"))) {
if (not defined($self->check_or_start($env))) {
return undef;
}
@ -3104,7 +3104,7 @@ sub setup_restoredc
}
# start samba for the restored DC
if (not defined($self->check_or_start($env, "standard"))) {
if (not defined($self->check_or_start($env))) {
return undef;
}
@ -3146,7 +3146,7 @@ sub setup_renamedc
}
# start samba for the restored DC
if (not defined($self->check_or_start($env, "standard"))) {
if (not defined($self->check_or_start($env))) {
return undef;
}
@ -3195,7 +3195,7 @@ sub setup_offlinebackupdc
Samba::mk_krb5_conf($ctx);
# start samba for the restored DC
if (not defined($self->check_or_start($env, "standard"))) {
if (not defined($self->check_or_start($env))) {
return undef;
}
@ -3250,7 +3250,7 @@ sub setup_labdc
}
# start samba for the restored DC
if (not defined($self->check_or_start($env, "standard"))) {
if (not defined($self->check_or_start($env))) {
return undef;
}
@ -3348,7 +3348,7 @@ sub setup_customdc
Samba::mk_krb5_conf($ctx);
# start samba for the restored DC
if (not defined($self->check_or_start($env, "standard"))) {
if (not defined($self->check_or_start($env))) {
return undef;
}