Update test scripts

environments/ppa-mbqj77/deployments/1
Xavier Guimard 8 years ago
parent 74892e1e9b
commit 551cf9dd0f
  1. 4
      scripts/test-perf.pl
  2. 2
      scripts/testConfBackend.pl

@ -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
|
+-----+-----------+----------+---------+-----------------------------------------+
";

@ -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;

Loading…
Cancel
Save