git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 3012061)
src/test/ldap: Fix test function in Linux port
2017年9月15日 22:39:37 +0000 (00:39 +0200)
2017年9月15日 22:39:37 +0000 (00:39 +0200)

diff --git a/src/test/ldap/t/001_auth.pl b/src/test/ldap/t/001_auth.pl
index 01b90e95a1cd37b9231b25ff7d0b868d2bd2902e..a7cac6210b5c909768acc5fb6e23f673fc8fcb38 100644 (file)
--- a/src/test/ldap/t/001_auth.pl
+++ b/src/test/ldap/t/001_auth.pl
@@ -16,8 +16,8 @@ if ($^O eq 'darwin')
elsif ($^O eq 'linux')
{
$slapd = '/usr/sbin/slapd';
- $ldap_schema_dir = '/etc/ldap/schema' if -f '/etc/ldap/schema';
- $ldap_schema_dir = '/etc/openldap/schema' if -f '/etc/openldap/schema';
+ $ldap_schema_dir = '/etc/ldap/schema' if -d '/etc/ldap/schema';
+ $ldap_schema_dir = '/etc/openldap/schema' if -d '/etc/openldap/schema';
}
elsif ($^O eq 'freebsd')
{
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /