Revision bf8040a78ac7781cf6c51849dcde58c42f1e2a27 authored by Christophe Maudoux on 09 March 2019, 20:31:49 UTC, committed by Christophe Maudoux on 09 March 2019, 20:31:49 UTC
1 parent 049df70
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