Update test scripts

This commit is contained in:
Xavier Guimard 2018-05-24 15:41:14 +02:00
parent 74892e1e9b
commit 551cf9dd0f
2 changed files with 3 additions and 3 deletions

View File

@ -63,7 +63,7 @@ for ( my $i = 0 ; $i < NB ; $i++ ) {
my $time2 = time() - $time;
push @menu, $time2;
$request = new HTTP::Request( 'GET', 'http://127.0.0.1:19876/' );
$request->header( Host => 'test.example.com' );
$request->header( Host => 'test1.example.com' );
$request->header( "Cookie", $cookie );
for ( my $j = 0 ; $j < 5 ; $j++ ) {
@ -78,7 +78,7 @@ for ( my $i = 0 ; $i < NB ; $i++ ) {
print "Result
+-----+-----------+----------+---------+-----------------------------------------+
| Req | Auth form | Post req | Menu | 5 access to test.example.com
| Req | Auth form | Post req | Menu | 5 access to test1.example.com
|
+-----+-----------+----------+---------+-----------------------------------------+
";

View File

@ -18,7 +18,7 @@ Usage:
$0 --module=<New> --ini=path/to/lemonldap-ng.ini --options='{ some => "parameter" }'
<New> must be the last word of Perl package: file must be named
Lemonldap::NG::Common::Conf::New
Lemonldap::NG::Common::Conf::Backend::<New>
);
exit 1;