]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
selftest/target: create return_alias_env function for Samba3.pm
authorNoel Power <noel.power@suse.com>
Tue, 17 Dec 2019 15:18:06 +0000 (15:18 +0000)
committerRalph Boehme <slow@samba.org>
Fri, 3 Apr 2020 15:08:27 +0000 (15:08 +0000)
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>
selftest/target/Samba3.pm

index d97eafa1daab943eed072e23aef5c42d9c3b118e..53db16a4977398ab5b649338c36b78e7e3f0e338 100755 (executable)
@@ -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;