summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-04-19 15:03:35 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:51:10 -0500
commite4fb7098cd8b9ddd51d6405c5c5a979658779af5 (patch)
treef67d1878b0cfaef076c5091af9e80aa5670e4688
parente2deb0013687ebd887241f81cf616a06d4b1a08d (diff)
downloadsamba-e4fb7098cd8b9ddd51d6405c5c5a979658779af5.tar.gz
samba-e4fb7098cd8b9ddd51d6405c5c5a979658779af5.tar.bz2
samba-e4fb7098cd8b9ddd51d6405c5c5a979658779af5.zip
r22377: implement check_env() for samba4
metze (This used to be commit 4fe8e724efaced6c04388c70712413dfc1bb9f00)
-rw-r--r--source4/script/tests/Samba4.pm5
1 files changed, 3 insertions, 2 deletions
diff --git a/source4/script/tests/Samba4.pm b/source4/script/tests/Samba4.pm
index 4ab720c7bf..ae6e6b326c 100644
--- a/source4/script/tests/Samba4.pm
+++ b/source4/script/tests/Samba4.pm
@@ -679,8 +679,9 @@ sub check_env($$)
{
my ($self, $envvars) = @_;
- # TODO ...
- return 1;
+ return 1 if (-p $envvars->{SMBD_TEST_FIFO});
+
+ return 0;
}
sub setup_env($$$)