summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorSteve Kemp <steve@steve.org.uk>2013-02-13 10:24:16 +0000
committerSteve Kemp <steve@steve.org.uk>2013-02-13 10:24:16 +0000
commitca2ac022cae1a034b0a941bfbae116ed37a75385 (patch)
tree533d927966b5c6eff63fe1a4b1a8d827cb7ce3bf /t
parenta11514afc5ff1510cdc3ed290df47982594a963f (diff)
Updated test-suite now a username/password is required for LDAP
Diffstat (limited to 't')
-rwxr-xr-xt/test-custodian-parser.rb1
-rwxr-xr-xt/test-custodian-testfactory.rb5
2 files changed, 2 insertions, 4 deletions
diff --git a/t/test-custodian-parser.rb b/t/test-custodian-parser.rb
index 1a5be6e..5676d5b 100755
--- a/t/test-custodian-parser.rb
+++ b/t/test-custodian-parser.rb
@@ -284,7 +284,6 @@ EOF
"foo must not run ssh otherwise 'fail'" => "fail",
"foo must not run ssh otherwise 'fail'." => "fail",
"foo must run redis otherwise 'memorystorage service is dead'" => "memorystorage service is dead",
- "foo must run ldap otherwise 'ldap dead?'" => "ldap dead?",
"foo must run ping otherwise 'don't you love me?'" => "don"
}
diff --git a/t/test-custodian-testfactory.rb b/t/test-custodian-testfactory.rb
index e8e7d27..953016e 100755
--- a/t/test-custodian-testfactory.rb
+++ b/t/test-custodian-testfactory.rb
@@ -191,7 +191,6 @@ class TestTestFactory < Test::Unit::TestCase
"foo must run ping otherwise" => false,
"foo must not run ping otherwise" => true,
"foo must not run ssh otherwise" => true,
- "foo must not run ldap otherwise" => true,
}
#
@@ -229,9 +228,9 @@ class TestTestFactory < Test::Unit::TestCase
tst = $1.dup.downcase
#
- # NOTE: Skip the DNS test - it is more complex.
+ # NOTE: Skip the DNS and LDAP tests - they are more complex.
#
- next if ( tst =~ /^(dns)$/ )
+ next if ( tst =~ /^(ldap|dns)$/ )
# normal
test_one = "http://foo/ must run #{tst} on 1234"