summaryrefslogtreecommitdiffstats
path: root/php
diff options
context:
space:
mode:
authorFrederic Peters <fpeters@entrouvert.com>2005-01-20 13:53:59 +0000
committerFrederic Peters <fpeters@entrouvert.com>2005-01-20 13:53:59 +0000
commit6f1a80c42262f9432431fa90ea8a79e65d695f61 (patch)
tree69c70f366a18d22a5bf4cc775c69b26e44806197 /php
parent522c42f3f74f37aa2edbee87d8e7ea7f5a068674 (diff)
downloadlasso-6f1a80c42262f9432431fa90ea8a79e65d695f61.tar.gz
lasso-6f1a80c42262f9432431fa90ea8a79e65d695f61.tar.xz
lasso-6f1a80c42262f9432431fa90ea8a79e65d695f61.zip
don't output licensing comment when starting perfs.php
Diffstat (limited to 'php')
-rwxr-xr-xphp/tests/binding_tests.php2
-rwxr-xr-xphp/tests/perfs.php6
2 files changed, 1 insertions, 7 deletions
diff --git a/php/tests/binding_tests.php b/php/tests/binding_tests.php
index 48616175..a9ac49da 100755
--- a/php/tests/binding_tests.php
+++ b/php/tests/binding_tests.php
@@ -1,7 +1,5 @@
#! /usr/bin/env php
<?php
-
-
# $Id$
#
# PHP unit tests for Lasso library
diff --git a/php/tests/perfs.php b/php/tests/perfs.php
index 8dfc41fb..b011c2d5 100755
--- a/php/tests/perfs.php
+++ b/php/tests/perfs.php
@@ -1,4 +1,5 @@
#! /usr/bin/env php
+<?php
#
# $Id$
#
@@ -23,9 +24,6 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
-<?php
-
$ret = @dl('lasso.' . PHP_SHLIB_SUFFIX);
if ($ret == FALSE) {
print "lasso not found\n";
@@ -82,11 +80,9 @@ for ($i=0; $i < 50; $i++) {
$request->NameIDPolicy = LASSO_LIB_NAMEID_POLICY_TYPE_FEDERATED;
$request->ProtocolProfile = LASSO_LIB_PROTOCOL_PROFILE_BRWS_POST;
$login->buildAuthnRequestMsg();
- printf("%s\n", $login->msgUrl);
}
$query = $login->msgUrl;
-print $query;
$authn_response_msg = create_authnresponse($query);
printf("Processing 50 AuthnResponse...\n");