Revision 2629a8a747b4149aec1644c9273777624f336f88 authored by Xavier Guimard on 12 January 2019, 07:45:43 UTC, committed by Xavier Guimard on 12 January 2019, 07:45:43 UTC
1 parent 507f3c0
Raw File
run-ldap
#!/usr/bin/perl

$ENV{LLNGTESTLDAP} = 1;

chdir 'lemonldap-ng-portal';
require './t/test-ldap.pm';
system( $ENV{LLNGTESTLDAP_SLAPADD_BIN} || '/usr/sbin/slapadd'
      . ' -F t/testslapd/slapd.d -n 1 -l t/testslapd/confs-sessions.ldif' );

print STDERR "Press a key to stop LDAP server\n";
my $r = <STDIN>;

stopLdapServer();

back to top