ldap tests: Add paths for openbsd.

Discussion: https://postgr.es/m/721828a7-3043-6803-a85b-da63538db3cc@enterprisedb.com
This commit is contained in:
Andres Freund 2022-03-09 09:46:21 -08:00
parent ee56c3b216
commit 45fb0de4dc
1 changed files with 5 additions and 0 deletions

View File

@ -40,6 +40,11 @@ elsif ($^O eq 'freebsd')
$slapd = '/usr/local/libexec/slapd';
$ldap_schema_dir = '/usr/local/etc/openldap/schema';
}
elsif ($^O eq 'openbsd')
{
$slapd = '/usr/local/libexec/slapd';
$ldap_schema_dir = '/usr/local/share/examples/openldap/schema';
}
else
{
plan skip_all => "ldap tests not supported on $^O or dependencies not installed";