mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
selftest/target: create return_alias_env function for Samba3.pm
This will allow us easily create lightweight alias environments like ad_dc_smb1_done etc. Signed-off-by: Noel Power <noel.power@suse.com> Reviewed-by: Ralph Boehme <slow@samba.org>
This commit is contained in:
parent
e468b03fc4
commit
f1139ac5c6
@ -16,6 +16,14 @@ use POSIX;
|
||||
use target::Samba;
|
||||
use File::Path 'remove_tree';
|
||||
|
||||
sub return_alias_env
|
||||
{
|
||||
my ($self, $path, $env) = @_;
|
||||
|
||||
# just an alias
|
||||
return $env;
|
||||
}
|
||||
|
||||
sub have_ads($) {
|
||||
my ($self) = @_;
|
||||
my $found_ads = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user