Insert run-ldap tool

This commit is contained in:
Xavier Guimard 2018-05-28 10:12:55 +02:00
parent 96ee91f2aa
commit 997659c9ac
2 changed files with 13 additions and 0 deletions

View File

@ -15,6 +15,7 @@ LLNG team scripts
* `testConfBackend.pl`: test a new configuration backend
* `test-perf.pl`: little script to test Portal/Handler performance
* `totp-client.pl`: TOTP app to replace FreeOTP for TOTP tests
* `run-ldap`: Launch an LDAP server (port 19389) and stop it when a key is pressed. It uses Portal test LDAP server.
## Old unmaintained scripts
* `copyright-updater.pl`: old script used to replace CHANGELOG POD entry

12
scripts/run-ldap Executable file
View File

@ -0,0 +1,12 @@
#!/usr/bin/perl
$ENV{LLNGTESTLDAP} = 1;
chdir 'lemonldap-ng-portal';
require './t/test-ldap.pm';
print STDERR "Press a key to stop LDAP server\n";
my $r = <STDIN>;
stopLdapServer();