diff options
Diffstat (limited to 'ext/ldap')
99 files changed, 0 insertions, 198 deletions
diff --git a/ext/ldap/tests/bug48441.phpt b/ext/ldap/tests/bug48441.phpt index 4f212e7402..fa2f2ee023 100644 --- a/ext/ldap/tests/bug48441.phpt +++ b/ext/ldap/tests/bug48441.phpt @@ -30,7 +30,6 @@ var_dump( ldap_get_entries($link, $result) ); ?> -===DONE=== --CLEAN-- <?php include "connect.inc"; @@ -166,4 +165,3 @@ array(4) { string(%d) "cn=userC,cn=userB,%s" } } -===DONE=== diff --git a/ext/ldap/tests/bug77958.phpt b/ext/ldap/tests/bug77958.phpt index 7cac768b1a..a19561740b 100644 --- a/ext/ldap/tests/bug77958.phpt +++ b/ext/ldap/tests/bug77958.phpt @@ -32,7 +32,6 @@ var_dump( ldap_get_values($link, $entry, "telephoneNumber") ); ?> -===DONE=== --CLEAN-- <?php require "connect.inc"; @@ -52,4 +51,3 @@ array(3) { ["count"]=> int(2) } -===DONE=== diff --git a/ext/ldap/tests/ldap_add_basic.phpt b/ext/ldap/tests/ldap_add_basic.phpt index 46fd6578db..7e7a255c91 100644 --- a/ext/ldap/tests/ldap_add_basic.phpt +++ b/ext/ldap/tests/ldap_add_basic.phpt @@ -27,7 +27,6 @@ var_dump( ) ); ?> -===DONE=== --CLEAN-- <?php require "connect.inc"; @@ -80,4 +79,3 @@ array(2) { string(%d) "dc=my-domain,%s" } } -===DONE=== diff --git a/ext/ldap/tests/ldap_add_error.phpt b/ext/ldap/tests/ldap_add_error.phpt index 14476bb876..d7271461ce 100644 --- a/ext/ldap/tests/ldap_add_error.phpt +++ b/ext/ldap/tests/ldap_add_error.phpt @@ -79,7 +79,6 @@ var_dump( */ ); ?> -===DONE=== --CLEAN-- <?php require "connect.inc"; @@ -113,4 +112,3 @@ int(17) Warning: ldap_add(): Unknown attribute in the data in %s on line %d bool(false) -===DONE=== diff --git a/ext/ldap/tests/ldap_add_ext.phpt b/ext/ldap/tests/ldap_add_ext.phpt index 12916d98c3..7363614585 100644 --- a/ext/ldap/tests/ldap_add_ext.phpt +++ b/ext/ldap/tests/ldap_add_ext.phpt @@ -32,7 +32,6 @@ var_dump( ) ); ?> -===DONE=== --CLEAN-- <?php require "connect.inc"; @@ -91,4 +90,3 @@ array(2) { string(%d) "o=test_ldap_add_ext,%s" } } -===DONE=== diff --git a/ext/ldap/tests/ldap_bind_basic.phpt b/ext/ldap/tests/ldap_bind_basic.phpt index d88dd1083b..35948d0dc2 100644 --- a/ext/ldap/tests/ldap_bind_basic.phpt +++ b/ext/ldap/tests/ldap_bind_basic.phpt @@ -14,7 +14,5 @@ $link = ldap_connect($host, $port); ldap_set_option($link, LDAP_OPT_PROTOCOL_VERSION, $protocol_version); var_dump(ldap_bind($link)); ?> -===DONE=== --EXPECT-- bool(true) -===DONE=== diff --git a/ext/ldap/tests/ldap_bind_error.phpt b/ext/ldap/tests/ldap_bind_error.phpt index ee16908b57..3970bbdf85 100644 --- a/ext/ldap/tests/ldap_bind_error.phpt +++ b/ext/ldap/tests/ldap_bind_error.phpt @@ -19,11 +19,9 @@ var_dump(ldap_bind($link, $user, "ThisIsNotCorrect$passwd")); // Invalid DN syntax var_dump(ldap_bind($link, "unexistingProperty=weirdValue,$user", $passwd)); ?> -===DONE=== --EXPECTF-- Warning: ldap_bind(): Unable to bind to server: Invalid credentials in %s on line %d bool(false) Warning: ldap_bind(): Unable to bind to server: Invalid DN syntax in %s on line %d bool(false) -===DONE=== diff --git a/ext/ldap/tests/ldap_bind_ext.phpt b/ext/ldap/tests/ldap_bind_ext.phpt index 3dd5903d80..0e8fb52d02 100644 --- a/ext/ldap/tests/ldap_bind_ext.phpt +++ b/ext/ldap/tests/ldap_bind_ext.phpt @@ -43,7 +43,6 @@ var_dump( $ctrls ); ?> -===DONE=== --EXPECTF-- resource(%d) of type (ldap result) bool(true) @@ -69,4 +68,3 @@ int(34) string(10) "invalid DN" array(0) { } -===DONE=== diff --git a/ext/ldap/tests/ldap_bind_variation.phpt b/ext/ldap/tests/ldap_bind_variation.phpt index 4aed3180ee..6fa4c202f9 100644 --- a/ext/ldap/tests/ldap_bind_variation.phpt +++ b/ext/ldap/tests/ldap_bind_variation.phpt @@ -14,7 +14,5 @@ $link = ldap_connect($host, $port); ldap_set_option($link, LDAP_OPT_PROTOCOL_VERSION, $protocol_version); var_dump(ldap_bind($link, $user, $passwd)); ?> -===DONE=== --EXPECT-- bool(true) -===DONE=== diff --git a/ext/ldap/tests/ldap_compare_basic.phpt b/ext/ldap/tests/ldap_compare_basic.phpt index a8bb37f004..a8b8c2b7b1 100644 --- a/ext/ldap/tests/ldap_compare_basic.phpt +++ b/ext/ldap/tests/ldap_compare_basic.phpt @@ -17,7 +17,6 @@ var_dump( ldap_compare($link, "cn=userA,$base", "telephoneNumber", "yy-yy-yy-yy-yy") ); ?> -===DONE=== --CLEAN-- <?php include "connect.inc"; @@ -28,4 +27,3 @@ remove_dummy_data($link, $base); --EXPECT-- bool(true) bool(false) -===DONE=== diff --git a/ext/ldap/tests/ldap_compare_error.phpt b/ext/ldap/tests/ldap_compare_error.phpt index 50e93d660f..b6b85c43c2 100644 --- a/ext/ldap/tests/ldap_compare_error.phpt +++ b/ext/ldap/tests/ldap_compare_error.phpt @@ -19,7 +19,6 @@ var_dump( ldap_errno($link) ); ?> -===DONE=== --CLEAN-- <?php include "connect.inc"; @@ -32,4 +31,3 @@ Warning: ldap_compare(): Compare: No such object in %s on line %d int(-1) string(14) "No such object" int(32) -===DONE=== diff --git a/ext/ldap/tests/ldap_connect_basic.phpt b/ext/ldap/tests/ldap_connect_basic.phpt index 26133a6b2e..0d03c99d59 100644 --- a/ext/ldap/tests/ldap_connect_basic.phpt +++ b/ext/ldap/tests/ldap_connect_basic.phpt @@ -12,7 +12,5 @@ require "connect.inc"; $link = ldap_connect($host, $port); var_dump($link); ?> -===DONE=== --EXPECTF-- resource(%d) of type (ldap link) -===DONE=== diff --git a/ext/ldap/tests/ldap_connect_error.phpt b/ext/ldap/tests/ldap_connect_error.phpt index 24561e1576..b8adcf1ded 100644 --- a/ext/ldap/tests/ldap_connect_error.phpt +++ b/ext/ldap/tests/ldap_connect_error.phpt @@ -18,10 +18,8 @@ $links = array(); $links[0] = ldap_connect($host, $port); $links[1] = ldap_connect($host, $port); ?> -===DONE=== --EXPECTF-- Warning: ldap_connect(): Could not create session handle: %s in %s on line %d bool(false) Warning: ldap_connect(): Too many open links (1) in %s on line %d -===DONE=== diff --git a/ext/ldap/tests/ldap_connect_ldap_conf.phpt b/ext/ldap/tests/ldap_connect_ldap_conf.phpt index 86b17b5613..3c3c906f36 100644 --- a/ext/ldap/tests/ldap_connect_ldap_conf.phpt +++ b/ext/ldap/tests/ldap_connect_ldap_conf.phpt @@ -20,7 +20,5 @@ ldap_get_option($link, LDAP_OPT_HOST_NAME, $host); var_dump($host); unlink($conf); ?> -===DONE=== --EXPECT-- string(16) "example.com:3141" -===DONE=== diff --git a/ext/ldap/tests/ldap_connect_variation.phpt b/ext/ldap/tests/ldap_connect_variation.phpt index 09b07e7786..1405e0706f 100644 --- a/ext/ldap/tests/ldap_connect_variation.phpt +++ b/ext/ldap/tests/ldap_connect_variation.phpt @@ -29,11 +29,9 @@ var_dump($link); $link = ldap_connect("nonexistent" . $host); var_dump($link); ?> -===DONE=== --EXPECTF-- resource(%d) of type (ldap link) resource(%d) of type (ldap link) resource(%d) of type (ldap link) resource(%d) of type (ldap link) resource(%d) of type (ldap link) -===DONE=== diff --git a/ext/ldap/tests/ldap_control_paged_results_variation1.phpt b/ext/ldap/tests/ldap_control_paged_results_variation1.phpt index 76084cfb4b..fa5af01bd6 100644 --- a/ext/ldap/tests/ldap_control_paged_results_variation1.phpt +++ b/ext/ldap/tests/ldap_control_paged_results_variation1.phpt @@ -22,7 +22,6 @@ var_dump( ldap_get_entries($link, $result) ); ?> -===DONE=== --CLEAN-- <?php include "connect.inc"; @@ -54,4 +53,3 @@ array(2) { string(%d) "cn=userA,%s" } } -===DONE=== diff --git a/ext/ldap/tests/ldap_control_paged_results_variation2.phpt b/ext/ldap/tests/ldap_control_paged_results_variation2.phpt index 6b7eb35537..02f5b9028c 100644 --- a/ext/ldap/tests/ldap_control_paged_results_variation2.phpt +++ b/ext/ldap/tests/ldap_control_paged_results_variation2.phpt @@ -22,7 +22,6 @@ var_dump( ldap_get_entries($link, $result) ); ?> -===DONE=== --CLEAN-- <?php include "connect.inc"; @@ -70,4 +69,3 @@ array(3) { string(%d) "cn=userB,%s" } } -===DONE=== diff --git a/ext/ldap/tests/ldap_control_paged_results_variation3.phpt b/ext/ldap/tests/ldap_control_paged_results_variation3.phpt index 0099b1f9a1..e7cc896585 100644 --- a/ext/ldap/tests/ldap_control_paged_results_variation3.phpt +++ b/ext/ldap/tests/ldap_control_paged_results_variation3.phpt @@ -27,7 +27,6 @@ var_dump( ldap_get_entries($link, $result) ); ?> -===DONE=== --CLEAN-- <?php include "connect.inc"; @@ -102,4 +101,3 @@ array(2) { string(%d) "cn=userC,cn=userB,%s" } } -===DONE=== diff --git a/ext/ldap/tests/ldap_controls.phpt b/ext/ldap/tests/ldap_controls.phpt index 8a9c8f9f22..8b2e3e8174 100644 --- a/ext/ldap/tests/ldap_controls.phpt +++ b/ext/ldap/tests/ldap_controls.phpt @@ -50,7 +50,6 @@ var_dump( ldap_get_entries($link, $result)[0]['l'] ); ?> -===DONE=== --CLEAN-- <?php include "connect.inc"; @@ -159,4 +158,3 @@ array(3) { [1]=> string(5) "there" } -===DONE=== diff --git a/ext/ldap/tests/ldap_count_entries_basic.phpt b/ext/ldap/tests/ldap_count_entries_basic.phpt index 7eef960614..01847f1b03 100644 --- a/ext/ldap/tests/ldap_count_entries_basic.phpt +++ b/ext/ldap/tests/ldap_count_entries_basic.phpt @@ -15,7 +15,6 @@ insert_dummy_data($link, $base); $result = ldap_search($link, "$base", "(objectclass=person)"); var_dump(ldap_count_entries($link, $result)); ?> -===DONE=== --CLEAN-- <?php include "connect.inc"; @@ -25,4 +24,3 @@ remove_dummy_data($link, $base); ?> --EXPECT-- int(3) -===DONE=== diff --git a/ext/ldap/tests/ldap_delete_basic.phpt b/ext/ldap/tests/ldap_delete_basic.phpt index 84499f2a06..65331771fb 100644 --- a/ext/ldap/tests/ldap_delete_basic.phpt +++ b/ext/ldap/tests/ldap_delete_basic.phpt @@ -25,7 +25,6 @@ var_dump( @ldap_search($link, "dc=my-domain,$base", "(o=my-domain)") ); ?> -===DONE=== --CLEAN-- <?php require "connect.inc"; @@ -37,4 +36,3 @@ ldap_delete($link, "dc=my-domain,$base"); --EXPECT-- bool(true) bool(false) -===DONE=== diff --git a/ext/ldap/tests/ldap_delete_error.phpt b/ext/ldap/tests/ldap_delete_error.phpt index 30a4c2e277..3faabcc60f 100644 --- a/ext/ldap/tests/ldap_delete_error.phpt +++ b/ext/ldap/tests/ldap_delete_error.phpt @@ -26,7 +26,6 @@ var_dump( ldap_errno($link) ); ?> -===DONE=== --CLEAN-- <?php require "connect.inc"; @@ -43,4 +42,3 @@ Warning: ldap_delete(): Delete: No such object in %s on line %d bool(false) string(14) "No such object" int(32) -===DONE=== diff --git a/ext/ldap/tests/ldap_delete_ext.phpt b/ext/ldap/tests/ldap_delete_ext.phpt index c4d0264088..ab0c1baffd 100644 --- a/ext/ldap/tests/ldap_delete_ext.phpt +++ b/ext/ldap/tests/ldap_delete_ext.phpt @@ -34,7 +34,6 @@ var_dump( @ldap_search($link, "dc=my-domain,$base", "(o=my-domain)") ); ?> -===DONE=== --CLEAN-- <?php require "connect.inc"; @@ -68,4 +67,3 @@ array(2) { } } bool(false) -===DONE=== diff --git a/ext/ldap/tests/ldap_err2str_basic.phpt b/ext/ldap/tests/ldap_err2str_basic.phpt index 0ecad03402..fe04d3ca44 100644 --- a/ext/ldap/tests/ldap_err2str_basic.phpt +++ b/ext/ldap/tests/ldap_err2str_basic.phpt @@ -9,7 +9,5 @@ Patrick Allaert <patrickallaert@php.net> <?php var_dump(ldap_err2str(2)); ?> -===DONE=== --EXPECT-- string(14) "Protocol error" -===DONE=== diff --git a/ext/ldap/tests/ldap_errno_basic.phpt b/ext/ldap/tests/ldap_errno_basic.phpt index 58fa9387c0..9d2099c6e3 100644 --- a/ext/ldap/tests/ldap_errno_basic.phpt +++ b/ext/ldap/tests/ldap_errno_basic.phpt @@ -24,7 +24,5 @@ var_dump( ldap_errno($link) ); ?> -===DONE=== --EXPECT-- int(34) -===DONE=== diff --git a/ext/ldap/tests/ldap_error_basic.phpt b/ext/ldap/tests/ldap_error_basic.phpt index ba42d1d32e..4d866d5a44 100644 --- a/ext/ldap/tests/ldap_error_basic.phpt +++ b/ext/ldap/tests/ldap_error_basic.phpt @@ -24,7 +24,5 @@ var_dump( ldap_error($link) ); ?> -===DONE=== --EXPECT-- string(17) "Invalid DN syntax" -===DONE=== diff --git a/ext/ldap/tests/ldap_exop.phpt b/ext/ldap/tests/ldap_exop.phpt index f5543c0e4e..7d47a9812c 100644 --- a/ext/ldap/tests/ldap_exop.phpt +++ b/ext/ldap/tests/ldap_exop.phpt @@ -55,7 +55,6 @@ var_dump( test_bind($host, $port, "cn=userA,$base", $genpw, $protocol_version) ); ?> -===DONE=== --CLEAN-- <?php require "connect.inc"; @@ -79,4 +78,3 @@ bool(true) string(%d) "%s" string(0) "" bool(true) -===DONE=== diff --git a/ext/ldap/tests/ldap_exop_passwd.phpt b/ext/ldap/tests/ldap_exop_passwd.phpt index e50b30760c..1b0a1e7397 100644 --- a/ext/ldap/tests/ldap_exop_passwd.phpt +++ b/ext/ldap/tests/ldap_exop_passwd.phpt @@ -24,7 +24,6 @@ var_dump( test_bind($host, $port, "cn=userA,$base", "newPassword", $protocol_version) ); ?> -===DONE=== --CLEAN-- <?php require "connect.inc"; @@ -41,4 +40,3 @@ string(%d) "%s" bool(true) bool(true) bool(true) -===DONE=== diff --git a/ext/ldap/tests/ldap_exop_passwd_error.phpt b/ext/ldap/tests/ldap_exop_passwd_error.phpt index bfb0cbcae2..de21b7af8e 100644 --- a/ext/ldap/tests/ldap_exop_passwd_error.phpt +++ b/ext/ldap/tests/ldap_exop_passwd_error.phpt @@ -18,7 +18,6 @@ var_dump(ldap_error($link)); var_dump(ldap_errno($link)); var_dump(test_bind($host, $port, "cn=userA,$base", "newPassword", $protocol_version)); ?> -===DONE=== --CLEAN-- <?php require "connect.inc"; @@ -37,4 +36,3 @@ int(53) Warning: ldap_bind(): Unable to bind to server: Invalid credentials in %s on line %d bool(false) -===DONE=== diff --git a/ext/ldap/tests/ldap_exop_refresh.phpt b/ext/ldap/tests/ldap_exop_refresh.phpt index 13539d53c1..80660499af 100644 --- a/ext/ldap/tests/ldap_exop_refresh.phpt +++ b/ext/ldap/tests/ldap_exop_refresh.phpt @@ -29,7 +29,6 @@ var_dump( ldap_exop_refresh($link, "cn=tmp,$base", 1234) ); ?> -===DONE=== --CLEAN-- <?php include "connect.inc"; @@ -40,4 +39,3 @@ remove_dummy_data($link, $base); ?> --EXPECT-- int(1234) -===DONE=== diff --git a/ext/ldap/tests/ldap_exop_whoami.phpt b/ext/ldap/tests/ldap_exop_whoami.phpt index 368038f3bd..2c71848b00 100644 --- a/ext/ldap/tests/ldap_exop_whoami.phpt +++ b/ext/ldap/tests/ldap_exop_whoami.phpt @@ -17,7 +17,6 @@ var_dump( ldap_exop_whoami($link) ); ?> -===DONE=== --CLEAN-- <?php require "connect.inc"; @@ -28,4 +27,3 @@ remove_dummy_data($link, $base); ?> --EXPECTF-- string(%d) "dn:%s" -===DONE=== diff --git a/ext/ldap/tests/ldap_first_attribute_basic.phpt b/ext/ldap/tests/ldap_first_attribute_basic.phpt index eec67c5f90..e87b70c474 100644 --- a/ext/ldap/tests/ldap_first_attribute_basic.phpt +++ b/ext/ldap/tests/ldap_first_attribute_basic.phpt @@ -18,7 +18,6 @@ var_dump( ldap_first_attribute($link, $entry) ); ?> -===DONE=== --CLEAN-- <?php include "connect.inc"; @@ -28,4 +27,3 @@ remove_dummy_data($link, $base); ?> --EXPECT-- string(11) "objectClass" -===DONE=== diff --git a/ext/ldap/tests/ldap_first_attribute_error.phpt b/ext/ldap/tests/ldap_first_attribute_error.phpt index 9737df96c6..79138669bc 100644 --- a/ext/ldap/tests/ldap_first_attribute_error.phpt +++ b/ext/ldap/tests/ldap_first_attribute_error.phpt @@ -16,7 +16,5 @@ try { echo $e->getMessage(), "\n"; } ?> -===DONE=== --EXPECT-- ldap_first_attribute(): supplied resource is not a valid ldap result entry resource -===DONE=== diff --git a/ext/ldap/tests/ldap_first_entry_basic.phpt b/ext/ldap/tests/ldap_first_entry_basic.phpt index 5ba6ac42a4..99b79e4d29 100644 --- a/ext/ldap/tests/ldap_first_entry_basic.phpt +++ b/ext/ldap/tests/ldap_first_entry_basic.phpt @@ -18,7 +18,6 @@ var_dump( ldap_get_values($link, $entry, 'sn') ); ?> -===DONE=== --CLEAN-- <?php include "connect.inc"; @@ -34,4 +33,3 @@ array(2) { ["count"]=> int(1) } -===DONE=== diff --git a/ext/ldap/tests/ldap_first_reference_basic.phpt b/ext/ldap/tests/ldap_first_reference_basic.phpt index 9c83c9127d..0e41ee2458 100644 --- a/ext/ldap/tests/ldap_first_reference_basic.phpt +++ b/ext/ldap/tests/ldap_first_reference_basic.phpt @@ -23,7 +23,6 @@ $refs = null; ldap_parse_reference($link, $ref, $refs); var_dump($refs); ?> -===DONE=== --CLEAN-- <?php include "connect.inc"; @@ -39,4 +38,3 @@ array(1) { [0]=> string(%d) "cn=userA,%s" } -===DONE=== diff --git a/ext/ldap/tests/ldap_free_result_basic.phpt b/ext/ldap/tests/ldap_free_result_basic.phpt index ff2f5402c3..dead9a62d3 100644 --- a/ext/ldap/tests/ldap_free_result_basic.phpt +++ b/ext/ldap/tests/ldap_free_result_basic.phpt @@ -15,7 +15,6 @@ insert_dummy_data($link, $base); $result = ldap_search($link, "$base", "(objectclass=person)"); var_dump(ldap_free_result($result)); ?> -===DONE=== --CLEAN-- <?php include "connect.inc"; @@ -25,4 +24,3 @@ remove_dummy_data($link, $base); ?> --EXPECT-- bool(true) -===DONE=== diff --git a/ext/ldap/tests/ldap_get_attributes_basic.phpt b/ext/ldap/tests/ldap_get_attributes_basic.phpt index b831a7f164..8cb374b27f 100644 --- a/ext/ldap/tests/ldap_get_attributes_basic.phpt +++ b/ext/ldap/tests/ldap_get_attributes_basic.phpt @@ -18,7 +18,6 @@ var_dump( ldap_get_attributes($link, $entry) ); ?> -===DONE=== --CLEAN-- <?php include "connect.inc"; @@ -51,4 +50,3 @@ array(5) { ["count"]=> int(2) } -===DONE=== diff --git a/ext/ldap/tests/ldap_get_dn_basic.phpt b/ext/ldap/tests/ldap_get_dn_basic.phpt index 38c252c5bb..0cb6c833a6 100644 --- a/ext/ldap/tests/ldap_get_dn_basic.phpt +++ b/ext/ldap/tests/ldap_get_dn_basic.phpt @@ -18,7 +18,6 @@ var_dump( ldap_get_dn($link, $entry) ); ?> -===DONE=== --CLEAN-- <?php include "connect.inc"; @@ -28,4 +27,3 @@ remove_dummy_data($link, $base); ?> --EXPECTF-- string(%d) "%s" -===DONE=== diff --git a/ext/ldap/tests/ldap_get_entries_basic.phpt b/ext/ldap/tests/ldap_get_entries_basic.phpt index 3efa818ee2..e1806fca69 100644 --- a/ext/ldap/tests/ldap_get_entries_basic.phpt +++ b/ext/ldap/tests/ldap_get_entries_basic.phpt @@ -20,7 +20,6 @@ var_dump( ) ); ?> -===DONE=== --CLEAN-- <?php require "connect.inc"; @@ -60,4 +59,3 @@ array(2) { string(%d) "o=test,%s" } } -===DONE=== diff --git a/ext/ldap/tests/ldap_get_entries_variation.phpt b/ext/ldap/tests/ldap_get_entries_variation.phpt index 87d155a94c..767f9dcd08 100644 --- a/ext/ldap/tests/ldap_get_entries_variation.phpt +++ b/ext/ldap/tests/ldap_get_entries_variation.phpt @@ -20,7 +20,6 @@ var_dump( ) ); ?> -===DONE=== --CLEAN-- <?php require "connect.inc"; @@ -33,4 +32,3 @@ array(1) { ["count"]=> int(0) } -===DONE=== diff --git a/ext/ldap/tests/ldap_get_option_basic.phpt b/ext/ldap/tests/ldap_get_option_basic.phpt index 3136a5acb8..9bbaf3e41d 100644 --- a/ext/ldap/tests/ldap_get_option_basic.phpt +++ b/ext/ldap/tests/ldap_get_option_basic.phpt @@ -18,8 +18,6 @@ var_dump( $option ); ?> -===DONE=== --EXPECT-- bool(true) int(3) -===DONE=== diff --git a/ext/ldap/tests/ldap_get_option_controls.phpt b/ext/ldap/tests/ldap_get_option_controls.phpt index abe35497d6..1a6e18c4c4 100644 --- a/ext/ldap/tests/ldap_get_option_controls.phpt +++ b/ext/ldap/tests/ldap_get_option_controls.phpt @@ -58,7 +58,6 @@ var_dump( ldap_get_option($link, LDAP_OPT_SERVER_CONTROLS, $controls_get) ); ?> -===DONE=== --CLEAN-- <?php include "connect.inc"; @@ -109,4 +108,3 @@ resource(%d) of type (ldap result) int(1) bool(true) bool(false) -===DONE=== diff --git a/ext/ldap/tests/ldap_get_option_package_basic.phpt b/ext/ldap/tests/ldap_get_option_package_basic.phpt index af8146dc9c..1ad9442a38 100644 --- a/ext/ldap/tests/ldap_get_option_package_basic.phpt +++ b/ext/ldap/tests/ldap_get_option_package_basic.phpt @@ -14,8 +14,6 @@ var_dump(in_array($optionval, ['GnuTLS', 'OpenSSL', 'MozNSS'])); // This is a read-only option. var_dump(ldap_set_option($link, LDAP_OPT_X_TLS_PACKAGE, 'foo')); ?> -===DONE=== --EXPECT-- bool(true) bool(false) -===DONE=== diff --git a/ext/ldap/tests/ldap_get_option_variation.phpt b/ext/ldap/tests/ldap_get_option_variation.phpt index a18318849f..6852af3b3d 100644 --- a/ext/ldap/tests/ldap_get_option_variation.phpt +++ b/ext/ldap/tests/ldap_get_option_variation.phpt @@ -48,7 +48,6 @@ var_dump( $option ); ?> -===DONE=== --EXPECT-- bool(true) int(0) @@ -106,4 +105,3 @@ array(2) { string(5) "magic" } } -===DONE=== diff --git a/ext/ldap/tests/ldap_get_values_len_basic.phpt b/ext/ldap/tests/ldap_get_values_len_basic.phpt index 33084f48ab..af3fcd60ce 100644 --- a/ext/ldap/tests/ldap_get_values_len_basic.phpt +++ b/ext/ldap/tests/ldap_get_values_len_basic.phpt @@ -18,7 +18,6 @@ var_dump( ldap_get_values_len($link, $entry, "o") ); ?> -===DONE=== --CLEAN-- <?php include "connect.inc"; @@ -33,4 +32,3 @@ array(2) { ["count"]=> int(1) } -===DONE=== diff --git a/ext/ldap/tests/ldap_get_values_len_error.phpt b/ext/ldap/tests/ldap_get_values_len_error.phpt index 8040dd6dab..df1a380082 100644 --- a/ext/ldap/tests/ldap_get_values_len_error.phpt +++ b/ext/ldap/tests/ldap_get_values_len_error.phpt @@ -17,7 +17,6 @@ $entry = ldap_first_entry($link, $result); var_dump(ldap_get_values_len($link, $entry, "inexistentAttribute")); ?> -===DONE=== --CLEAN-- <?php include "connect.inc"; @@ -28,4 +27,3 @@ remove_dummy_data($link, $base); --EXPECTF-- Warning: ldap_get_values_len(): Cannot get the value(s) of attribute %s in %s on line %d bool(false) -===DONE=== diff --git a/ext/ldap/tests/ldap_list_basic.phpt b/ext/ldap/tests/ldap_list_basic.phpt index 1aadab6a17..840183623a 100644 --- a/ext/ldap/tests/ldap_list_basic.phpt +++ b/ext/ldap/tests/ldap_list_basic.phpt @@ -20,7 +20,6 @@ var_dump( ldap_get_entries($link, $result) ); ?> -===DONE=== --CLEAN-- <?php include "connect.inc"; @@ -147,4 +146,3 @@ array(3) { string(%d) "cn=userB,%s" } } -===DONE=== diff --git a/ext/ldap/tests/ldap_mod_add_basic.phpt b/ext/ldap/tests/ldap_mod_add_basic.phpt index a05a6a0418..631e57ecdd 100644 --- a/ext/ldap/tests/ldap_mod_add_basic.phpt +++ b/ext/ldap/tests/ldap_mod_add_basic.phpt @@ -25,7 +25,6 @@ var_dump( ) ); ?> -===DONE=== --CLEAN-- <?php require "connect.inc"; @@ -76,4 +75,3 @@ array(2) { string(%d) "o=test,%s" } } -===DONE=== diff --git a/ext/ldap/tests/ldap_mod_add_error.phpt b/ext/ldap/tests/ldap_mod_add_error.phpt index 4cf5ae5725..561f1633f3 100644 --- a/ext/ldap/tests/ldap_mod_add_error.phpt +++ b/ext/ldap/tests/ldap_mod_add_error.phpt @@ -39,7 +39,6 @@ $entry2["weirdAttribute"] = "weirdVal"; var_dump(ldap_mod_add($link, "dc=my-domain,$base", $entry2)); ?> -===DONE=== --CLEAN-- <?php require "connect.inc"; @@ -60,4 +59,3 @@ bool(false) Warning: ldap_mod_add(): Modify: Undefined attribute type in %s on line %d bool(false) -===DONE=== diff --git a/ext/ldap/tests/ldap_mod_del_basic.phpt b/ext/ldap/tests/ldap_mod_del_basic.phpt index 788ac0adb3..fee0c8d4aa 100644 --- a/ext/ldap/tests/ldap_mod_del_basic.phpt +++ b/ext/ldap/tests/ldap_mod_del_basic.phpt @@ -25,7 +25,6 @@ var_dump( ) ); ?> -===DONE=== --CLEAN-- <?php require "connect.inc"; @@ -40,4 +39,3 @@ array(1) { ["count"]=> int(0) } -===DONE=== diff --git a/ext/ldap/tests/ldap_mod_del_error.phpt b/ext/ldap/tests/ldap_mod_del_error.phpt index 1cdf18a0c5..6df125c1b7 100644 --- a/ext/ldap/tests/ldap_mod_del_error.phpt +++ b/ext/ldap/tests/ldap_mod_del_error.phpt @@ -21,7 +21,6 @@ var_dump(ldap_mod_del($link, "weirdAttribute=val", array())); // Invalid attributes var_dump(ldap_mod_del($link, "$base", array('dc'))); ?> -===DONE=== --CLEAN-- <?php require "connect.inc"; @@ -39,4 +38,3 @@ bool(false) Warning: ldap_mod_del(): Unknown attribute in the data in %s on line %d bool(false) -===DONE=== diff --git a/ext/ldap/tests/ldap_mod_ext.phpt b/ext/ldap/tests/ldap_mod_ext.phpt index 391ecbf909..f27e05100d 100644 --- a/ext/ldap/tests/ldap_mod_ext.phpt +++ b/ext/ldap/tests/ldap_mod_ext.phpt @@ -53,7 +53,6 @@ var_dump( ) ); ?> -===DONE=== --CLEAN-- <?php require "connect.inc"; @@ -169,4 +168,3 @@ array(1) { ["count"]=> int(0) } -===DONE=== diff --git a/ext/ldap/tests/ldap_mod_replace_basic.phpt b/ext/ldap/tests/ldap_mod_replace_basic.phpt index 8e9fd4dcad..6e47158db1 100644 --- a/ext/ldap/tests/ldap_mod_replace_basic.phpt +++ b/ext/ldap/tests/ldap_mod_replace_basic.phpt @@ -25,7 +25,6 @@ var_dump( ) ); ?> -===DONE=== --CLEAN-- <?php require "connect.inc"; @@ -56,4 +55,3 @@ array(2) { string(%d) "cn=userA,%s" } } -===DONE=== diff --git a/ext/ldap/tests/ldap_mod_replace_error.phpt b/ext/ldap/tests/ldap_mod_replace_error.phpt index b920ebafad..6a12107651 100644 --- a/ext/ldap/tests/ldap_mod_replace_error.phpt +++ b/ext/ldap/tests/ldap_mod_replace_error.phpt @@ -21,7 +21,6 @@ var_dump(ldap_mod_replace($link, "weirdAttribute=val", array())); // Invalid attributes var_dump(ldap_mod_replace($link, "$base", array('dc'))); ?> -===DONE=== --CLEAN-- <?php require "connect.inc"; @@ -37,4 +36,3 @@ bool(false) Warning: ldap_mod_replace(): Unknown attribute in the data in %s on line %d bool(false) -===DONE=== diff --git a/ext/ldap/tests/ldap_modify_basic.phpt b/ext/ldap/tests/ldap_modify_basic.phpt index 2f6a51af4d..487ec753a0 100644 --- a/ext/ldap/tests/ldap_modify_basic.phpt +++ b/ext/ldap/tests/ldap_modify_basic.phpt @@ -29,7 +29,6 @@ var_dump( ) ); ?> -===DONE=== --CLEAN-- <?php require "connect.inc"; @@ -80,4 +79,3 @@ array(2) { string(%d) "o=test,%s" } } -===DONE=== diff --git a/ext/ldap/tests/ldap_modify_batch_basic.phpt b/ext/ldap/tests/ldap_modify_batch_basic.phpt index 0bec0e03c4..96fadb44c3 100644 --- a/ext/ldap/tests/ldap_modify_batch_basic.phpt +++ b/ext/ldap/tests/ldap_modify_batch_basic.phpt @@ -37,7 +37,6 @@ var_dump( ldap_get_entries($link, ldap_search($link, "$base", "(sn=Brown-Smith)")) ); ?> -===DONE=== --CLEAN-- <?php require "connect.inc"; @@ -106,4 +105,3 @@ array(2) { string(%d) "cn=userA,%s" } } -===DONE=== diff --git a/ext/ldap/tests/ldap_modify_batch_error.phpt b/ext/ldap/tests/ldap_modify_batch_error.phpt index e1806fdf11..d18bd6729d 100644 --- a/ext/ldap/tests/ldap_modify_batch_error.phpt +++ b/ext/ldap/tests/ldap_modify_batch_error.phpt @@ -60,7 +60,6 @@ $mods = array( var_dump(ldap_modify_batch($link, "dc=my-domain,$base", $mods)); ?> -===DONE=== --CLEAN-- <?php require "connect.inc"; @@ -81,4 +80,3 @@ bool(false) Warning: ldap_modify_batch(): Batch Modify: Undefined attribute type in %s on line %d bool(false) -===DONE=== diff --git a/ext/ldap/tests/ldap_modify_error.phpt b/ext/ldap/tests/ldap_modify_error.phpt index 4e10e77349..b4e29a58c6 100644 --- a/ext/ldap/tests/ldap_modify_error.phpt +++ b/ext/ldap/tests/ldap_modify_error.phpt @@ -39,7 +39,6 @@ $entry2["weirdAttribute"] = "weirdVal"; var_dump(ldap_modify($link, "dc=my-domain,$base", $entry2)); ?> -===DONE=== --CLEAN-- <?php require "connect.inc"; @@ -60,4 +59,3 @@ bool(false) Warning: ldap_modify(): Modify: Undefined attribute type in %s on line %d bool(false) -===DONE=== diff --git a/ext/ldap/tests/ldap_next_attribute_basic.phpt b/ext/ldap/tests/ldap_next_attribute_basic.phpt index 1acc0e1ad1..d6c753c4a4 100644 --- a/ext/ldap/tests/ldap_next_attribute_basic.phpt +++ b/ext/ldap/tests/ldap_next_attribute_basic.phpt @@ -22,7 +22,6 @@ var_dump( ldap_next_attribute($link, $entry) ); ?> -===DONE=== --CLEAN-- <?php include "connect.inc"; @@ -35,4 +34,3 @@ string(%d) "%s" string(%d) "%s" string(%d) "%s" bool(false) -===DONE=== diff --git a/ext/ldap/tests/ldap_next_attribute_error.phpt b/ext/ldap/tests/ldap_next_attribute_error.phpt index 9d668d9c1b..e01297da50 100644 --- a/ext/ldap/tests/ldap_next_attribute_error.phpt +++ b/ext/ldap/tests/ldap_next_attribute_error.phpt @@ -18,7 +18,6 @@ var_dump( ldap_next_attribute($link, $entry) ); ?> -===DONE=== --CLEAN-- <?php include "connect.inc"; @@ -29,4 +28,3 @@ remove_dummy_data($link, $base); --EXPECTF-- Warning: ldap_next_attribute(): called before calling ldap_first_attribute() or no attributes found in result entry in %s on line %d bool(false) -===DONE=== diff --git a/ext/ldap/tests/ldap_next_entry_basic.phpt b/ext/ldap/tests/ldap_next_entry_basic.phpt index dd43715239..9a7cc456b1 100644 --- a/ext/ldap/tests/ldap_next_entry_basic.phpt +++ b/ext/ldap/tests/ldap_next_entry_basic.phpt @@ -20,7 +20,6 @@ var_dump( $entry = ldap_next_entry($link, $entry) ); ?> -===DONE=== --CLEAN-- <?php include "connect.inc"; @@ -37,4 +36,3 @@ array(2) { int(1) } bool(false) -===DONE=== diff --git a/ext/ldap/tests/ldap_next_reference_basic.phpt b/ext/ldap/tests/ldap_next_reference_basic.phpt index 2476e02c57..7af26ff91c 100644 --- a/ext/ldap/tests/ldap_next_reference_basic.phpt +++ b/ext/ldap/tests/ldap_next_reference_basic.phpt @@ -28,7 +28,6 @@ var_dump($ref2 = ldap_next_reference($link, $ref)); ldap_parse_reference($link, $ref2, $refs); var_dump($refs); ?> -===DONE=== --CLEAN-- <?php include "connect.inc"; @@ -45,4 +44,3 @@ array(1) { [0]=> string(%d) "cn=userB,%s" } -===DONE=== diff --git a/ext/ldap/tests/ldap_option_reqcert_basic.phpt b/ext/ldap/tests/ldap_option_reqcert_basic.phpt index 04ced6ecbe..e774a0e03f 100644 --- a/ext/ldap/tests/ldap_option_reqcert_basic.phpt +++ b/ext/ldap/tests/ldap_option_reqcert_basic.phpt @@ -18,7 +18,5 @@ ldap_set_option($link, LDAP_OPT_PROTOCOL_VERSION, $protocol_version); var_dump(@ldap_bind($link, $user, $passwd)); ?> -===DONE=== --EXPECT-- bool(true) -===DONE=== diff --git a/ext/ldap/tests/ldap_option_reqcert_error.phpt b/ext/ldap/tests/ldap_option_reqcert_error.phpt index 477c4aba39..9f45e7f604 100644 --- a/ext/ldap/tests/ldap_option_reqcert_error.phpt +++ b/ext/ldap/tests/ldap_option_reqcert_error.phpt @@ -18,7 +18,5 @@ ldap_set_option($link, LDAP_OPT_PROTOCOL_VERSION, $protocol_version); var_dump(@ldap_bind($link, $user, $passwd)); ?> -===DONE=== --EXPECT-- bool(true) -===DONE=== diff --git a/ext/ldap/tests/ldap_parse_reference_basic.phpt b/ext/ldap/tests/ldap_parse_reference_basic.phpt index 249f2959f3..27b43cc084 100644 --- a/ext/ldap/tests/ldap_parse_reference_basic.phpt +++ b/ext/ldap/tests/ldap_parse_reference_basic.phpt @@ -25,7 +25,6 @@ var_dump( $refs ); ?> -===DONE=== --CLEAN-- <?php include "connect.inc"; @@ -42,4 +41,3 @@ array(1) { [0]=> string(%d) "cn=userA,%s" } -===DONE=== diff --git a/ext/ldap/tests/ldap_parse_result_basic.phpt b/ext/ldap/tests/ldap_parse_result_basic.phpt index e2a975d5b1..c9bdc6cbca 100644 --- a/ext/ldap/tests/ldap_parse_result_basic.phpt +++ b/ext/ldap/tests/ldap_parse_result_basic.phpt @@ -24,7 +24,6 @@ var_dump( $errcode, $dn, $errmsg, $refs ); ?> -===DONE=== --CLEAN-- <?php include "connect.inc"; @@ -43,4 +42,3 @@ array(1) { [0]=> string(%d) "cn=userA,%s" } -===DONE=== diff --git a/ext/ldap/tests/ldap_parse_result_controls.phpt b/ext/ldap/tests/ldap_parse_result_controls.phpt index 8ce2328d2f..76dc2fcb15 100644 --- a/ext/ldap/tests/ldap_parse_result_controls.phpt +++ b/ext/ldap/tests/ldap_parse_result_controls.phpt @@ -28,7 +28,6 @@ var_dump( ldap_get_entries($link, $result)['count'] ); ?> -===DONE=== --CLEAN-- <?php include "connect.inc"; @@ -45,4 +44,3 @@ string(22) "1.2.840.113556.1.4.319" int(%d) string(%d) "%s" int(1) -===DONE=== diff --git a/ext/ldap/tests/ldap_read_basic.phpt b/ext/ldap/tests/ldap_read_basic.phpt index 5a6e7ed057..75d3693bce 100644 --- a/ext/ldap/tests/ldap_read_basic.phpt +++ b/ext/ldap/tests/ldap_read_basic.phpt @@ -20,7 +20,6 @@ var_dump( ldap_get_entries($link, $result) ); ?> -===DONE=== --CLEAN-- <?php include "connect.inc"; @@ -61,4 +60,3 @@ array(2) { string(%d) "o=test,%s" } } -===DONE=== diff --git a/ext/ldap/tests/ldap_rename_basic.phpt b/ext/ldap/tests/ldap_rename_basic.phpt index c01c4318a6..c083b7a03f 100644 --- a/ext/ldap/tests/ldap_rename_basic.phpt +++ b/ext/ldap/tests/ldap_rename_basic.phpt @@ -19,7 +19,6 @@ $result = ldap_search($link, "$base", "(cn=userA)", array("cn", "sn")); $result = ldap_search($link, "$base", "(cn=userZ)", array("cn", "sn")); var_dump(ldap_get_entries($link, $result)); ?> -===DONE=== --CLEAN-- <?php include "connect.inc"; @@ -59,4 +58,3 @@ array(2) { string(%d) "cn=userZ,%s" } } -===DONE=== diff --git a/ext/ldap/tests/ldap_rename_ext.phpt b/ext/ldap/tests/ldap_rename_ext.phpt index bee180b6f7..009a7f32c5 100644 --- a/ext/ldap/tests/ldap_rename_ext.phpt +++ b/ext/ldap/tests/ldap_rename_ext.phpt @@ -33,7 +33,6 @@ var_dump( ldap_count_entries($link, ldap_search($link, "$base", "(cn=userZ)", array("cn"))) ); ?> -===DONE=== --CLEAN-- <?php require "connect.inc"; @@ -77,4 +76,3 @@ array(2) { } int(0) int(1) -===DONE=== diff --git a/ext/ldap/tests/ldap_sasl_bind_basic.phpt b/ext/ldap/tests/ldap_sasl_bind_basic.phpt index 49c2f24a67..d447572e09 100644 --- a/ext/ldap/tests/ldap_sasl_bind_basic.phpt +++ b/ext/ldap/tests/ldap_sasl_bind_basic.phpt @@ -21,7 +21,5 @@ $link = ldap_connect($host, $port); ldap_set_option($link, LDAP_OPT_PROTOCOL_VERSION, $protocol_version); var_dump(ldap_sasl_bind($link, null, $passwd, 'DIGEST-MD5', 'realm', $sasl_user)); ?> -===DONE=== --EXPECT-- bool(true) -===DONE=== diff --git a/ext/ldap/tests/ldap_sasl_bind_error.phpt b/ext/ldap/tests/ldap_sasl_bind_error.phpt index 9feb912c7e..eb68370ff6 100644 --- a/ext/ldap/tests/ldap_sasl_bind_error.phpt +++ b/ext/ldap/tests/ldap_sasl_bind_error.phpt @@ -28,7 +28,6 @@ var_dump(ldap_sasl_bind($link, null, $passwd, 'DIGEST-MD5', "realm", "Manager", // Invalid DN syntax var_dump(ldap_sasl_bind($link, "unexistingProperty=weirdValue,$user", $passwd)); ?> -===DONE=== --EXPECTF-- Warning: ldap_sasl_bind(): Unable to bind to server: Invalid DN syntax in %s on line %d bool(false) @@ -44,4 +43,3 @@ bool(false) Warning: ldap_sasl_bind(): Unable to bind to server: Invalid DN syntax in %s on line %d bool(false) -===DONE=== diff --git a/ext/ldap/tests/ldap_search_basic.phpt b/ext/ldap/tests/ldap_search_basic.phpt index 618366b1a1..8c77a63e8a 100644 --- a/ext/ldap/tests/ldap_search_basic.phpt +++ b/ext/ldap/tests/ldap_search_basic.phpt @@ -21,7 +21,6 @@ var_dump( ldap_get_entries($link, $result) ); ?> -===DONE=== --CLEAN-- <?php include "connect.inc"; @@ -191,4 +190,3 @@ array(4) { string(%d) "cn=userC,cn=userB,%s" } } -===DONE=== diff --git a/ext/ldap/tests/ldap_search_error.phpt b/ext/ldap/tests/ldap_search_error.phpt index c2e9f32456..0a260b2884 100644 --- a/ext/ldap/tests/ldap_search_error.phpt +++ b/ext/ldap/tests/ldap_search_error.phpt @@ -30,7 +30,6 @@ var_dump($result); $result = ldap_search(array($link, $link), $dn, array($filter), array('top')); var_dump($result); ?> -===DONE=== --EXPECTF-- Warning: ldap_search(): Search: No such object in %s on line %d bool(false) @@ -46,4 +45,3 @@ bool(false) Warning: ldap_search(): Filter must either be a string, or an array with the same number of elements as the links array in %s on line %d bool(false) -===DONE=== diff --git a/ext/ldap/tests/ldap_search_overrides.phpt b/ext/ldap/tests/ldap_search_overrides.phpt index 2434fe5db2..e2d51079f4 100644 --- a/ext/ldap/tests/ldap_search_overrides.phpt +++ b/ext/ldap/tests/ldap_search_overrides.phpt @@ -34,7 +34,6 @@ var_dump( $option ); ?> -===DONE=== --CLEAN-- <?php include "connect.inc"; @@ -212,4 +211,3 @@ bool(true) int(33) bool(true) int(44) -===DONE=== diff --git a/ext/ldap/tests/ldap_search_paged_result_controls.phpt b/ext/ldap/tests/ldap_search_paged_result_controls.phpt index 2187a54148..04825a9ecd 100644 --- a/ext/ldap/tests/ldap_search_paged_result_controls.phpt +++ b/ext/ldap/tests/ldap_search_paged_result_controls.phpt @@ -28,7 +28,6 @@ var_dump( ldap_get_entries($link, $result) ); ?> -===DONE=== --CLEAN-- <?php include "connect.inc"; @@ -96,4 +95,3 @@ array(2) { string(%d) "cn=userC,cn=userB,%s" } } -===DONE=== diff --git a/ext/ldap/tests/ldap_search_sort_controls.phpt b/ext/ldap/tests/ldap_search_sort_controls.phpt index 16504a6997..b7533e54f7 100644 --- a/ext/ldap/tests/ldap_search_sort_controls.phpt +++ b/ext/ldap/tests/ldap_search_sort_controls.phpt @@ -70,7 +70,6 @@ var_dump( bin2hex($controls[LDAP_CONTROL_VLVRESPONSE]['value']['context']) ); ?> -===DONE=== --CLEAN-- <?php include "connect.inc"; @@ -204,4 +203,3 @@ int(2) int(3) int(0) string(%d) "%s" -===DONE=== diff --git a/ext/ldap/tests/ldap_search_variation1.phpt b/ext/ldap/tests/ldap_search_variation1.phpt index 766efa7598..5fa30b4c7a 100644 --- a/ext/ldap/tests/ldap_search_variation1.phpt +++ b/ext/ldap/tests/ldap_search_variation1.phpt @@ -23,7 +23,6 @@ var_dump( ldap_get_entries($link, $result) ); ?> -===DONE=== --CLEAN-- <?php include "connect.inc"; @@ -53,4 +52,3 @@ array(2) { string(%d) "o=test,%s" } } -===DONE=== diff --git a/ext/ldap/tests/ldap_search_variation2.phpt b/ext/ldap/tests/ldap_search_variation2.phpt index f2ad3a6929..c06afbaac0 100644 --- a/ext/ldap/tests/ldap_search_variation2.phpt +++ b/ext/ldap/tests/ldap_search_variation2.phpt @@ -21,7 +21,6 @@ var_dump( ldap_get_entries($link, $result) ); ?> -===DONE=== --CLEAN-- <?php include "connect.inc"; @@ -77,4 +76,3 @@ array(4) { string(%d) "cn=userC,cn=userB,%s" } } -===DONE=== diff --git a/ext/ldap/tests/ldap_search_variation3.phpt b/ext/ldap/tests/ldap_search_variation3.phpt index 12224de24d..2a07654e4f 100644 --- a/ext/ldap/tests/ldap_search_variation3.phpt +++ b/ext/ldap/tests/ldap_search_variation3.phpt @@ -28,7 +28,6 @@ var_dump( ldap_get_entries($link, $result) ); ?> -===DONE=== --CLEAN-- <?php include "connect.inc"; @@ -105,4 +104,3 @@ array(2) { string(%d) "cn=userA,%s" } } -===DONE=== diff --git a/ext/ldap/tests/ldap_search_variation4.phpt b/ext/ldap/tests/ldap_search_variation4.phpt index ce164763b9..298777263e 100644 --- a/ext/ldap/tests/ldap_search_variation4.phpt +++ b/ext/ldap/tests/ldap_search_variation4.phpt @@ -23,7 +23,6 @@ var_dump( ldap_get_entries($link, $result) ); ?> -===DONE=== --CLEAN-- <?php include "connect.inc"; @@ -52,4 +51,3 @@ array(2) { string(%d) "cn=userA,%s" } } -===DONE=== diff --git a/ext/ldap/tests/ldap_search_variation5.phpt b/ext/ldap/tests/ldap_search_variation5.phpt index de4d405090..e6ac54e21d 100644 --- a/ext/ldap/tests/ldap_search_variation5.phpt +++ b/ext/ldap/tests/ldap_search_variation5.phpt @@ -31,7 +31,6 @@ var_dump( ldap_get_entries($link, $result) ); ?> -===DONE=== --CLEAN-- <?php include "connect.inc"; @@ -102,4 +101,3 @@ array(2) { string(%d) "cn=userA,%s" } } -===DONE=== diff --git a/ext/ldap/tests/ldap_search_variation6.phpt b/ext/ldap/tests/ldap_search_variation6.phpt index a9202967b4..5938041367 100644 --- a/ext/ldap/tests/ldap_search_variation6.phpt +++ b/ext/ldap/tests/ldap_search_variation6.phpt @@ -35,7 +35,6 @@ var_dump( ldap_get_entries($link, $result[1]) ); ?> -===DONE=== --CLEAN-- <?php include "connect.inc"; @@ -239,4 +238,3 @@ array(1) { ["count"]=> int(0) } -===DONE=== diff --git a/ext/ldap/tests/ldap_set_option_basic.phpt b/ext/ldap/tests/ldap_set_option_basic.phpt index de25e59c21..161f2b5d43 100644 --- a/ext/ldap/tests/ldap_set_option_basic.phpt +++ b/ext/ldap/tests/ldap_set_option_basic.phpt @@ -16,8 +16,6 @@ var_dump(ldap_set_option($link, LDAP_OPT_PROTOCOL_VERSION, $protocol_version)); ldap_get_option($link, LDAP_OPT_PROTOCOL_VERSION, $option); var_dump($option); ?> -===DONE=== --EXPECT-- bool(true) int(3) -===DONE=== diff --git a/ext/ldap/tests/ldap_set_option_cafiles_basic.phpt b/ext/ldap/tests/ldap_set_option_cafiles_basic.phpt index ff93c9de00..492df3bc8b 100644 --- a/ext/ldap/tests/ldap_set_option_cafiles_basic.phpt +++ b/ext/ldap/tests/ldap_set_option_cafiles_basic.phpt @@ -24,7 +24,6 @@ foreach([ var_dump($optionval); } ?> -===DONE=== --EXPECT-- bool(true) string(8) "/foo/bar" @@ -38,4 +37,3 @@ bool(true) string(8) "/foo/bar" bool(true) string(8) "/foo/bar" -===DONE=== diff --git a/ext/ldap/tests/ldap_set_option_ciphersuite_basic.phpt b/ext/ldap/tests/ldap_set_option_ciphersuite_basic.phpt index 9b47a826e5..f80da7c2dd 100644 --- a/ext/ldap/tests/ldap_set_option_ciphersuite_basic.phpt +++ b/ext/ldap/tests/ldap_set_option_ciphersuite_basic.phpt @@ -15,8 +15,6 @@ var_dump($result); ldap_get_option($link, LDAP_OPT_X_TLS_CIPHER_SUITE, $optionval); var_dump($optionval); ?> -===DONE=== --EXPECT-- bool(true) string(4) "3DES" -===DONE=== diff --git a/ext/ldap/tests/ldap_set_option_crlcheck_basic.phpt b/ext/ldap/tests/ldap_set_option_crlcheck_basic.phpt index a9aeec0a7b..f8e3c8cf40 100644 --- a/ext/ldap/tests/ldap_set_option_crlcheck_basic.phpt +++ b/ext/ldap/tests/ldap_set_option_crlcheck_basic.phpt @@ -29,7 +29,6 @@ foreach([ var_dump($optionval); } ?> -===DONE=== --EXPECT-- bool(true) int(0) @@ -37,4 +36,3 @@ bool(true) int(1) bool(true) int(2) -===DONE=== diff --git a/ext/ldap/tests/ldap_set_option_crlcheck_error.phpt b/ext/ldap/tests/ldap_set_option_crlcheck_error.phpt index ea5318344a..053ba41c61 100644 --- a/ext/ldap/tests/ldap_set_option_crlcheck_error.phpt +++ b/ext/ldap/tests/ldap_set_option_crlcheck_error.phpt @@ -11,7 +11,5 @@ $link = ldap_connect($host, $port); $result = ldap_set_option($link, LDAP_OPT_X_TLS_CRLCHECK, 9001); var_dump($result); ?> -===DONE=== --EXPECT-- bool(false) -===DONE=== diff --git a/ext/ldap/tests/ldap_set_option_error.phpt b/ext/ldap/tests/ldap_set_option_error.phpt index a67f972293..e7ef6bac6b 100644 --- a/ext/ldap/tests/ldap_set_option_error.phpt +++ b/ext/ldap/tests/ldap_set_option_error.phpt @@ -30,7 +30,6 @@ foreach ($controls as $control) var_dump(ldap_set_option($link, 999999, 999999)); ?> -===DONE=== --EXPECTF-- bool(false) @@ -43,4 +42,3 @@ bool(false) Warning: ldap_set_option(): Expected array value for this option in %s on line %d bool(false) bool(false) -===DONE=== diff --git a/ext/ldap/tests/ldap_set_option_keepalive_basic.phpt b/ext/ldap/tests/ldap_set_option_keepalive_basic.phpt index 211644b444..865345dc4d 100644 --- a/ext/ldap/tests/ldap_set_option_keepalive_basic.phpt +++ b/ext/ldap/tests/ldap_set_option_keepalive_basic.phpt @@ -21,7 +21,6 @@ foreach([ var_dump($optionval); } ?> -===DONE=== --EXPECT-- bool(true) int(5) @@ -29,4 +28,3 @@ bool(true) int(5) bool(true) int(5) -===DONE=== diff --git a/ext/ldap/tests/ldap_set_option_reqcert_basic.phpt b/ext/ldap/tests/ldap_set_option_reqcert_basic.phpt index a8d23b9592..220bb2ff31 100644 --- a/ext/ldap/tests/ldap_set_option_reqcert_basic.phpt +++ b/ext/ldap/tests/ldap_set_option_reqcert_basic.phpt @@ -23,7 +23,6 @@ foreach([ var_dump($optionval); } ?> -===DONE=== --EXPECT-- bool(true) int(0) @@ -35,4 +34,3 @@ bool(true) int(3) bool(true) int(4) -===DONE=== diff --git a/ext/ldap/tests/ldap_set_option_reqcert_error.phpt b/ext/ldap/tests/ldap_set_option_reqcert_error.phpt index b59879b97a..b23d445955 100644 --- a/ext/ldap/tests/ldap_set_option_reqcert_error.phpt +++ b/ext/ldap/tests/ldap_set_option_reqcert_error.phpt @@ -11,7 +11,5 @@ $link = ldap_connect($host, $port); $result = ldap_set_option($link, LDAP_OPT_X_TLS_REQUIRE_CERT, 9001); var_dump($result); ?> -===DONE=== --EXPECT-- bool(false) -===DONE=== diff --git a/ext/ldap/tests/ldap_set_option_tls_protocol_min_basic.phpt b/ext/ldap/tests/ldap_set_option_tls_protocol_min_basic.phpt index 81360d0759..796cb8c7e1 100644 --- a/ext/ldap/tests/ldap_set_option_tls_protocol_min_basic.phpt +++ b/ext/ldap/tests/ldap_set_option_tls_protocol_min_basic.phpt @@ -23,7 +23,6 @@ foreach([ var_dump($optionval); } ?> -===DONE=== --EXPECT-- bool(true) int(512) @@ -35,4 +34,3 @@ bool(true) int(770) bool(true) int(771) -===DONE=== diff --git a/ext/ldap/tests/ldap_set_option_variation.phpt b/ext/ldap/tests/ldap_set_option_variation.phpt index 4c0a138552..f31473ef7a 100644 --- a/ext/ldap/tests/ldap_set_option_variation.phpt +++ b/ext/ldap/tests/ldap_set_option_variation.phpt @@ -61,7 +61,6 @@ var_dump( ldap_get_option($link, LDAP_OPT_MATCHED_DN, $option); var_dump($option); ?> -===DONE=== --EXPECT-- bool(true) bool(true) @@ -119,4 +118,3 @@ array(2) { } bool(true) string(14) "dc=test,dc=com" -===DONE=== diff --git a/ext/ldap/tests/ldap_set_rebind_proc_basic.phpt b/ext/ldap/tests/ldap_set_rebind_proc_basic.phpt index 428b8d8f02..cc1fc0c313 100644 --- a/ext/ldap/tests/ldap_set_rebind_proc_basic.phpt +++ b/ext/ldap/tests/ldap_set_rebind_proc_basic.phpt @@ -27,8 +27,6 @@ $link = ldap_connect_and_bind($host, $port, $user, $passwd, $protocol_version); var_dump(ldap_set_rebind_proc($link, "rebind_proc")); var_dump(ldap_set_rebind_proc($link, "")); ?> -===DONE=== --EXPECT-- bool(true) bool(true) -===DONE=== diff --git a/ext/ldap/tests/ldap_set_rebind_proc_error.phpt b/ext/ldap/tests/ldap_set_rebind_proc_error.phpt index c00891b908..6bede460a4 100644 --- a/ext/ldap/tests/ldap_set_rebind_proc_error.phpt +++ b/ext/ldap/tests/ldap_set_rebind_proc_error.phpt @@ -35,8 +35,6 @@ function rebind_proc ($ds, $ldap_url) { $link = ldap_connect($host, $port); var_dump(ldap_set_rebind_proc($link, "rebind_proc_inexistent")); ?> -===DONE=== --EXPECTF-- Warning: ldap_set_rebind_proc(): Two arguments expected for 'rebind_proc_inexistent' to be a valid callback in %s on line %d bool(false) -===DONE=== diff --git a/ext/ldap/tests/ldap_start_tls_basic.phpt b/ext/ldap/tests/ldap_start_tls_basic.phpt index cdb50fd6c9..a9e3c6c97c 100644 --- a/ext/ldap/tests/ldap_start_tls_basic.phpt +++ b/ext/ldap/tests/ldap_start_tls_basic.phpt @@ -14,7 +14,5 @@ $link = ldap_connect($host, $port); ldap_set_option($link, LDAP_OPT_PROTOCOL_VERSION, $protocol_version); var_dump(ldap_start_tls($link)); ?> -===DONE=== --EXPECT-- bool(true) -===DONE=== diff --git a/ext/ldap/tests/ldap_unbind_basic.phpt b/ext/ldap/tests/ldap_unbind_basic.phpt index addfac5597..622d215546 100644 --- a/ext/ldap/tests/ldap_unbind_basic.phpt +++ b/ext/ldap/tests/ldap_unbind_basic.phpt @@ -14,7 +14,5 @@ $link = ldap_connect_and_bind($host, $port, $user, $passwd, $protocol_version); var_dump(ldap_unbind($link)); ?> -===DONE=== --EXPECT-- bool(true) -===DONE=== diff --git a/ext/ldap/tests/ldap_unbind_variation.phpt b/ext/ldap/tests/ldap_unbind_variation.phpt index 60edb03b68..3233e90b6f 100644 --- a/ext/ldap/tests/ldap_unbind_variation.phpt +++ b/ext/ldap/tests/ldap_unbind_variation.phpt @@ -28,7 +28,5 @@ ldap_set_rebind_proc($link, "rebind_proc"); var_dump(ldap_unbind($link)); ?> -===DONE=== --EXPECT-- bool(true) -===DONE=== |