summaryrefslogtreecommitdiff
path: root/selftest/target/Template.pm
blob: 2b47ad1e7458ad0417fb6aada18a6120e06f75b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
#!/usr/bin/perl
# Copyright (C) 2009 Stefan Metzmacher <metze@samba.org>
# Published under the GNU GPL, v3 or later.

package Template;

use strict;

sub new($$) {
	my ($classname) = @_;
	my $self = {
		classname => $classname
	};
	bless $self;
	return $self;
}

sub teardown_env($$)
{
	my ($self, $envvars) = @_;

	return 0;
}

sub getlog_env($$)
{
	my ($self, $envvars) = @_;

	return "";
}

sub check_env($$)
{
	my ($self, $envvars) = @_;

	return 1;
}

sub setup_env($$$)
{
	my ($self, $envname, $path) = @_;
	my $envvars = undef;

	return $envvars;
}

1;