From b90e0ecc6b0717786ae72236c37157f1b5983521 Mon Sep 17 00:00:00 2001 From: Giovanni Date: Tue, 21 Jul 2020 11:58:22 +0200 Subject: Fix #338 - added log type if type is simulation, drop or log. (#339) Co-authored-by: Giovanni Dante Grazioli --- src/tests/disable_function/disabled_functions_param_pos2.phpt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/tests/disable_function/disabled_functions_param_pos2.phpt') diff --git a/src/tests/disable_function/disabled_functions_param_pos2.phpt b/src/tests/disable_function/disabled_functions_param_pos2.phpt index a33ffe6..c8f7893 100644 --- a/src/tests/disable_function/disabled_functions_param_pos2.phpt +++ b/src/tests/disable_function/disabled_functions_param_pos2.phpt @@ -10,4 +10,4 @@ strtoupper("od"); strtoupper("id"); ?> --EXPECTF-- -Fatal error: [snuffleupagus][0.0.0.0][disabled_function] Aborted execution on call of the function 'strtoupper', because its argument 'str' content (id) matched the rule 'strlen array' in %a/disabled_functions_param_pos2.php on line 3 \ No newline at end of file +Fatal error: [snuffleupagus][0.0.0.0][disabled_function][drop] Aborted execution on call of the function 'strtoupper', because its argument 'str' content (id) matched the rule 'strlen array' in %a/disabled_functions_param_pos2.php on line 3 \ No newline at end of file -- cgit v1.3 From 3b68dad2122d7e4a87a60f7161b7bc35d7c9b708 Mon Sep 17 00:00:00 2001 From: jvoisin Date: Tue, 1 Dec 2020 09:47:51 +0100 Subject: In tests, don't `die("skip")` but `print "skip"` instead (#358) This is required since the `die` is making php8 choke--- src/tests/broken_configuration/broken_conf_invalid_filename.phpt | 2 +- src/tests/broken_configuration/broken_conf_invalid_log_media.phpt | 2 +- src/tests/broken_configuration/broken_conf_invalid_type.phpt | 2 +- src/tests/broken_configuration/broken_conf_wrong_type.phpt | 4 ++-- src/tests/broken_configuration/broken_invalid_client_ip4.phpt | 2 +- src/tests/broken_configuration/broken_regexp.phpt | 2 +- src/tests/broken_configuration/broken_unmatching_brackets.phpt | 2 +- src/tests/broken_configuration/encrypt_regexp_cookies_bad_regexp.phpt | 2 +- src/tests/config_typo3.phpt | 2 +- src/tests/cookies_encryption/encrypt_cookies.phpt | 2 +- src/tests/cookies_encryption/encrypt_cookies2.phpt | 2 +- src/tests/cookies_encryption/encrypt_cookies3.phpt | 2 +- src/tests/cookies_encryption/encrypt_cookies4.phpt | 2 +- src/tests/cookies_encryption/encrypt_cookies_empty_env.phpt | 2 +- src/tests/cookies_encryption/encrypt_cookies_invalid_decryption.phpt | 2 +- src/tests/cookies_encryption/encrypt_cookies_invalid_decryption2.phpt | 2 +- src/tests/cookies_encryption/encrypt_cookies_invalid_decryption3.phpt | 2 +- .../encrypt_cookies_invalid_decryption_short_cookie.phpt | 2 +- .../encrypt_cookies_invalid_decryption_simulation.phpt | 2 +- src/tests/cookies_encryption/encrypt_regexp_cookies.phpt | 2 +- src/tests/cookies_encryption/encrypt_regexp_cookies2.phpt | 2 +- src/tests/cookies_encryption/encrypt_regexp_cookies3.phpt | 2 +- src/tests/cookies_encryption/encrypt_regexp_cookies4.phpt | 2 +- src/tests/cookies_encryption/encrypt_regexp_cookies_empty_env.phpt | 2 +- .../cookies_encryption/encrypt_regexp_cookies_invalid_decryption.phpt | 2 +- .../encrypt_regexp_cookies_invalid_decryption2.phpt | 2 +- .../encrypt_regexp_cookies_invalid_decryption3.phpt | 2 +- src/tests/cookies_encryption/setcookie.phpt | 2 +- src/tests/cookies_encryption_warning/encrypt_cookies_no_env.phpt | 2 +- src/tests/cookies_encryption_warning/encrypt_cookies_no_key.phpt | 2 +- .../cookies_encryption_warning/encrypt_regexp_cookies_no_env.phpt | 2 +- .../cookies_encryption_warning/encrypt_regexp_cookies_no_key.phpt | 2 +- src/tests/disable_function/disabled_function_echo.phpt | 2 +- src/tests/disable_function/disabled_function_echo_2.phpt | 2 +- src/tests/disable_function/disabled_function_echo_local_var.phpt | 2 +- .../disable_function/disabled_function_ensure_client_valid_certs.phpt | 4 ++-- ...disabled_function_ensure_client_valid_certs_curl_multi_setopt.phpt | 4 ++-- ...disabled_function_ensure_client_valid_certs_curl_setopt_array.phpt | 4 ++-- .../disable_function/disabled_function_ensure_server_valid_certs.phpt | 4 ++-- ...disabled_function_ensure_server_valid_certs_curl_multi_setopt.phpt | 4 ++-- src/tests/disable_function/disabled_function_local_var.phpt | 2 +- src/tests/disable_function/disabled_function_local_var_10.phpt | 2 +- src/tests/disable_function/disabled_function_local_var_2.phpt | 2 +- src/tests/disable_function/disabled_function_local_var_3.phpt | 2 +- src/tests/disable_function/disabled_function_local_var_4.phpt | 2 +- src/tests/disable_function/disabled_function_local_var_5.phpt | 2 +- src/tests/disable_function/disabled_function_local_var_6.phpt | 2 +- src/tests/disable_function/disabled_function_local_var_7.phpt | 2 +- src/tests/disable_function/disabled_function_local_var_8.phpt | 2 +- src/tests/disable_function/disabled_function_local_var_9.phpt | 2 +- src/tests/disable_function/disabled_function_local_var_const.phpt | 2 +- src/tests/disable_function/disabled_function_local_var_crash.phpt | 2 +- src/tests/disable_function/disabled_function_local_var_obj.phpt | 2 +- src/tests/disable_function/disabled_function_param.phpt | 2 +- src/tests/disable_function/disabled_function_print.phpt | 2 +- src/tests/disable_function/disabled_function_super_global_var.phpt | 2 +- src/tests/disable_function/disabled_functions.phpt | 2 +- .../disable_function/disabled_functions_callback_called_file_r.phpt | 2 +- src/tests/disable_function/disabled_functions_called_file_r.phpt | 2 +- src/tests/disable_function/disabled_functions_chain.phpt | 2 +- src/tests/disable_function/disabled_functions_chain_call_skip.phpt | 2 +- .../disable_function/disabled_functions_chain_call_user_func.phpt | 2 +- .../disable_function/disabled_functions_chain_call_user_func_ret.phpt | 2 +- src/tests/disable_function/disabled_functions_chain_not_matching.phpt | 2 +- src/tests/disable_function/disabled_functions_cidr.phpt | 2 +- src/tests/disable_function/disabled_functions_cidr_6.phpt | 2 +- src/tests/disable_function/disabled_functions_cidr_x_fwd_for.phpt | 2 +- .../disabled_functions_cidr_x_fwd_for_remote_addr.phpt | 2 +- src/tests/disable_function/disabled_functions_die.phpt | 2 +- src/tests/disable_function/disabled_functions_drop_include.phpt | 2 +- .../disable_function/disabled_functions_drop_include_simulation.phpt | 2 +- src/tests/disable_function/disabled_functions_eval.phpt | 2 +- src/tests/disable_function/disabled_functions_eval_filename.phpt | 2 +- src/tests/disable_function/disabled_functions_eval_simulation.phpt | 2 +- src/tests/disable_function/disabled_functions_eval_user.phpt | 2 +- src/tests/disable_function/disabled_functions_exit.phpt | 2 +- src/tests/disable_function/disabled_functions_filename_r.phpt | 2 +- src/tests/disable_function/disabled_functions_include_once.phpt | 2 +- src/tests/disable_function/disabled_functions_include_simulation.phpt | 2 +- src/tests/disable_function/disabled_functions_local_var_array.phpt | 2 +- .../disable_function/disabled_functions_local_var_array_key.phpt | 2 +- .../disabled_functions_local_var_array_not_array.phpt | 2 +- src/tests/disable_function/disabled_functions_mb.phpt | 2 +- src/tests/disable_function/disabled_functions_method.phpt | 2 +- src/tests/disable_function/disabled_functions_name_r.phpt | 2 +- src/tests/disable_function/disabled_functions_name_regexp_type.phpt | 2 +- src/tests/disable_function/disabled_functions_name_type.phpt | 2 +- src/tests/disable_function/disabled_functions_namespace.phpt | 2 +- src/tests/disable_function/disabled_functions_noconf.phpt | 2 +- src/tests/disable_function/disabled_functions_nul_byte.phpt | 2 +- src/tests/disable_function/disabled_functions_param.phpt | 2 +- src/tests/disable_function/disabled_functions_param_alias.phpt | 2 +- src/tests/disable_function/disabled_functions_param_allow.phpt | 2 +- src/tests/disable_function/disabled_functions_param_array.phpt | 2 +- src/tests/disable_function/disabled_functions_param_array_deref.phpt | 2 +- .../disable_function/disabled_functions_param_array_no_value.phpt | 2 +- src/tests/disable_function/disabled_functions_param_array_r.phpt | 2 +- src/tests/disable_function/disabled_functions_param_array_r_keys.phpt | 2 +- .../disabled_functions_param_array_several_levels.phpt | 2 +- .../disabled_functions_param_array_several_levels_int.phpt | 2 +- .../disabled_functions_param_array_several_levels_keys.phpt | 2 +- .../disabled_functions_param_array_several_levels_keys_int.phpt | 2 +- src/tests/disable_function/disabled_functions_param_broken_line.phpt | 2 +- src/tests/disable_function/disabled_functions_param_int.phpt | 2 +- src/tests/disable_function/disabled_functions_param_invalid_pos.phpt | 2 +- src/tests/disable_function/disabled_functions_param_line.phpt | 2 +- src/tests/disable_function/disabled_functions_param_pos.phpt | 2 +- src/tests/disable_function/disabled_functions_param_pos2.phpt | 2 +- src/tests/disable_function/disabled_functions_param_r.phpt | 2 +- .../disable_function/disabled_functions_param_str_representation.phpt | 2 +- src/tests/disable_function/disabled_functions_parse_class.phpt | 2 +- src/tests/disable_function/disabled_functions_pos_type.phpt | 2 +- src/tests/disable_function/disabled_functions_regexp_multiple.phpt | 2 +- .../disabled_functions_register_shutdown_function.phpt | 2 +- .../disable_function/disabled_functions_register_tick_function.phpt | 2 +- src/tests/disable_function/disabled_functions_require.phpt | 2 +- src/tests/disable_function/disabled_functions_require_allow.phpt | 2 +- src/tests/disable_function/disabled_functions_require_once.phpt | 2 +- src/tests/disable_function/disabled_functions_require_simulation.phpt | 2 +- src/tests/disable_function/disabled_functions_ret.phpt | 2 +- src/tests/disable_function/disabled_functions_ret2.phpt | 2 +- src/tests/disable_function/disabled_functions_ret3.phpt | 2 +- src/tests/disable_function/disabled_functions_ret_allow.phpt | 2 +- src/tests/disable_function/disabled_functions_ret_allow_value.phpt | 2 +- src/tests/disable_function/disabled_functions_ret_right_hash.phpt | 2 +- src/tests/disable_function/disabled_functions_ret_simulation.phpt | 2 +- src/tests/disable_function/disabled_functions_ret_type.phpt | 2 +- src/tests/disable_function/disabled_functions_ret_type_array.phpt | 2 +- src/tests/disable_function/disabled_functions_ret_type_double.phpt | 2 +- src/tests/disable_function/disabled_functions_ret_type_long.phpt | 2 +- src/tests/disable_function/disabled_functions_ret_type_null.phpt | 2 +- src/tests/disable_function/disabled_functions_ret_type_object.phpt | 2 +- src/tests/disable_function/disabled_functions_ret_type_resource.phpt | 2 +- src/tests/disable_function/disabled_functions_ret_type_str.phpt | 2 +- src/tests/disable_function/disabled_functions_ret_type_true.phpt | 2 +- src/tests/disable_function/disabled_functions_ret_user.phpt | 2 +- src/tests/disable_function/disabled_functions_ret_user_used.phpt | 2 +- src/tests/disable_function/disabled_functions_ret_val.phpt | 2 +- src/tests/disable_function/disabled_functions_ret_val_dump.phpt | 2 +- src/tests/disable_function/disabled_functions_ret_val_rx.phpt | 2 +- src/tests/disable_function/disabled_functions_right_hash.phpt | 2 +- src/tests/disable_function/disabled_functions_runtime.phpt | 2 +- src/tests/disable_function/disabled_functions_upper.phpt | 2 +- src/tests/disable_function/disabled_functions_variadic.phpt | 2 +- src/tests/disable_function/disabled_functions_zero_cidr.phpt | 2 +- src/tests/disable_function/disabled_native_functions_indirect.phpt | 2 +- src/tests/disable_function/disabled_user_functions.phpt | 2 +- src/tests/disable_function/disabled_user_functions_indirect.phpt | 2 +- src/tests/dump_request/dump_eval_blacklist.phpt | 2 +- src/tests/dump_request/dump_eval_whitelist.phpt | 2 +- src/tests/dump_request/dump_segfault1.phpt | 2 +- src/tests/eval_blacklist/eval_backlist.phpt | 2 +- src/tests/eval_blacklist/eval_backlist_call_user_func.phpt | 2 +- src/tests/eval_blacklist/eval_backlist_chained.phpt | 2 +- src/tests/eval_blacklist/eval_backlist_list.phpt | 2 +- src/tests/eval_blacklist/eval_backlist_simulation.phpt | 2 +- src/tests/eval_blacklist/eval_backlist_whitelist.phpt | 2 +- src/tests/eval_blacklist/eval_backlist_whitelist_builtin.phpt | 2 +- src/tests/eval_blacklist/eval_whitelist.phpt | 2 +- src/tests/eval_blacklist/eval_whitelist_builtin.phpt | 2 +- src/tests/eval_blacklist/eval_whitelist_include_then_user.phpt | 2 +- src/tests/eval_blacklist/eval_whitelist_simulation.phpt | 2 +- src/tests/eval_blacklist/eval_whitelist_user_then_builtin.phpt | 2 +- src/tests/eval_blacklist/nested_eval_blacklist.phpt | 2 +- src/tests/eval_blacklist/nested_eval_blacklist2.phpt | 2 +- src/tests/glob_config.phpt | 2 +- src/tests/multi_config.phpt | 2 +- src/tests/rips_configuration.phpt | 2 +- src/tests/samesite_cookies.phpt | 2 +- src/tests/session_encryption/crypt_session_corrupted_session.phpt | 2 +- src/tests/session_encryption/crypt_session_invalid.phpt | 2 +- src/tests/session_encryption/crypt_session_invalid_simul.phpt | 2 +- src/tests/session_encryption/crypt_session_read_uncrypt.phpt | 2 +- src/tests/session_encryption/crypt_session_valid.phpt | 2 +- src/tests/session_encryption/crypt_session_valid_simul.phpt | 2 +- src/tests/session_encryption/set_custom_session_handler.phpt | 2 +- src/tests/session_encryption/set_custom_session_handler2.phpt | 2 +- src/tests/session_encryption/set_custom_session_handler_ini.phpt | 2 +- src/tests/shipped_configuration.phpt | 2 +- src/tests/stream_wrapper/stream_wrapper_restore.phpt | 2 +- src/tests/upload_validation/upload_validation_real.phpt | 2 +- 181 files changed, 187 insertions(+), 187 deletions(-) (limited to 'src/tests/disable_function/disabled_functions_param_pos2.phpt') diff --git a/src/tests/broken_configuration/broken_conf_invalid_filename.phpt b/src/tests/broken_configuration/broken_conf_invalid_filename.phpt index aed30c8..8f4c501 100644 --- a/src/tests/broken_configuration/broken_conf_invalid_filename.phpt +++ b/src/tests/broken_configuration/broken_conf_invalid_filename.phpt @@ -1,7 +1,7 @@ --TEST-- Broken configuration filename without absolute path --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/broken_conf_invalid_filename.ini --FILE-- diff --git a/src/tests/broken_configuration/broken_conf_invalid_log_media.phpt b/src/tests/broken_configuration/broken_conf_invalid_log_media.phpt index 9c516bc..bc048b3 100644 --- a/src/tests/broken_configuration/broken_conf_invalid_log_media.phpt +++ b/src/tests/broken_configuration/broken_conf_invalid_log_media.phpt @@ -1,7 +1,7 @@ --TEST-- Broken configuration filename with improper log media --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/broken_conf_invalid_log_media.ini --FILE-- diff --git a/src/tests/broken_configuration/broken_conf_invalid_type.phpt b/src/tests/broken_configuration/broken_conf_invalid_type.phpt index f5b0ce5..b73cdd0 100644 --- a/src/tests/broken_configuration/broken_conf_invalid_type.phpt +++ b/src/tests/broken_configuration/broken_conf_invalid_type.phpt @@ -1,7 +1,7 @@ --TEST-- Broken conf with wrong type --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/broken_conf_invalid_type.ini --FILE-- diff --git a/src/tests/broken_configuration/broken_conf_wrong_type.phpt b/src/tests/broken_configuration/broken_conf_wrong_type.phpt index 150cda0..32e8499 100644 --- a/src/tests/broken_configuration/broken_conf_wrong_type.phpt +++ b/src/tests/broken_configuration/broken_conf_wrong_type.phpt @@ -1,7 +1,7 @@ --TEST-- Broken conf with wrong type --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/broken_conf_wrong_type.ini --FILE-- @@ -11,4 +11,4 @@ PHP Fatal error: [snuffleupagus][0.0.0.0][error][log] .ret_type() is expecting Fatal error: [snuffleupagus][0.0.0.0][error][log] .ret_type() is expecting a valid php type ('false', 'true', 'array'. 'object', 'long', 'double', 'null', 'resource', 'reference', 'undef') on line 5 in Unknown on line 0 Fatal error: [snuffleupagus][0.0.0.0][config][log] Invalid configuration file in Unknown on line 0 -Could not startup. \ No newline at end of file +Could not startup. diff --git a/src/tests/broken_configuration/broken_invalid_client_ip4.phpt b/src/tests/broken_configuration/broken_invalid_client_ip4.phpt index cbc17e7..a96b059 100644 --- a/src/tests/broken_configuration/broken_invalid_client_ip4.phpt +++ b/src/tests/broken_configuration/broken_invalid_client_ip4.phpt @@ -1,7 +1,7 @@ --TEST-- Invalid client IP --SKIPIF-- - + --ENV-- return << + --INI-- sp.configuration_file={PWD}/config/broken_regexp.ini --FILE-- diff --git a/src/tests/broken_configuration/broken_unmatching_brackets.phpt b/src/tests/broken_configuration/broken_unmatching_brackets.phpt index bba8e0c..46c81f9 100644 --- a/src/tests/broken_configuration/broken_unmatching_brackets.phpt +++ b/src/tests/broken_configuration/broken_unmatching_brackets.phpt @@ -1,7 +1,7 @@ --TEST-- Broken configuration - unmatching brackets --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/config_unmatching_brackets.ini --FILE-- diff --git a/src/tests/broken_configuration/encrypt_regexp_cookies_bad_regexp.phpt b/src/tests/broken_configuration/encrypt_regexp_cookies_bad_regexp.phpt index 0b98e73..7a8c909 100644 --- a/src/tests/broken_configuration/encrypt_regexp_cookies_bad_regexp.phpt +++ b/src/tests/broken_configuration/encrypt_regexp_cookies_bad_regexp.phpt @@ -1,7 +1,7 @@ --TEST-- Cookie decryption in ipv4 --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/config_encrypted_regexp_cookies_bad_regexp.ini error_reporting=1 diff --git a/src/tests/config_typo3.phpt b/src/tests/config_typo3.phpt index 1b678ca..6545d07 100644 --- a/src/tests/config_typo3.phpt +++ b/src/tests/config_typo3.phpt @@ -1,7 +1,7 @@ --TEST-- Rules for Typo3 --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/../../config/typo3.rules --FILE-- diff --git a/src/tests/cookies_encryption/encrypt_cookies.phpt b/src/tests/cookies_encryption/encrypt_cookies.phpt index d581dbc..49587b7 100644 --- a/src/tests/cookies_encryption/encrypt_cookies.phpt +++ b/src/tests/cookies_encryption/encrypt_cookies.phpt @@ -1,7 +1,7 @@ --TEST-- Cookie decryption in ipv4 --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/config_encrypted_cookies.ini --COOKIE-- diff --git a/src/tests/cookies_encryption/encrypt_cookies2.phpt b/src/tests/cookies_encryption/encrypt_cookies2.phpt index 195cb24..18c6b41 100644 --- a/src/tests/cookies_encryption/encrypt_cookies2.phpt +++ b/src/tests/cookies_encryption/encrypt_cookies2.phpt @@ -1,7 +1,7 @@ --TEST-- Cookie encryption in ipv4 --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/config_encrypted_regexp_cookies.ini --COOKIE-- diff --git a/src/tests/cookies_encryption/encrypt_cookies3.phpt b/src/tests/cookies_encryption/encrypt_cookies3.phpt index ceb364c..beb4efb 100644 --- a/src/tests/cookies_encryption/encrypt_cookies3.phpt +++ b/src/tests/cookies_encryption/encrypt_cookies3.phpt @@ -1,7 +1,7 @@ --TEST-- Cookie decryption with ipv6 --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/config_encrypted_regexp_cookies.ini --COOKIE-- diff --git a/src/tests/cookies_encryption/encrypt_cookies4.phpt b/src/tests/cookies_encryption/encrypt_cookies4.phpt index b644680..da694e5 100644 --- a/src/tests/cookies_encryption/encrypt_cookies4.phpt +++ b/src/tests/cookies_encryption/encrypt_cookies4.phpt @@ -1,7 +1,7 @@ --TEST-- Cookie encryption in ipv6 --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/config_encrypted_cookies.ini --COOKIE-- diff --git a/src/tests/cookies_encryption/encrypt_cookies_empty_env.phpt b/src/tests/cookies_encryption/encrypt_cookies_empty_env.phpt index 0cd4460..aeec708 100644 --- a/src/tests/cookies_encryption/encrypt_cookies_empty_env.phpt +++ b/src/tests/cookies_encryption/encrypt_cookies_empty_env.phpt @@ -1,7 +1,7 @@ --TEST-- Cookie encryption - empty environment variable specified --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/config_encrypted_cookies_empty_env.ini display_errors=1 diff --git a/src/tests/cookies_encryption/encrypt_cookies_invalid_decryption.phpt b/src/tests/cookies_encryption/encrypt_cookies_invalid_decryption.phpt index 2833819..cc988ce 100644 --- a/src/tests/cookies_encryption/encrypt_cookies_invalid_decryption.phpt +++ b/src/tests/cookies_encryption/encrypt_cookies_invalid_decryption.phpt @@ -1,7 +1,7 @@ --TEST-- Cookie encryption - invalid decryption --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/config_encrypted_cookies.ini display_errors=1 diff --git a/src/tests/cookies_encryption/encrypt_cookies_invalid_decryption2.phpt b/src/tests/cookies_encryption/encrypt_cookies_invalid_decryption2.phpt index 5a76999..5ec6af5 100644 --- a/src/tests/cookies_encryption/encrypt_cookies_invalid_decryption2.phpt +++ b/src/tests/cookies_encryption/encrypt_cookies_invalid_decryption2.phpt @@ -1,7 +1,7 @@ --TEST-- Cookie encryption --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/config_encrypted_cookies.ini display_errors=1 diff --git a/src/tests/cookies_encryption/encrypt_cookies_invalid_decryption3.phpt b/src/tests/cookies_encryption/encrypt_cookies_invalid_decryption3.phpt index f4afc32..a6afdbe 100644 --- a/src/tests/cookies_encryption/encrypt_cookies_invalid_decryption3.phpt +++ b/src/tests/cookies_encryption/encrypt_cookies_invalid_decryption3.phpt @@ -1,7 +1,7 @@ --TEST-- Cookie encryption --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/config_encrypted_cookies.ini --COOKIE-- diff --git a/src/tests/cookies_encryption/encrypt_cookies_invalid_decryption_short_cookie.phpt b/src/tests/cookies_encryption/encrypt_cookies_invalid_decryption_short_cookie.phpt index feb3688..00a2cec 100644 --- a/src/tests/cookies_encryption/encrypt_cookies_invalid_decryption_short_cookie.phpt +++ b/src/tests/cookies_encryption/encrypt_cookies_invalid_decryption_short_cookie.phpt @@ -1,7 +1,7 @@ --TEST-- Cookie encryption - invalid decryption in simulation mode with a short cookie --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/config_encrypted_cookies_simulation.ini display_errors=1 diff --git a/src/tests/cookies_encryption/encrypt_cookies_invalid_decryption_simulation.phpt b/src/tests/cookies_encryption/encrypt_cookies_invalid_decryption_simulation.phpt index 3cb13d4..4d8e18d 100644 --- a/src/tests/cookies_encryption/encrypt_cookies_invalid_decryption_simulation.phpt +++ b/src/tests/cookies_encryption/encrypt_cookies_invalid_decryption_simulation.phpt @@ -1,7 +1,7 @@ --TEST-- Cookie encryption - invalid decryption in simulation mode --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/config_encrypted_cookies_simulation.ini display_errors=1 diff --git a/src/tests/cookies_encryption/encrypt_regexp_cookies.phpt b/src/tests/cookies_encryption/encrypt_regexp_cookies.phpt index 6bc187a..da44855 100644 --- a/src/tests/cookies_encryption/encrypt_regexp_cookies.phpt +++ b/src/tests/cookies_encryption/encrypt_regexp_cookies.phpt @@ -1,7 +1,7 @@ --TEST-- Cookie decryption in ipv4 --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/config_encrypted_regexp_cookies.ini --COOKIE-- diff --git a/src/tests/cookies_encryption/encrypt_regexp_cookies2.phpt b/src/tests/cookies_encryption/encrypt_regexp_cookies2.phpt index 195cb24..18c6b41 100644 --- a/src/tests/cookies_encryption/encrypt_regexp_cookies2.phpt +++ b/src/tests/cookies_encryption/encrypt_regexp_cookies2.phpt @@ -1,7 +1,7 @@ --TEST-- Cookie encryption in ipv4 --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/config_encrypted_regexp_cookies.ini --COOKIE-- diff --git a/src/tests/cookies_encryption/encrypt_regexp_cookies3.phpt b/src/tests/cookies_encryption/encrypt_regexp_cookies3.phpt index ceb364c..beb4efb 100644 --- a/src/tests/cookies_encryption/encrypt_regexp_cookies3.phpt +++ b/src/tests/cookies_encryption/encrypt_regexp_cookies3.phpt @@ -1,7 +1,7 @@ --TEST-- Cookie decryption with ipv6 --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/config_encrypted_regexp_cookies.ini --COOKIE-- diff --git a/src/tests/cookies_encryption/encrypt_regexp_cookies4.phpt b/src/tests/cookies_encryption/encrypt_regexp_cookies4.phpt index 14d737a..09184a8 100644 --- a/src/tests/cookies_encryption/encrypt_regexp_cookies4.phpt +++ b/src/tests/cookies_encryption/encrypt_regexp_cookies4.phpt @@ -1,7 +1,7 @@ --TEST-- Cookie encryption in ipv6 --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/config_encrypted_cookies.ini --COOKIE-- diff --git a/src/tests/cookies_encryption/encrypt_regexp_cookies_empty_env.phpt b/src/tests/cookies_encryption/encrypt_regexp_cookies_empty_env.phpt index 2d8de76..53f2eba 100644 --- a/src/tests/cookies_encryption/encrypt_regexp_cookies_empty_env.phpt +++ b/src/tests/cookies_encryption/encrypt_regexp_cookies_empty_env.phpt @@ -1,7 +1,7 @@ --TEST-- Cookie encryption - empty environment variable specified --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/config_encrypted_regexp_cookies_empty_env.ini display_errors=1 diff --git a/src/tests/cookies_encryption/encrypt_regexp_cookies_invalid_decryption.phpt b/src/tests/cookies_encryption/encrypt_regexp_cookies_invalid_decryption.phpt index 20914f3..b101042 100644 --- a/src/tests/cookies_encryption/encrypt_regexp_cookies_invalid_decryption.phpt +++ b/src/tests/cookies_encryption/encrypt_regexp_cookies_invalid_decryption.phpt @@ -1,7 +1,7 @@ --TEST-- Cookie encryption --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/config_encrypted_regexp_cookies.ini display_errors=1 diff --git a/src/tests/cookies_encryption/encrypt_regexp_cookies_invalid_decryption2.phpt b/src/tests/cookies_encryption/encrypt_regexp_cookies_invalid_decryption2.phpt index 9a6bc9c..29444dc 100644 --- a/src/tests/cookies_encryption/encrypt_regexp_cookies_invalid_decryption2.phpt +++ b/src/tests/cookies_encryption/encrypt_regexp_cookies_invalid_decryption2.phpt @@ -1,7 +1,7 @@ --TEST-- Cookie encryption --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/config_encrypted_regexp_cookies.ini display_errors=1 diff --git a/src/tests/cookies_encryption/encrypt_regexp_cookies_invalid_decryption3.phpt b/src/tests/cookies_encryption/encrypt_regexp_cookies_invalid_decryption3.phpt index 28ffaad..ea26b00 100644 --- a/src/tests/cookies_encryption/encrypt_regexp_cookies_invalid_decryption3.phpt +++ b/src/tests/cookies_encryption/encrypt_regexp_cookies_invalid_decryption3.phpt @@ -1,7 +1,7 @@ --TEST-- Cookie encryption --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/config_encrypted_regexp_cookies.ini --COOKIE-- diff --git a/src/tests/cookies_encryption/setcookie.phpt b/src/tests/cookies_encryption/setcookie.phpt index ba1d1c1..87a72c6 100644 --- a/src/tests/cookies_encryption/setcookie.phpt +++ b/src/tests/cookies_encryption/setcookie.phpt @@ -1,7 +1,7 @@ --TEST-- Set cookies. --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/config_encrypted_cookies.ini --COOKIE-- diff --git a/src/tests/cookies_encryption_warning/encrypt_cookies_no_env.phpt b/src/tests/cookies_encryption_warning/encrypt_cookies_no_env.phpt index 7ef193a..015c159 100644 --- a/src/tests/cookies_encryption_warning/encrypt_cookies_no_env.phpt +++ b/src/tests/cookies_encryption_warning/encrypt_cookies_no_env.phpt @@ -1,7 +1,7 @@ --TEST-- Cookie encryption - no environment variable specified --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/encrypt_cookies_no_env.ini display_errors=1 diff --git a/src/tests/cookies_encryption_warning/encrypt_cookies_no_key.phpt b/src/tests/cookies_encryption_warning/encrypt_cookies_no_key.phpt index a633652..42f5509 100644 --- a/src/tests/cookies_encryption_warning/encrypt_cookies_no_key.phpt +++ b/src/tests/cookies_encryption_warning/encrypt_cookies_no_key.phpt @@ -1,7 +1,7 @@ --TEST-- Cookie encryption - no encryption key specified --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/encrypt_cookies_no_key.ini display_errors=1 diff --git a/src/tests/cookies_encryption_warning/encrypt_regexp_cookies_no_env.phpt b/src/tests/cookies_encryption_warning/encrypt_regexp_cookies_no_env.phpt index d40b9a9..163cb26 100644 --- a/src/tests/cookies_encryption_warning/encrypt_regexp_cookies_no_env.phpt +++ b/src/tests/cookies_encryption_warning/encrypt_regexp_cookies_no_env.phpt @@ -1,7 +1,7 @@ --TEST-- Cookie encryption - no environment variable specified --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/encrypt_regexp_cookies_no_env.ini display_errors=1 diff --git a/src/tests/cookies_encryption_warning/encrypt_regexp_cookies_no_key.phpt b/src/tests/cookies_encryption_warning/encrypt_regexp_cookies_no_key.phpt index d03f28f..df31f2e 100644 --- a/src/tests/cookies_encryption_warning/encrypt_regexp_cookies_no_key.phpt +++ b/src/tests/cookies_encryption_warning/encrypt_regexp_cookies_no_key.phpt @@ -1,7 +1,7 @@ --TEST-- Cookie encryption - no encryption key specified --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/encrypt_regexp_cookies_no_key.ini display_errors=1 diff --git a/src/tests/disable_function/disabled_function_echo.phpt b/src/tests/disable_function/disabled_function_echo.phpt index 9e5d3e0..5b66880 100644 --- a/src/tests/disable_function/disabled_function_echo.phpt +++ b/src/tests/disable_function/disabled_function_echo.phpt @@ -1,7 +1,7 @@ --TEST-- Echo hooking --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/disabled_function_echo.ini --FILE-- diff --git a/src/tests/disable_function/disabled_function_echo_2.phpt b/src/tests/disable_function/disabled_function_echo_2.phpt index 55a7abe..60cc2f7 100644 --- a/src/tests/disable_function/disabled_function_echo_2.phpt +++ b/src/tests/disable_function/disabled_function_echo_2.phpt @@ -1,7 +1,7 @@ --TEST-- Echo hooking --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/disabled_function_echo.ini --FILE-- diff --git a/src/tests/disable_function/disabled_function_echo_local_var.phpt b/src/tests/disable_function/disabled_function_echo_local_var.phpt index dbc7f4e..3a886f2 100644 --- a/src/tests/disable_function/disabled_function_echo_local_var.phpt +++ b/src/tests/disable_function/disabled_function_echo_local_var.phpt @@ -1,7 +1,7 @@ --TEST-- Echo hooking --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/disabled_function_echo.ini --FILE-- diff --git a/src/tests/disable_function/disabled_function_ensure_client_valid_certs.phpt b/src/tests/disable_function/disabled_function_ensure_client_valid_certs.phpt index 0cca9d1..9872374 100644 --- a/src/tests/disable_function/disabled_function_ensure_client_valid_certs.phpt +++ b/src/tests/disable_function/disabled_function_ensure_client_valid_certs.phpt @@ -2,8 +2,8 @@ Disable functions - Ensure that client certificates validation can't be disabled --SKIPIF-- --EXTENSIONS-- curl diff --git a/src/tests/disable_function/disabled_function_ensure_client_valid_certs_curl_multi_setopt.phpt b/src/tests/disable_function/disabled_function_ensure_client_valid_certs_curl_multi_setopt.phpt index 6470181..45ae95e 100644 --- a/src/tests/disable_function/disabled_function_ensure_client_valid_certs_curl_multi_setopt.phpt +++ b/src/tests/disable_function/disabled_function_ensure_client_valid_certs_curl_multi_setopt.phpt @@ -2,8 +2,8 @@ Disable functions - Ensure that client certificates validation can't be disabled via `curl_multi_setopt` --SKIPIF-- --EXTENSIONS-- curl diff --git a/src/tests/disable_function/disabled_function_ensure_client_valid_certs_curl_setopt_array.phpt b/src/tests/disable_function/disabled_function_ensure_client_valid_certs_curl_setopt_array.phpt index bae19e6..93ed020 100644 --- a/src/tests/disable_function/disabled_function_ensure_client_valid_certs_curl_setopt_array.phpt +++ b/src/tests/disable_function/disabled_function_ensure_client_valid_certs_curl_setopt_array.phpt @@ -2,8 +2,8 @@ Disable functions - Ensure that client certificates validation can't be disabled via `curl_setopt_array` --SKIPIF-- --EXTENSIONS-- curl diff --git a/src/tests/disable_function/disabled_function_ensure_server_valid_certs.phpt b/src/tests/disable_function/disabled_function_ensure_server_valid_certs.phpt index dc3ee33..6e027de 100644 --- a/src/tests/disable_function/disabled_function_ensure_server_valid_certs.phpt +++ b/src/tests/disable_function/disabled_function_ensure_server_valid_certs.phpt @@ -2,8 +2,8 @@ Disable functions - Ensure that server certificates validation can't be disabled --SKIPIF-- --EXTENSIONS-- curl diff --git a/src/tests/disable_function/disabled_function_ensure_server_valid_certs_curl_multi_setopt.phpt b/src/tests/disable_function/disabled_function_ensure_server_valid_certs_curl_multi_setopt.phpt index 65b9020..32013b5 100644 --- a/src/tests/disable_function/disabled_function_ensure_server_valid_certs_curl_multi_setopt.phpt +++ b/src/tests/disable_function/disabled_function_ensure_server_valid_certs_curl_multi_setopt.phpt @@ -2,8 +2,8 @@ Disable functions - Ensure that server certificates validation can't be disabled via `curl_multi_setopt` --SKIPIF-- --EXTENSIONS-- curl diff --git a/src/tests/disable_function/disabled_function_local_var.phpt b/src/tests/disable_function/disabled_function_local_var.phpt index 58a5b77..c28fd8c 100644 --- a/src/tests/disable_function/disabled_function_local_var.phpt +++ b/src/tests/disable_function/disabled_function_local_var.phpt @@ -1,7 +1,7 @@ --TEST-- Disable functions - match on a local variable --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/disabled_function_local_var.ini --FILE-- diff --git a/src/tests/disable_function/disabled_function_local_var_10.phpt b/src/tests/disable_function/disabled_function_local_var_10.phpt index 7f10740..eefb161 100644 --- a/src/tests/disable_function/disabled_function_local_var_10.phpt +++ b/src/tests/disable_function/disabled_function_local_var_10.phpt @@ -1,7 +1,7 @@ --TEST-- Disable functions - match on a local variable --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/disabled_function_local_var.ini --FILE-- diff --git a/src/tests/disable_function/disabled_function_local_var_2.phpt b/src/tests/disable_function/disabled_function_local_var_2.phpt index d216bd2..076c3c5 100644 --- a/src/tests/disable_function/disabled_function_local_var_2.phpt +++ b/src/tests/disable_function/disabled_function_local_var_2.phpt @@ -1,7 +1,7 @@ --TEST-- Disable functions - match on a local variable --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/disabled_function_local_var.ini --FILE-- diff --git a/src/tests/disable_function/disabled_function_local_var_3.phpt b/src/tests/disable_function/disabled_function_local_var_3.phpt index 7fb6c07..f404682 100644 --- a/src/tests/disable_function/disabled_function_local_var_3.phpt +++ b/src/tests/disable_function/disabled_function_local_var_3.phpt @@ -1,7 +1,7 @@ --TEST-- Disable functions - match on a local variable --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/disabled_function_local_var.ini --FILE-- diff --git a/src/tests/disable_function/disabled_function_local_var_4.phpt b/src/tests/disable_function/disabled_function_local_var_4.phpt index 101ed38..f290a8b 100644 --- a/src/tests/disable_function/disabled_function_local_var_4.phpt +++ b/src/tests/disable_function/disabled_function_local_var_4.phpt @@ -1,7 +1,7 @@ --TEST-- Disable functions - match on a local variable --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/disabled_function_local_var_2.ini --FILE-- diff --git a/src/tests/disable_function/disabled_function_local_var_5.phpt b/src/tests/disable_function/disabled_function_local_var_5.phpt index 64c3e78..7e592cd 100644 --- a/src/tests/disable_function/disabled_function_local_var_5.phpt +++ b/src/tests/disable_function/disabled_function_local_var_5.phpt @@ -1,7 +1,7 @@ --TEST-- Disable functions - match on a local variable --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/disabled_function_local_var.ini --FILE-- diff --git a/src/tests/disable_function/disabled_function_local_var_6.phpt b/src/tests/disable_function/disabled_function_local_var_6.phpt index 7cc6515..b2a16bf 100644 --- a/src/tests/disable_function/disabled_function_local_var_6.phpt +++ b/src/tests/disable_function/disabled_function_local_var_6.phpt @@ -1,7 +1,7 @@ --TEST-- Disable functions - match on a local variable --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/disabled_function_local_var.ini --FILE-- diff --git a/src/tests/disable_function/disabled_function_local_var_7.phpt b/src/tests/disable_function/disabled_function_local_var_7.phpt index 5b19070..e15a430 100644 --- a/src/tests/disable_function/disabled_function_local_var_7.phpt +++ b/src/tests/disable_function/disabled_function_local_var_7.phpt @@ -1,7 +1,7 @@ --TEST-- Disable functions - match on a local variable --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/disabled_function_local_var.ini --FILE-- diff --git a/src/tests/disable_function/disabled_function_local_var_8.phpt b/src/tests/disable_function/disabled_function_local_var_8.phpt index a80ac04..4f1b4c5 100644 --- a/src/tests/disable_function/disabled_function_local_var_8.phpt +++ b/src/tests/disable_function/disabled_function_local_var_8.phpt @@ -1,7 +1,7 @@ --TEST-- Disable functions - match on a local variable --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/disabled_function_local_var.ini --FILE-- diff --git a/src/tests/disable_function/disabled_function_local_var_9.phpt b/src/tests/disable_function/disabled_function_local_var_9.phpt index 390f046..eddb1ea 100644 --- a/src/tests/disable_function/disabled_function_local_var_9.phpt +++ b/src/tests/disable_function/disabled_function_local_var_9.phpt @@ -1,7 +1,7 @@ --TEST-- Disable functions - match on a local variable --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/disabled_function_local_var.ini --FILE-- diff --git a/src/tests/disable_function/disabled_function_local_var_const.phpt b/src/tests/disable_function/disabled_function_local_var_const.phpt index 7f275a1..a0912d9 100644 --- a/src/tests/disable_function/disabled_function_local_var_const.phpt +++ b/src/tests/disable_function/disabled_function_local_var_const.phpt @@ -1,7 +1,7 @@ --TEST-- Disable functions - match on a constant --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/disabled_function_local_var_const.ini --FILE-- diff --git a/src/tests/disable_function/disabled_function_local_var_crash.phpt b/src/tests/disable_function/disabled_function_local_var_crash.phpt index 3381b6c..f36b2c7 100644 --- a/src/tests/disable_function/disabled_function_local_var_crash.phpt +++ b/src/tests/disable_function/disabled_function_local_var_crash.phpt @@ -1,7 +1,7 @@ --TEST-- Disable functions - match on a local variable --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/disabled_function_local_var.ini --FILE-- diff --git a/src/tests/disable_function/disabled_function_local_var_obj.phpt b/src/tests/disable_function/disabled_function_local_var_obj.phpt index 90a192d..684933a 100644 --- a/src/tests/disable_function/disabled_function_local_var_obj.phpt +++ b/src/tests/disable_function/disabled_function_local_var_obj.phpt @@ -1,7 +1,7 @@ --TEST-- Disable functions - match on a local variable --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/disabled_function_local_var_obj.ini --FILE-- diff --git a/src/tests/disable_function/disabled_function_param.phpt b/src/tests/disable_function/disabled_function_param.phpt index 4c3c2e8..bbf05f0 100644 --- a/src/tests/disable_function/disabled_function_param.phpt +++ b/src/tests/disable_function/disabled_function_param.phpt @@ -1,7 +1,7 @@ --TEST-- Disable functions - match on a param --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/disabled_function_param.ini --FILE-- diff --git a/src/tests/disable_function/disabled_function_print.phpt b/src/tests/disable_function/disabled_function_print.phpt index 8b61542..ec1b04f 100644 --- a/src/tests/disable_function/disabled_function_print.phpt +++ b/src/tests/disable_function/disabled_function_print.phpt @@ -1,7 +1,7 @@ --TEST-- Echo hooking --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/disabled_function_print.ini --FILE-- diff --git a/src/tests/disable_function/disabled_function_super_global_var.phpt b/src/tests/disable_function/disabled_function_super_global_var.phpt index f5385b6..6232e19 100644 --- a/src/tests/disable_function/disabled_function_super_global_var.phpt +++ b/src/tests/disable_function/disabled_function_super_global_var.phpt @@ -1,7 +1,7 @@ --TEST-- Disable functions - match on a super global --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/disabled_function_super_global_var.ini --GET-- diff --git a/src/tests/disable_function/disabled_functions.phpt b/src/tests/disable_function/disabled_functions.phpt index 00e2827..cda7c20 100644 --- a/src/tests/disable_function/disabled_functions.phpt +++ b/src/tests/disable_function/disabled_functions.phpt @@ -1,7 +1,7 @@ --TEST-- Disable functions --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/disabled_functions.ini --FILE-- diff --git a/src/tests/disable_function/disabled_functions_callback_called_file_r.phpt b/src/tests/disable_function/disabled_functions_callback_called_file_r.phpt index 41c76bb..ec75d74 100644 --- a/src/tests/disable_function/disabled_functions_callback_called_file_r.phpt +++ b/src/tests/disable_function/disabled_functions_callback_called_file_r.phpt @@ -1,7 +1,7 @@ --TEST-- Disable functions by matching on the filename_r where the callback function is called, and not defined --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/config_disabled_functions_callback_called_file_r.ini --FILE-- diff --git a/src/tests/disable_function/disabled_functions_called_file_r.phpt b/src/tests/disable_function/disabled_functions_called_file_r.phpt index 58d2f5a..dde26f7 100644 --- a/src/tests/disable_function/disabled_functions_called_file_r.phpt +++ b/src/tests/disable_function/disabled_functions_called_file_r.phpt @@ -1,7 +1,7 @@ --TEST-- Disable functions by matching on the filename_r where the function is called, and not defined --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/config_disabled_functions_called_file_r.ini --FILE-- diff --git a/src/tests/disable_function/disabled_functions_chain.phpt b/src/tests/disable_function/disabled_functions_chain.phpt index 757eccf..7edf863 100644 --- a/src/tests/disable_function/disabled_functions_chain.phpt +++ b/src/tests/disable_function/disabled_functions_chain.phpt @@ -1,7 +1,7 @@ --TEST-- Disable functions by matching the calltrace --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/config_disabled_functions_chain.ini --FILE-- diff --git a/src/tests/disable_function/disabled_functions_chain_call_skip.phpt b/src/tests/disable_function/disabled_functions_chain_call_skip.phpt index 9ff84b9..267b691 100644 --- a/src/tests/disable_function/disabled_functions_chain_call_skip.phpt +++ b/src/tests/disable_function/disabled_functions_chain_call_skip.phpt @@ -1,7 +1,7 @@ --TEST-- Disable functions by matching the calltrace, with a superfluous function in between --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/config_disabled_functions_chain_call_skip.ini --FILE-- diff --git a/src/tests/disable_function/disabled_functions_chain_call_user_func.phpt b/src/tests/disable_function/disabled_functions_chain_call_user_func.phpt index f3f6498..c7a1f88 100644 --- a/src/tests/disable_function/disabled_functions_chain_call_user_func.phpt +++ b/src/tests/disable_function/disabled_functions_chain_call_user_func.phpt @@ -1,7 +1,7 @@ --TEST-- Disable functions by matching the calltrace, with call_user_func involved --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/config_disabled_functions_chain_call_user_func.ini --FILE-- diff --git a/src/tests/disable_function/disabled_functions_chain_call_user_func_ret.phpt b/src/tests/disable_function/disabled_functions_chain_call_user_func_ret.phpt index 2898f73..1a77205 100644 --- a/src/tests/disable_function/disabled_functions_chain_call_user_func_ret.phpt +++ b/src/tests/disable_function/disabled_functions_chain_call_user_func_ret.phpt @@ -1,7 +1,7 @@ --TEST-- Disable functions by matching the calltrace, on the return value --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/config_disabled_functions_chain_call_user_func_ret.ini --FILE-- diff --git a/src/tests/disable_function/disabled_functions_chain_not_matching.phpt b/src/tests/disable_function/disabled_functions_chain_not_matching.phpt index 3a0400a..91b4154 100644 --- a/src/tests/disable_function/disabled_functions_chain_not_matching.phpt +++ b/src/tests/disable_function/disabled_functions_chain_not_matching.phpt @@ -1,7 +1,7 @@ --TEST-- Disable functions by matching the calltrace --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/config_disabled_functions_chain.ini --FILE-- diff --git a/src/tests/disable_function/disabled_functions_cidr.phpt b/src/tests/disable_function/disabled_functions_cidr.phpt index b26533f..ef82957 100644 --- a/src/tests/disable_function/disabled_functions_cidr.phpt +++ b/src/tests/disable_function/disabled_functions_cidr.phpt @@ -1,7 +1,7 @@ --TEST-- Disable functions --SKIPIF-- - + --ENV-- return << + --ENV-- return << + --ENV-- return << + --ENV-- return << + --INI-- sp.configuration_file={PWD}/config/disabled_functions_die.ini --FILE-- diff --git a/src/tests/disable_function/disabled_functions_drop_include.phpt b/src/tests/disable_function/disabled_functions_drop_include.phpt index ba1c955..975168e 100644 --- a/src/tests/disable_function/disabled_functions_drop_include.phpt +++ b/src/tests/disable_function/disabled_functions_drop_include.phpt @@ -1,7 +1,7 @@ --TEST-- Disable function, bug : https://github.com/jvoisin/snuffleupagus/issues/181 --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/disabled_functions_drop_include.ini --FILE-- diff --git a/src/tests/disable_function/disabled_functions_drop_include_simulation.phpt b/src/tests/disable_function/disabled_functions_drop_include_simulation.phpt index 1b13915..0a693be 100644 --- a/src/tests/disable_function/disabled_functions_drop_include_simulation.phpt +++ b/src/tests/disable_function/disabled_functions_drop_include_simulation.phpt @@ -1,7 +1,7 @@ --TEST-- Disable function, bug : https://github.com/jvoisin/snuffleupagus/issues/181 --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/disabled_functions_drop_include_simulation.ini --FILE-- diff --git a/src/tests/disable_function/disabled_functions_eval.phpt b/src/tests/disable_function/disabled_functions_eval.phpt index 7297213..78156e1 100644 --- a/src/tests/disable_function/disabled_functions_eval.phpt +++ b/src/tests/disable_function/disabled_functions_eval.phpt @@ -1,7 +1,7 @@ --TEST-- Disable functions - eval --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/disabled_functions_eval.ini --FILE-- diff --git a/src/tests/disable_function/disabled_functions_eval_filename.phpt b/src/tests/disable_function/disabled_functions_eval_filename.phpt index e58c449..61757a3 100644 --- a/src/tests/disable_function/disabled_functions_eval_filename.phpt +++ b/src/tests/disable_function/disabled_functions_eval_filename.phpt @@ -1,7 +1,7 @@ --TEST-- Disable functions - eval --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/config_disabled_functions_eval_filename.ini --FILE-- diff --git a/src/tests/disable_function/disabled_functions_eval_simulation.phpt b/src/tests/disable_function/disabled_functions_eval_simulation.phpt index d757b73..9e36006 100644 --- a/src/tests/disable_function/disabled_functions_eval_simulation.phpt +++ b/src/tests/disable_function/disabled_functions_eval_simulation.phpt @@ -1,7 +1,7 @@ --TEST-- Disable functions - eval (simulation) --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/disabled_functions_eval_simulation.ini --FILE-- diff --git a/src/tests/disable_function/disabled_functions_eval_user.phpt b/src/tests/disable_function/disabled_functions_eval_user.phpt index 46918d6..84643f6 100644 --- a/src/tests/disable_function/disabled_functions_eval_user.phpt +++ b/src/tests/disable_function/disabled_functions_eval_user.phpt @@ -1,7 +1,7 @@ --TEST-- Disable functions - eval with a disabled user func --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/config_disabled_functions_eval_user_func.ini --FILE-- diff --git a/src/tests/disable_function/disabled_functions_exit.phpt b/src/tests/disable_function/disabled_functions_exit.phpt index 80ffbca..2aa013b 100644 --- a/src/tests/disable_function/disabled_functions_exit.phpt +++ b/src/tests/disable_function/disabled_functions_exit.phpt @@ -1,7 +1,7 @@ --TEST-- Disable functions - exit --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/disabled_functions_exit.ini --FILE-- diff --git a/src/tests/disable_function/disabled_functions_filename_r.phpt b/src/tests/disable_function/disabled_functions_filename_r.phpt index 8b1c98e..f6b1538 100644 --- a/src/tests/disable_function/disabled_functions_filename_r.phpt +++ b/src/tests/disable_function/disabled_functions_filename_r.phpt @@ -1,7 +1,7 @@ --TEST-- Disable functions - filename regexp --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/config_disabled_functions_filename_r.ini --FILE-- diff --git a/src/tests/disable_function/disabled_functions_include_once.phpt b/src/tests/disable_function/disabled_functions_include_once.phpt index 0018744..57cb5a1 100644 --- a/src/tests/disable_function/disabled_functions_include_once.phpt +++ b/src/tests/disable_function/disabled_functions_include_once.phpt @@ -1,7 +1,7 @@ --TEST-- Disable functions - include_once --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/config_disabled_functions_include.ini --FILE-- diff --git a/src/tests/disable_function/disabled_functions_include_simulation.phpt b/src/tests/disable_function/disabled_functions_include_simulation.phpt index 1e9b944..53ea2a4 100644 --- a/src/tests/disable_function/disabled_functions_include_simulation.phpt +++ b/src/tests/disable_function/disabled_functions_include_simulation.phpt @@ -1,7 +1,7 @@ --TEST-- Disable functions - Include (simulation) --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/config_disabled_functions_include.ini --FILE-- diff --git a/src/tests/disable_function/disabled_functions_local_var_array.phpt b/src/tests/disable_function/disabled_functions_local_var_array.phpt index 3bb0928..f9f2d36 100644 --- a/src/tests/disable_function/disabled_functions_local_var_array.phpt +++ b/src/tests/disable_function/disabled_functions_local_var_array.phpt @@ -1,7 +1,7 @@ --TEST-- Disable functions - match on an array value buried in several levels --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/config_disabled_functions_local_var_array.ini --FILE-- diff --git a/src/tests/disable_function/disabled_functions_local_var_array_key.phpt b/src/tests/disable_function/disabled_functions_local_var_array_key.phpt index dbf038b..c585ab3 100644 --- a/src/tests/disable_function/disabled_functions_local_var_array_key.phpt +++ b/src/tests/disable_function/disabled_functions_local_var_array_key.phpt @@ -1,7 +1,7 @@ --TEST-- Disable functions - match on an array value buried in several levels --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/config_disabled_functions_local_var_array_key.ini --FILE-- diff --git a/src/tests/disable_function/disabled_functions_local_var_array_not_array.phpt b/src/tests/disable_function/disabled_functions_local_var_array_not_array.phpt index 54e8719..6a62074 100644 --- a/src/tests/disable_function/disabled_functions_local_var_array_not_array.phpt +++ b/src/tests/disable_function/disabled_functions_local_var_array_not_array.phpt @@ -1,7 +1,7 @@ --TEST-- Disable functions --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/disabled_function_local_var_array_not_array.ini --FILE-- diff --git a/src/tests/disable_function/disabled_functions_mb.phpt b/src/tests/disable_function/disabled_functions_mb.phpt index b283787..3640679 100644 --- a/src/tests/disable_function/disabled_functions_mb.phpt +++ b/src/tests/disable_function/disabled_functions_mb.phpt @@ -1,7 +1,7 @@ --TEST-- Disable functions --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/disabled_functions_mb.ini --FILE-- diff --git a/src/tests/disable_function/disabled_functions_method.phpt b/src/tests/disable_function/disabled_functions_method.phpt index fe9b22d..5f287ad 100644 --- a/src/tests/disable_function/disabled_functions_method.phpt +++ b/src/tests/disable_function/disabled_functions_method.phpt @@ -1,7 +1,7 @@ --TEST-- Disable functions --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/config_disabled_functions_method.ini --FILE-- diff --git a/src/tests/disable_function/disabled_functions_name_r.phpt b/src/tests/disable_function/disabled_functions_name_r.phpt index 5759679..db2efbf 100644 --- a/src/tests/disable_function/disabled_functions_name_r.phpt +++ b/src/tests/disable_function/disabled_functions_name_r.phpt @@ -1,7 +1,7 @@ --TEST-- Disable functions --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/config_disabled_functions_name_r.ini --FILE-- diff --git a/src/tests/disable_function/disabled_functions_name_regexp_type.phpt b/src/tests/disable_function/disabled_functions_name_regexp_type.phpt index ce24d76..bf916d2 100644 --- a/src/tests/disable_function/disabled_functions_name_regexp_type.phpt +++ b/src/tests/disable_function/disabled_functions_name_regexp_type.phpt @@ -1,7 +1,7 @@ --TEST-- Disable functions --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/config_disabled_functions_name_regexp_type.ini --FILE-- diff --git a/src/tests/disable_function/disabled_functions_name_type.phpt b/src/tests/disable_function/disabled_functions_name_type.phpt index 3816ef6..c7971ee 100644 --- a/src/tests/disable_function/disabled_functions_name_type.phpt +++ b/src/tests/disable_function/disabled_functions_name_type.phpt @@ -1,7 +1,7 @@ --TEST-- Disable functions --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/config_disabled_functions_name_type.ini --FILE-- diff --git a/src/tests/disable_function/disabled_functions_namespace.phpt b/src/tests/disable_function/disabled_functions_namespace.phpt index a51c788..c169487 100644 --- a/src/tests/disable_function/disabled_functions_namespace.phpt +++ b/src/tests/disable_function/disabled_functions_namespace.phpt @@ -1,7 +1,7 @@ --TEST-- Disable functions in namespaces --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/config_disabled_functions_namespace.ini --FILE-- diff --git a/src/tests/disable_function/disabled_functions_noconf.phpt b/src/tests/disable_function/disabled_functions_noconf.phpt index cb13413..8e2306a 100644 --- a/src/tests/disable_function/disabled_functions_noconf.phpt +++ b/src/tests/disable_function/disabled_functions_noconf.phpt @@ -1,7 +1,7 @@ --TEST-- Disable functions --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/empty.ini --FILE-- diff --git a/src/tests/disable_function/disabled_functions_nul_byte.phpt b/src/tests/disable_function/disabled_functions_nul_byte.phpt index 53ce25b..ae9ead2 100644 --- a/src/tests/disable_function/disabled_functions_nul_byte.phpt +++ b/src/tests/disable_function/disabled_functions_nul_byte.phpt @@ -1,7 +1,7 @@ --TEST-- Disable functions with nul byte --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/config_disabled_functions_nul_byte.ini --FILE-- diff --git a/src/tests/disable_function/disabled_functions_param.phpt b/src/tests/disable_function/disabled_functions_param.phpt index 52f3acb..aa661e2 100644 --- a/src/tests/disable_function/disabled_functions_param.phpt +++ b/src/tests/disable_function/disabled_functions_param.phpt @@ -1,7 +1,7 @@ --TEST-- Disable functions --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/config_disabled_functions_param.ini --FILE-- diff --git a/src/tests/disable_function/disabled_functions_param_alias.phpt b/src/tests/disable_function/disabled_functions_param_alias.phpt index 42a6fb7..334570b 100644 --- a/src/tests/disable_function/disabled_functions_param_alias.phpt +++ b/src/tests/disable_function/disabled_functions_param_alias.phpt @@ -1,7 +1,7 @@ --TEST-- Disable functions - alias --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/config_disabled_functions_param_alias.ini --FILE-- diff --git a/src/tests/disable_function/disabled_functions_param_allow.phpt b/src/tests/disable_function/disabled_functions_param_allow.phpt index 1913754..cba8455 100644 --- a/src/tests/disable_function/disabled_functions_param_allow.phpt +++ b/src/tests/disable_function/disabled_functions_param_allow.phpt @@ -1,7 +1,7 @@ --TEST-- Disable functions - allow --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/config_disabled_functions_param_allow.ini --FILE-- diff --git a/src/tests/disable_function/disabled_functions_param_array.phpt b/src/tests/disable_function/disabled_functions_param_array.phpt index 47123bd..30b11c1 100644 --- a/src/tests/disable_function/disabled_functions_param_array.phpt +++ b/src/tests/disable_function/disabled_functions_param_array.phpt @@ -1,7 +1,7 @@ --TEST-- Disable functions --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/config_disabled_functions_param_array.ini --FILE-- diff --git a/src/tests/disable_function/disabled_functions_param_array_deref.phpt b/src/tests/disable_function/disabled_functions_param_array_deref.phpt index 795f5eb..a10c648 100644 --- a/src/tests/disable_function/disabled_functions_param_array_deref.phpt +++ b/src/tests/disable_function/disabled_functions_param_array_deref.phpt @@ -1,7 +1,7 @@ --TEST-- Disable functions --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/config_disabled_functions_param_array.ini --FILE-- diff --git a/src/tests/disable_function/disabled_functions_param_array_no_value.phpt b/src/tests/disable_function/disabled_functions_param_array_no_value.phpt index 5f6a59b..778ec24 100644 --- a/src/tests/disable_function/disabled_functions_param_array_no_value.phpt +++ b/src/tests/disable_function/disabled_functions_param_array_no_value.phpt @@ -1,7 +1,7 @@ --TEST-- Disable functions - matching on an array's variable only --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/config_disabled_functions_param_array.ini --FILE-- diff --git a/src/tests/disable_function/disabled_functions_param_array_r.phpt b/src/tests/disable_function/disabled_functions_param_array_r.phpt index b3bf286..ceace9c 100644 --- a/src/tests/disable_function/disabled_functions_param_array_r.phpt +++ b/src/tests/disable_function/disabled_functions_param_array_r.phpt @@ -1,7 +1,7 @@ --TEST-- Disable functions - match on an array using regexp --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/config_disabled_functions_param_r_array.ini --FILE-- diff --git a/src/tests/disable_function/disabled_functions_param_array_r_keys.phpt b/src/tests/disable_function/disabled_functions_param_array_r_keys.phpt index 7f68633..e4912df 100644 --- a/src/tests/disable_function/disabled_functions_param_array_r_keys.phpt +++ b/src/tests/disable_function/disabled_functions_param_array_r_keys.phpt @@ -1,7 +1,7 @@ --TEST-- Disable functions - match on an array using regexp --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/config_disabled_functions_param_r_array.ini --FILE-- diff --git a/src/tests/disable_function/disabled_functions_param_array_several_levels.phpt b/src/tests/disable_function/disabled_functions_param_array_several_levels.phpt index 68026e1..3f713ad 100644 --- a/src/tests/disable_function/disabled_functions_param_array_several_levels.phpt +++ b/src/tests/disable_function/disabled_functions_param_array_several_levels.phpt @@ -1,7 +1,7 @@ --TEST-- Disable functions - match on an array value buried in several levels --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/config_disabled_functions_param_array.ini --FILE-- diff --git a/src/tests/disable_function/disabled_functions_param_array_several_levels_int.phpt b/src/tests/disable_function/disabled_functions_param_array_several_levels_int.phpt index c869c4f..3f35444 100644 --- a/src/tests/disable_function/disabled_functions_param_array_several_levels_int.phpt +++ b/src/tests/disable_function/disabled_functions_param_array_several_levels_int.phpt @@ -1,7 +1,7 @@ --TEST-- Disable functions - match on an array value buried in several levels --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/config_disabled_functions_param_array.ini --FILE-- diff --git a/src/tests/disable_function/disabled_functions_param_array_several_levels_keys.phpt b/src/tests/disable_function/disabled_functions_param_array_several_levels_keys.phpt index 0b1bd23..af6731b 100644 --- a/src/tests/disable_function/disabled_functions_param_array_several_levels_keys.phpt +++ b/src/tests/disable_function/disabled_functions_param_array_several_levels_keys.phpt @@ -1,7 +1,7 @@ --TEST-- Disable functions - match on an array value buried in several levels --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/config_disabled_functions_param_array.ini --FILE-- diff --git a/src/tests/disable_function/disabled_functions_param_array_several_levels_keys_int.phpt b/src/tests/disable_function/disabled_functions_param_array_several_levels_keys_int.phpt index 5641ce7..7e9627e 100644 --- a/src/tests/disable_function/disabled_functions_param_array_several_levels_keys_int.phpt +++ b/src/tests/disable_function/disabled_functions_param_array_several_levels_keys_int.phpt @@ -1,7 +1,7 @@ --TEST-- Disable functions - match on an array value buried in several levels --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/config_disabled_functions_param_array.ini --FILE-- diff --git a/src/tests/disable_function/disabled_functions_param_broken_line.phpt b/src/tests/disable_function/disabled_functions_param_broken_line.phpt index 2dfab6a..a372314 100644 --- a/src/tests/disable_function/disabled_functions_param_broken_line.phpt +++ b/src/tests/disable_function/disabled_functions_param_broken_line.phpt @@ -1,7 +1,7 @@ --TEST-- Disable functions - match on a specific line - broken configuration --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/disabled_functions_broken_line.ini --FILE-- diff --git a/src/tests/disable_function/disabled_functions_param_int.phpt b/src/tests/disable_function/disabled_functions_param_int.phpt index 482bea8..c49e25e 100644 --- a/src/tests/disable_function/disabled_functions_param_int.phpt +++ b/src/tests/disable_function/disabled_functions_param_int.phpt @@ -1,7 +1,7 @@ --TEST-- Disable functions --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/config_disabled_functions_param_int.ini --FILE-- diff --git a/src/tests/disable_function/disabled_functions_param_invalid_pos.phpt b/src/tests/disable_function/disabled_functions_param_invalid_pos.phpt index 4c5b824..bafe50a 100644 --- a/src/tests/disable_function/disabled_functions_param_invalid_pos.phpt +++ b/src/tests/disable_function/disabled_functions_param_invalid_pos.phpt @@ -1,7 +1,7 @@ --TEST-- Disable functions - match on argument's position --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/disabled_functions_invalid_pos.ini --FILE-- diff --git a/src/tests/disable_function/disabled_functions_param_line.phpt b/src/tests/disable_function/disabled_functions_param_line.phpt index 2172d4b..bbd8a9a 100644 --- a/src/tests/disable_function/disabled_functions_param_line.phpt +++ b/src/tests/disable_function/disabled_functions_param_line.phpt @@ -1,7 +1,7 @@ --TEST-- Disable functions - match on a specific line --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/disabled_functions_line.ini --FILE-- diff --git a/src/tests/disable_function/disabled_functions_param_pos.phpt b/src/tests/disable_function/disabled_functions_param_pos.phpt index 8d5f93f..bacca62 100644 --- a/src/tests/disable_function/disabled_functions_param_pos.phpt +++ b/src/tests/disable_function/disabled_functions_param_pos.phpt @@ -1,7 +1,7 @@ --TEST-- Disable functions - match on argument's position --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/disabled_functions_pos.ini --FILE-- diff --git a/src/tests/disable_function/disabled_functions_param_pos2.phpt b/src/tests/disable_function/disabled_functions_param_pos2.phpt index c8f7893..6854147 100644 --- a/src/tests/disable_function/disabled_functions_param_pos2.phpt +++ b/src/tests/disable_function/disabled_functions_param_pos2.phpt @@ -1,7 +1,7 @@ --TEST-- Disable functions - match on argument's position, not the first time --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/disabled_functions_pos.ini --FILE-- diff --git a/src/tests/disable_function/disabled_functions_param_r.phpt b/src/tests/disable_function/disabled_functions_param_r.phpt index 4d34701..f919581 100644 --- a/src/tests/disable_function/disabled_functions_param_r.phpt +++ b/src/tests/disable_function/disabled_functions_param_r.phpt @@ -1,7 +1,7 @@ --TEST-- Disable functions --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/config_disabled_functions_param_r.ini --FILE-- diff --git a/src/tests/disable_function/disabled_functions_param_str_representation.phpt b/src/tests/disable_function/disabled_functions_param_str_representation.phpt index 7cbdc0f..f56c457 100644 --- a/src/tests/disable_function/disabled_functions_param_str_representation.phpt +++ b/src/tests/disable_function/disabled_functions_param_str_representation.phpt @@ -1,7 +1,7 @@ --TEST-- Disable functions - casting various types to string internally --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/config_disabled_functions_param_str_representation.ini --FILE-- diff --git a/src/tests/disable_function/disabled_functions_parse_class.phpt b/src/tests/disable_function/disabled_functions_parse_class.phpt index af9ed88..e62fe40 100644 --- a/src/tests/disable_function/disabled_functions_parse_class.phpt +++ b/src/tests/disable_function/disabled_functions_parse_class.phpt @@ -1,7 +1,7 @@ --TEST-- Disable functions - Parsing of an Object as a return value of a function --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/disabled_functions_ret.ini --FILE-- diff --git a/src/tests/disable_function/disabled_functions_pos_type.phpt b/src/tests/disable_function/disabled_functions_pos_type.phpt index 74d5e08..ba134ad 100644 --- a/src/tests/disable_function/disabled_functions_pos_type.phpt +++ b/src/tests/disable_function/disabled_functions_pos_type.phpt @@ -1,7 +1,7 @@ --TEST-- Disable functions - match on argument's position --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/disabled_functions_pos.ini --FILE-- diff --git a/src/tests/disable_function/disabled_functions_regexp_multiple.phpt b/src/tests/disable_function/disabled_functions_regexp_multiple.phpt index f78e0f5..5f8b151 100644 --- a/src/tests/disable_function/disabled_functions_regexp_multiple.phpt +++ b/src/tests/disable_function/disabled_functions_regexp_multiple.phpt @@ -1,7 +1,7 @@ --TEST-- Disable functions --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/disabled_functions_regexp.ini --FILE-- diff --git a/src/tests/disable_function/disabled_functions_register_shutdown_function.phpt b/src/tests/disable_function/disabled_functions_register_shutdown_function.phpt index b0d04ad..f33bb42 100644 --- a/src/tests/disable_function/disabled_functions_register_shutdown_function.phpt +++ b/src/tests/disable_function/disabled_functions_register_shutdown_function.phpt @@ -1,7 +1,7 @@ --TEST-- Disable functions - Called with register_shutdown_function --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/config_disabled_user_functions.ini --FILE-- diff --git a/src/tests/disable_function/disabled_functions_register_tick_function.phpt b/src/tests/disable_function/disabled_functions_register_tick_function.phpt index c74f3c7..623e424 100644 --- a/src/tests/disable_function/disabled_functions_register_tick_function.phpt +++ b/src/tests/disable_function/disabled_functions_register_tick_function.phpt @@ -1,7 +1,7 @@ --TEST-- Disable functions - Called with register_tick_function --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/config_disabled_user_functions.ini --FILE-- diff --git a/src/tests/disable_function/disabled_functions_require.phpt b/src/tests/disable_function/disabled_functions_require.phpt index d05ab04..df2b2f0 100644 --- a/src/tests/disable_function/disabled_functions_require.phpt +++ b/src/tests/disable_function/disabled_functions_require.phpt @@ -1,7 +1,7 @@ --TEST-- Disable functions - Require --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/config_disabled_functions_require.ini --FILE-- diff --git a/src/tests/disable_function/disabled_functions_require_allow.phpt b/src/tests/disable_function/disabled_functions_require_allow.phpt index 1e3bc56..7ab29aa 100644 --- a/src/tests/disable_function/disabled_functions_require_allow.phpt +++ b/src/tests/disable_function/disabled_functions_require_allow.phpt @@ -1,7 +1,7 @@ --TEST-- Disable functions - Require (allow) --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/config_disabled_functions_require_allow.ini --FILE-- diff --git a/src/tests/disable_function/disabled_functions_require_once.phpt b/src/tests/disable_function/disabled_functions_require_once.phpt index b9e64f2..7356c08 100644 --- a/src/tests/disable_function/disabled_functions_require_once.phpt +++ b/src/tests/disable_function/disabled_functions_require_once.phpt @@ -1,7 +1,7 @@ --TEST-- Disable functions - require_once --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/config_disabled_functions_require.ini --FILE-- diff --git a/src/tests/disable_function/disabled_functions_require_simulation.phpt b/src/tests/disable_function/disabled_functions_require_simulation.phpt index b23fdec..fa1523c 100644 --- a/src/tests/disable_function/disabled_functions_require_simulation.phpt +++ b/src/tests/disable_function/disabled_functions_require_simulation.phpt @@ -1,7 +1,7 @@ --TEST-- Disable functions - Require (simulation) --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/config_disabled_functions_require.ini --FILE-- diff --git a/src/tests/disable_function/disabled_functions_ret.phpt b/src/tests/disable_function/disabled_functions_ret.phpt index f8a20c7..be5e946 100644 --- a/src/tests/disable_function/disabled_functions_ret.phpt +++ b/src/tests/disable_function/disabled_functions_ret.phpt @@ -1,7 +1,7 @@ --TEST-- Disable functions check on `ret`. --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/disabled_functions_ret.ini --FILE-- diff --git a/src/tests/disable_function/disabled_functions_ret2.phpt b/src/tests/disable_function/disabled_functions_ret2.phpt index 93af2d1..8070b08 100644 --- a/src/tests/disable_function/disabled_functions_ret2.phpt +++ b/src/tests/disable_function/disabled_functions_ret2.phpt @@ -1,7 +1,7 @@ --TEST-- Disable functions check on `ret`. --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/disabled_functions_ret.ini --FILE-- diff --git a/src/tests/disable_function/disabled_functions_ret3.phpt b/src/tests/disable_function/disabled_functions_ret3.phpt index 21edb94..744ec78 100644 --- a/src/tests/disable_function/disabled_functions_ret3.phpt +++ b/src/tests/disable_function/disabled_functions_ret3.phpt @@ -1,7 +1,7 @@ --TEST-- Disable functions check on `ret`. --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/disabled_functions_ret.ini memory_limit=-1 diff --git a/src/tests/disable_function/disabled_functions_ret_allow.phpt b/src/tests/disable_function/disabled_functions_ret_allow.phpt index 1690995..90fe4c7 100644 --- a/src/tests/disable_function/disabled_functions_ret_allow.phpt +++ b/src/tests/disable_function/disabled_functions_ret_allow.phpt @@ -1,7 +1,7 @@ --TEST-- Disable functions check on `ret`. --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/config_disabled_functions_ret_allow.ini --FILE-- diff --git a/src/tests/disable_function/disabled_functions_ret_allow_value.phpt b/src/tests/disable_function/disabled_functions_ret_allow_value.phpt index 881a006..c7785fd 100644 --- a/src/tests/disable_function/disabled_functions_ret_allow_value.phpt +++ b/src/tests/disable_function/disabled_functions_ret_allow_value.phpt @@ -1,7 +1,7 @@ --TEST-- Disable functions check on `ret` allowed --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/config_disabled_functions_ret_allow_value.ini --FILE-- diff --git a/src/tests/disable_function/disabled_functions_ret_right_hash.phpt b/src/tests/disable_function/disabled_functions_ret_right_hash.phpt index 68d89a5..f434e25 100644 --- a/src/tests/disable_function/disabled_functions_ret_right_hash.phpt +++ b/src/tests/disable_function/disabled_functions_ret_right_hash.phpt @@ -1,7 +1,7 @@ --TEST-- Disable functions --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/config_disabled_functions_ret_right_hash.ini --FILE-- diff --git a/src/tests/disable_function/disabled_functions_ret_simulation.phpt b/src/tests/disable_function/disabled_functions_ret_simulation.phpt index 4085215..ca9dc7f 100644 --- a/src/tests/disable_function/disabled_functions_ret_simulation.phpt +++ b/src/tests/disable_function/disabled_functions_ret_simulation.phpt @@ -1,7 +1,7 @@ --TEST-- Disable functions check on `ret` simulation --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/config_disabled_functions_ret_simulation.ini --FILE-- diff --git a/src/tests/disable_function/disabled_functions_ret_type.phpt b/src/tests/disable_function/disabled_functions_ret_type.phpt index ffcc590..3a9a230 100644 --- a/src/tests/disable_function/disabled_functions_ret_type.phpt +++ b/src/tests/disable_function/disabled_functions_ret_type.phpt @@ -1,7 +1,7 @@ --TEST-- Disable functions check on `ret` by type matching (false) --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/disabled_functions_ret_type.ini --FILE-- diff --git a/src/tests/disable_function/disabled_functions_ret_type_array.phpt b/src/tests/disable_function/disabled_functions_ret_type_array.phpt index 85e1ce9..3dcb0f2 100644 --- a/src/tests/disable_function/disabled_functions_ret_type_array.phpt +++ b/src/tests/disable_function/disabled_functions_ret_type_array.phpt @@ -1,7 +1,7 @@ --TEST-- Disable functions check on `ret` by type matching (array). --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/disabled_functions_ret_type_array.ini --FILE-- diff --git a/src/tests/disable_function/disabled_functions_ret_type_double.phpt b/src/tests/disable_function/disabled_functions_ret_type_double.phpt index 6291d60..df5b1ae 100644 --- a/src/tests/disable_function/disabled_functions_ret_type_double.phpt +++ b/src/tests/disable_function/disabled_functions_ret_type_double.phpt @@ -1,7 +1,7 @@ --TEST-- Disable functions check on `ret` by type matching (double). --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/disabled_functions_ret_type_double.ini --FILE-- diff --git a/src/tests/disable_function/disabled_functions_ret_type_long.phpt b/src/tests/disable_function/disabled_functions_ret_type_long.phpt index 694b6c5..5da1103 100644 --- a/src/tests/disable_function/disabled_functions_ret_type_long.phpt +++ b/src/tests/disable_function/disabled_functions_ret_type_long.phpt @@ -1,7 +1,7 @@ --TEST-- Disable functions check on `ret` by type matching (long). --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/disabled_functions_ret_type_long.ini --FILE-- diff --git a/src/tests/disable_function/disabled_functions_ret_type_null.phpt b/src/tests/disable_function/disabled_functions_ret_type_null.phpt index e946ea9..c2c6880 100644 --- a/src/tests/disable_function/disabled_functions_ret_type_null.phpt +++ b/src/tests/disable_function/disabled_functions_ret_type_null.phpt @@ -1,7 +1,7 @@ --TEST-- Disable functions check on `ret` by type matching (null). --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/disabled_functions_ret_type_null.ini --FILE-- diff --git a/src/tests/disable_function/disabled_functions_ret_type_object.phpt b/src/tests/disable_function/disabled_functions_ret_type_object.phpt index f8ee6a8..a6a3519 100644 --- a/src/tests/disable_function/disabled_functions_ret_type_object.phpt +++ b/src/tests/disable_function/disabled_functions_ret_type_object.phpt @@ -1,7 +1,7 @@ --TEST-- Disable functions check on `ret` by type matching (object). --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/disabled_functions_ret_type_object.ini --FILE-- diff --git a/src/tests/disable_function/disabled_functions_ret_type_resource.phpt b/src/tests/disable_function/disabled_functions_ret_type_resource.phpt index 6a3e940..cf30d95 100644 --- a/src/tests/disable_function/disabled_functions_ret_type_resource.phpt +++ b/src/tests/disable_function/disabled_functions_ret_type_resource.phpt @@ -1,7 +1,7 @@ --TEST-- Disable functions check on `ret` by type matching (resource). --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/disabled_functions_ret_type_resource.ini --FILE-- diff --git a/src/tests/disable_function/disabled_functions_ret_type_str.phpt b/src/tests/disable_function/disabled_functions_ret_type_str.phpt index c4750b4..48a0c04 100644 --- a/src/tests/disable_function/disabled_functions_ret_type_str.phpt +++ b/src/tests/disable_function/disabled_functions_ret_type_str.phpt @@ -1,7 +1,7 @@ --TEST-- Disable functions check on `ret` by type matching (string). --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/disabled_functions_ret_type_str.ini --FILE-- diff --git a/src/tests/disable_function/disabled_functions_ret_type_true.phpt b/src/tests/disable_function/disabled_functions_ret_type_true.phpt index 5b2dacb..7cc1e38 100644 --- a/src/tests/disable_function/disabled_functions_ret_type_true.phpt +++ b/src/tests/disable_function/disabled_functions_ret_type_true.phpt @@ -1,7 +1,7 @@ --TEST-- Disable functions check on `ret` by type matching (true). --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/disabled_functions_ret_type_true.ini --FILE-- diff --git a/src/tests/disable_function/disabled_functions_ret_user.phpt b/src/tests/disable_function/disabled_functions_ret_user.phpt index 71f1375..040756c 100644 --- a/src/tests/disable_function/disabled_functions_ret_user.phpt +++ b/src/tests/disable_function/disabled_functions_ret_user.phpt @@ -1,7 +1,7 @@ --TEST-- Check NULL return value for user func --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/config_disabled_functions_ret_user.ini --FILE-- diff --git a/src/tests/disable_function/disabled_functions_ret_user_used.phpt b/src/tests/disable_function/disabled_functions_ret_user_used.phpt index 9640329..7499e1c 100644 --- a/src/tests/disable_function/disabled_functions_ret_user_used.phpt +++ b/src/tests/disable_function/disabled_functions_ret_user_used.phpt @@ -1,7 +1,7 @@ --TEST-- Check return value for user func --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/config_disabled_functions_ret_user.ini --FILE-- diff --git a/src/tests/disable_function/disabled_functions_ret_val.phpt b/src/tests/disable_function/disabled_functions_ret_val.phpt index 12ce715..0bf39bb 100644 --- a/src/tests/disable_function/disabled_functions_ret_val.phpt +++ b/src/tests/disable_function/disabled_functions_ret_val.phpt @@ -1,7 +1,7 @@ --TEST-- Disable functions ret val --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/disabled_functions_retval.ini --FILE-- diff --git a/src/tests/disable_function/disabled_functions_ret_val_dump.phpt b/src/tests/disable_function/disabled_functions_ret_val_dump.phpt index 95b2639..5e36900 100644 --- a/src/tests/disable_function/disabled_functions_ret_val_dump.phpt +++ b/src/tests/disable_function/disabled_functions_ret_val_dump.phpt @@ -1,7 +1,7 @@ --TEST-- Disable functions ret val - dump --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/disabled_functions_retval_dump.ini --ENV-- diff --git a/src/tests/disable_function/disabled_functions_ret_val_rx.phpt b/src/tests/disable_function/disabled_functions_ret_val_rx.phpt index 01eceac..e756d30 100644 --- a/src/tests/disable_function/disabled_functions_ret_val_rx.phpt +++ b/src/tests/disable_function/disabled_functions_ret_val_rx.phpt @@ -1,7 +1,7 @@ --TEST-- Disable functions ret val rx --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/disabled_functions_retval_rx.ini --FILE-- diff --git a/src/tests/disable_function/disabled_functions_right_hash.phpt b/src/tests/disable_function/disabled_functions_right_hash.phpt index f3c5fb3..1c6e3d1 100644 --- a/src/tests/disable_function/disabled_functions_right_hash.phpt +++ b/src/tests/disable_function/disabled_functions_right_hash.phpt @@ -1,7 +1,7 @@ --TEST-- Disable functions --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/config_disabled_functions_right_hash.ini --FILE-- diff --git a/src/tests/disable_function/disabled_functions_runtime.phpt b/src/tests/disable_function/disabled_functions_runtime.phpt index 41fa297..3d74b40 100644 --- a/src/tests/disable_function/disabled_functions_runtime.phpt +++ b/src/tests/disable_function/disabled_functions_runtime.phpt @@ -1,7 +1,7 @@ --TEST-- Disable functions - runtime inclusion --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/config_disabled_functions_param_runtime.ini --FILE-- diff --git a/src/tests/disable_function/disabled_functions_upper.phpt b/src/tests/disable_function/disabled_functions_upper.phpt index cdeb1b9..e3878f0 100644 --- a/src/tests/disable_function/disabled_functions_upper.phpt +++ b/src/tests/disable_function/disabled_functions_upper.phpt @@ -1,7 +1,7 @@ --TEST-- Disable functions - uppercase --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/disabled_functions.ini --FILE-- diff --git a/src/tests/disable_function/disabled_functions_variadic.phpt b/src/tests/disable_function/disabled_functions_variadic.phpt index e20fa41..7658ec8 100644 --- a/src/tests/disable_function/disabled_functions_variadic.phpt +++ b/src/tests/disable_function/disabled_functions_variadic.phpt @@ -1,7 +1,7 @@ --TEST-- Disable functions - support for variadic functions --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/config_disabled_functions_variadic.ini --FILE-- diff --git a/src/tests/disable_function/disabled_functions_zero_cidr.phpt b/src/tests/disable_function/disabled_functions_zero_cidr.phpt index a0bc95c..4fd0bb9 100644 --- a/src/tests/disable_function/disabled_functions_zero_cidr.phpt +++ b/src/tests/disable_function/disabled_functions_zero_cidr.phpt @@ -1,7 +1,7 @@ --TEST-- Disable functions --SKIPIF-- - + --ENV-- return << + --INI-- sp.configuration_file={PWD}/config/disabled_functions.ini --FILE-- diff --git a/src/tests/disable_function/disabled_user_functions.phpt b/src/tests/disable_function/disabled_user_functions.phpt index 629d1df..62c357b 100644 --- a/src/tests/disable_function/disabled_user_functions.phpt +++ b/src/tests/disable_function/disabled_user_functions.phpt @@ -1,7 +1,7 @@ --TEST-- Disabled user-created functions --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/config_disabled_user_functions.ini --FILE-- diff --git a/src/tests/disable_function/disabled_user_functions_indirect.phpt b/src/tests/disable_function/disabled_user_functions_indirect.phpt index 9231bb9..bc57871 100644 --- a/src/tests/disable_function/disabled_user_functions_indirect.phpt +++ b/src/tests/disable_function/disabled_user_functions_indirect.phpt @@ -1,7 +1,7 @@ --TEST-- Disabled user-created functions, called indirectly --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/config_disabled_user_functions.ini --FILE-- diff --git a/src/tests/dump_request/dump_eval_blacklist.phpt b/src/tests/dump_request/dump_eval_blacklist.phpt index c4981a3..4a209f6 100644 --- a/src/tests/dump_request/dump_eval_blacklist.phpt +++ b/src/tests/dump_request/dump_eval_blacklist.phpt @@ -2,7 +2,7 @@ Dump eval blacklist --SKIPIF-- --POST-- post_a=data_post_a&post_b=data_post_b diff --git a/src/tests/dump_request/dump_eval_whitelist.phpt b/src/tests/dump_request/dump_eval_whitelist.phpt index 53bb918..cf696ad 100644 --- a/src/tests/dump_request/dump_eval_whitelist.phpt +++ b/src/tests/dump_request/dump_eval_whitelist.phpt @@ -2,7 +2,7 @@ Dump eval whitelist --SKIPIF-- --POST-- post_a=data_post_a&post_b=data_post_b diff --git a/src/tests/dump_request/dump_segfault1.phpt b/src/tests/dump_request/dump_segfault1.phpt index 4febccf..4e241d7 100644 --- a/src/tests/dump_request/dump_segfault1.phpt +++ b/src/tests/dump_request/dump_segfault1.phpt @@ -1,7 +1,7 @@ --TEST-- Disable functions check on `ret` with an alias --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/config_dump_segfault1.ini --FILE-- diff --git a/src/tests/eval_blacklist/eval_backlist.phpt b/src/tests/eval_blacklist/eval_backlist.phpt index 0cb000e..fa32b4b 100644 --- a/src/tests/eval_blacklist/eval_backlist.phpt +++ b/src/tests/eval_blacklist/eval_backlist.phpt @@ -1,7 +1,7 @@ --TEST-- Eval blacklist --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/eval_backlist.ini --FILE-- diff --git a/src/tests/eval_blacklist/eval_backlist_call_user_func.phpt b/src/tests/eval_blacklist/eval_backlist_call_user_func.phpt index 96bf682..4c37263 100644 --- a/src/tests/eval_blacklist/eval_backlist_call_user_func.phpt +++ b/src/tests/eval_blacklist/eval_backlist_call_user_func.phpt @@ -1,7 +1,7 @@ --TEST-- Eval blacklist - with several calls in an eval. --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/eval_backlist.ini --FILE-- diff --git a/src/tests/eval_blacklist/eval_backlist_chained.phpt b/src/tests/eval_blacklist/eval_backlist_chained.phpt index 584ff2f..820ef1d 100644 --- a/src/tests/eval_blacklist/eval_backlist_chained.phpt +++ b/src/tests/eval_blacklist/eval_backlist_chained.phpt @@ -1,7 +1,7 @@ --TEST-- Eval blacklist - with several calls in an eval. --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/eval_backlist.ini --FILE-- diff --git a/src/tests/eval_blacklist/eval_backlist_list.phpt b/src/tests/eval_blacklist/eval_backlist_list.phpt index c63df75..725a9bb 100644 --- a/src/tests/eval_blacklist/eval_backlist_list.phpt +++ b/src/tests/eval_blacklist/eval_backlist_list.phpt @@ -1,7 +1,7 @@ --TEST-- Eval blacklist - with a list of functions --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/eval_backlist_list.ini --FILE-- diff --git a/src/tests/eval_blacklist/eval_backlist_simulation.phpt b/src/tests/eval_blacklist/eval_backlist_simulation.phpt index 5701096..f09370d 100644 --- a/src/tests/eval_blacklist/eval_backlist_simulation.phpt +++ b/src/tests/eval_blacklist/eval_backlist_simulation.phpt @@ -1,7 +1,7 @@ --TEST-- Eval blacklist simulation --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/eval_backlist_simulation.ini --FILE-- diff --git a/src/tests/eval_blacklist/eval_backlist_whitelist.phpt b/src/tests/eval_blacklist/eval_backlist_whitelist.phpt index 3973bb8..de81402 100644 --- a/src/tests/eval_blacklist/eval_backlist_whitelist.phpt +++ b/src/tests/eval_blacklist/eval_backlist_whitelist.phpt @@ -1,7 +1,7 @@ --TEST-- Eval whitelist --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/eval_whitelist_blacklist.ini --FILE-- diff --git a/src/tests/eval_blacklist/eval_backlist_whitelist_builtin.phpt b/src/tests/eval_blacklist/eval_backlist_whitelist_builtin.phpt index fe770a6..82abe02 100644 --- a/src/tests/eval_blacklist/eval_backlist_whitelist_builtin.phpt +++ b/src/tests/eval_blacklist/eval_backlist_whitelist_builtin.phpt @@ -1,7 +1,7 @@ --TEST-- Eval whitelist/blacklist, on builtin functions --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/eval_whitelist_blacklist.ini --FILE-- diff --git a/src/tests/eval_blacklist/eval_whitelist.phpt b/src/tests/eval_blacklist/eval_whitelist.phpt index 483e097..016b599 100644 --- a/src/tests/eval_blacklist/eval_whitelist.phpt +++ b/src/tests/eval_blacklist/eval_whitelist.phpt @@ -1,7 +1,7 @@ --TEST-- Eval whitelist --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/eval_whitelist.ini --FILE-- diff --git a/src/tests/eval_blacklist/eval_whitelist_builtin.phpt b/src/tests/eval_blacklist/eval_whitelist_builtin.phpt index 339aef5..4494878 100644 --- a/src/tests/eval_blacklist/eval_whitelist_builtin.phpt +++ b/src/tests/eval_blacklist/eval_whitelist_builtin.phpt @@ -1,7 +1,7 @@ --TEST-- Eval whitelist - builtin function --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/eval_whitelist.ini --FILE-- diff --git a/src/tests/eval_blacklist/eval_whitelist_include_then_user.phpt b/src/tests/eval_blacklist/eval_whitelist_include_then_user.phpt index ad294ce..825480f 100644 --- a/src/tests/eval_blacklist/eval_whitelist_include_then_user.phpt +++ b/src/tests/eval_blacklist/eval_whitelist_include_then_user.phpt @@ -1,7 +1,7 @@ --TEST-- Eval whitelist - builtin function --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/eval_whitelist.ini --FILE-- diff --git a/src/tests/eval_blacklist/eval_whitelist_simulation.phpt b/src/tests/eval_blacklist/eval_whitelist_simulation.phpt index f5d8028..0f6f879 100644 --- a/src/tests/eval_blacklist/eval_whitelist_simulation.phpt +++ b/src/tests/eval_blacklist/eval_whitelist_simulation.phpt @@ -1,7 +1,7 @@ --TEST-- Eval whitelist simulation --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/eval_whitelist_simulation.ini --FILE-- diff --git a/src/tests/eval_blacklist/eval_whitelist_user_then_builtin.phpt b/src/tests/eval_blacklist/eval_whitelist_user_then_builtin.phpt index a0806b9..6d4a579 100644 --- a/src/tests/eval_blacklist/eval_whitelist_user_then_builtin.phpt +++ b/src/tests/eval_blacklist/eval_whitelist_user_then_builtin.phpt @@ -1,7 +1,7 @@ --TEST-- Eval whitelist - builtin function --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/eval_whitelist.ini --FILE-- diff --git a/src/tests/eval_blacklist/nested_eval_blacklist.phpt b/src/tests/eval_blacklist/nested_eval_blacklist.phpt index 01bba3c..8ff0b6d 100644 --- a/src/tests/eval_blacklist/nested_eval_blacklist.phpt +++ b/src/tests/eval_blacklist/nested_eval_blacklist.phpt @@ -1,7 +1,7 @@ --TEST-- Eval blacklist - nested eval --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/eval_backlist.ini --FILE-- diff --git a/src/tests/eval_blacklist/nested_eval_blacklist2.phpt b/src/tests/eval_blacklist/nested_eval_blacklist2.phpt index ec5bdfe..37f8967 100644 --- a/src/tests/eval_blacklist/nested_eval_blacklist2.phpt +++ b/src/tests/eval_blacklist/nested_eval_blacklist2.phpt @@ -1,7 +1,7 @@ --TEST-- Eval blacklist - nested eval, with a twist --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/eval_backlist.ini --FILE-- diff --git a/src/tests/glob_config.phpt b/src/tests/glob_config.phpt index 6cacc38..499d20b 100644 --- a/src/tests/glob_config.phpt +++ b/src/tests/glob_config.phpt @@ -1,7 +1,7 @@ --TEST-- Multiple configuration files --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/config_multi*.ini --FILE-- diff --git a/src/tests/multi_config.phpt b/src/tests/multi_config.phpt index dfb9615..dbd38c0 100644 --- a/src/tests/multi_config.phpt +++ b/src/tests/multi_config.phpt @@ -1,7 +1,7 @@ --TEST-- Multiple configuration files --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/config_multi2.ini,{PWD}/config/config_multi1.ini --FILE-- diff --git a/src/tests/rips_configuration.phpt b/src/tests/rips_configuration.phpt index 31d1266..7c197e5 100644 --- a/src/tests/rips_configuration.phpt +++ b/src/tests/rips_configuration.phpt @@ -1,7 +1,7 @@ --TEST-- Shipped configuration (rips) --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/../../config/rips.rules --FILE-- diff --git a/src/tests/samesite_cookies.phpt b/src/tests/samesite_cookies.phpt index 5ba92a3..ffe0a0b 100644 --- a/src/tests/samesite_cookies.phpt +++ b/src/tests/samesite_cookies.phpt @@ -2,7 +2,7 @@ Cookie samesite --SKIPIF-- --INI-- sp.configuration_file={PWD}/config/config_samesite_cookies.ini diff --git a/src/tests/session_encryption/crypt_session_corrupted_session.phpt b/src/tests/session_encryption/crypt_session_corrupted_session.phpt index e139115..a89faf4 100644 --- a/src/tests/session_encryption/crypt_session_corrupted_session.phpt +++ b/src/tests/session_encryption/crypt_session_corrupted_session.phpt @@ -1,7 +1,7 @@ --TEST-- Set a custom session handler --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/config_crypt_session.ini session.save_path = "/tmp" diff --git a/src/tests/session_encryption/crypt_session_invalid.phpt b/src/tests/session_encryption/crypt_session_invalid.phpt index 69e7e72..9ec7c50 100644 --- a/src/tests/session_encryption/crypt_session_invalid.phpt +++ b/src/tests/session_encryption/crypt_session_invalid.phpt @@ -1,7 +1,7 @@ --TEST-- SESSION crypt and bad decrypt --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/config_crypt_session.ini --ENV-- diff --git a/src/tests/session_encryption/crypt_session_invalid_simul.phpt b/src/tests/session_encryption/crypt_session_invalid_simul.phpt index 7bfefcb..cbb80dc 100644 --- a/src/tests/session_encryption/crypt_session_invalid_simul.phpt +++ b/src/tests/session_encryption/crypt_session_invalid_simul.phpt @@ -1,7 +1,7 @@ --TEST-- SESSION crypt and bad decrypt --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/config_crypt_session_simul.ini --ENV-- diff --git a/src/tests/session_encryption/crypt_session_read_uncrypt.phpt b/src/tests/session_encryption/crypt_session_read_uncrypt.phpt index f15d8b6..5e81b52 100644 --- a/src/tests/session_encryption/crypt_session_read_uncrypt.phpt +++ b/src/tests/session_encryption/crypt_session_read_uncrypt.phpt @@ -1,7 +1,7 @@ --TEST-- SESSION crypt/decrypt valid --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/config_crypt_session_simul.ini --ENV-- diff --git a/src/tests/session_encryption/crypt_session_valid.phpt b/src/tests/session_encryption/crypt_session_valid.phpt index bf9fea0..c272486 100644 --- a/src/tests/session_encryption/crypt_session_valid.phpt +++ b/src/tests/session_encryption/crypt_session_valid.phpt @@ -1,7 +1,7 @@ --TEST-- SESSION crypt/decrypt valid --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/config_crypt_session.ini --ENV-- diff --git a/src/tests/session_encryption/crypt_session_valid_simul.phpt b/src/tests/session_encryption/crypt_session_valid_simul.phpt index 28083cf..d63277d 100644 --- a/src/tests/session_encryption/crypt_session_valid_simul.phpt +++ b/src/tests/session_encryption/crypt_session_valid_simul.phpt @@ -1,7 +1,7 @@ --TEST-- SESSION crypt/decrypt valid --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/config_crypt_session_simul.ini --ENV-- diff --git a/src/tests/session_encryption/set_custom_session_handler.phpt b/src/tests/session_encryption/set_custom_session_handler.phpt index 5b46fbc..725ee43 100644 --- a/src/tests/session_encryption/set_custom_session_handler.phpt +++ b/src/tests/session_encryption/set_custom_session_handler.phpt @@ -1,7 +1,7 @@ --TEST-- Set a custom session handler --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/config_crypt_session.ini session.save_path = "/tmp" diff --git a/src/tests/session_encryption/set_custom_session_handler2.phpt b/src/tests/session_encryption/set_custom_session_handler2.phpt index 18bc3f7..8cc6786 100644 --- a/src/tests/session_encryption/set_custom_session_handler2.phpt +++ b/src/tests/session_encryption/set_custom_session_handler2.phpt @@ -1,7 +1,7 @@ --TEST-- Set a custom session handler, twice --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/config_crypt_session.ini session.save_path = "/tmp" diff --git a/src/tests/session_encryption/set_custom_session_handler_ini.phpt b/src/tests/session_encryption/set_custom_session_handler_ini.phpt index 7ed56d6..f9fbfb2 100644 --- a/src/tests/session_encryption/set_custom_session_handler_ini.phpt +++ b/src/tests/session_encryption/set_custom_session_handler_ini.phpt @@ -1,7 +1,7 @@ --TEST-- Set a custom session handler --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/config/config_crypt_session.ini session.save_handler = diff --git a/src/tests/shipped_configuration.phpt b/src/tests/shipped_configuration.phpt index dd6b92b..b171304 100644 --- a/src/tests/shipped_configuration.phpt +++ b/src/tests/shipped_configuration.phpt @@ -1,7 +1,7 @@ --TEST-- Shipped configuration --SKIPIF-- - + --INI-- sp.configuration_file={PWD}/../../config/default.rules --FILE-- diff --git a/src/tests/stream_wrapper/stream_wrapper_restore.phpt b/src/tests/stream_wrapper/stream_wrapper_restore.phpt index 3f547a1..f0b5dd0 100644 --- a/src/tests/stream_wrapper/stream_wrapper_restore.phpt +++ b/src/tests/stream_wrapper/stream_wrapper_restore.phpt @@ -2,7 +2,7 @@ Stream wrapper --SKIPIF-- -= 70300) { die("skip BROKEN with 7.3"); } ?> += 70300) { print "skip BROKEN with 7.3"; } ?> --INI-- sp.configuration_file={PWD}/config/config_stream_wrapper_register.ini --FILE-- diff --git a/src/tests/upload_validation/upload_validation_real.phpt b/src/tests/upload_validation/upload_validation_real.phpt index 7419209..f8f3612 100644 --- a/src/tests/upload_validation/upload_validation_real.phpt +++ b/src/tests/upload_validation/upload_validation_real.phpt @@ -7,7 +7,7 @@ if (!extension_loaded("snuffleupagus")) { } if (PHP_VERSION_ID >= 70300) { - die("skip BROKEN with 7.3"); + print "skip BROKEN with 7.3"; } if (strpos(system(PHP_BINARY . " -d error_log=/dev/null -d extension=vld.so -m 2>/dev/null"), "vld") === FALSE) { -- cgit v1.3 From 5329a55bfd2b00d617a40d587cd37050d964ccbf Mon Sep 17 00:00:00 2001 From: jvoisin Date: Sat, 12 Dec 2020 18:57:48 +0000 Subject: Mark the relevant php8 tests as broken (#359) * Skip tests broken on php8 * Oops * Fix some tests * Add some XXE tests for php8 * Fix a test --- .gitignore | 1 + src/tests/broken_configuration/broken_conf.phpt | 3 +- src/tests/broken_configuration/broken_conf2.phpt | 3 +- .../broken_conf_allow_broken_disabled.phpt | 1 + .../broken_conf_allow_broken_enabled.phpt | 1 + .../broken_conf_config_regexp.phpt | 1 + ...broken_conf_config_regexp_no_closing_paren.phpt | 3 +- ...f_cookie_encryption_without_encryption_key.phpt | 1 + ...ken_conf_cookie_encryption_without_env_var.phpt | 1 + .../broken_conf_cookie_name_and_regexp.phpt | 3 +- .../broken_conf_enable_disable.phpt | 3 +- .../broken_configuration/broken_conf_eval.phpt | 3 +- .../broken_conf_expecting_bool.phpt | 3 +- .../broken_conf_invalid_cidr.phpt | 3 +- .../broken_conf_invalid_cidr6.phpt | 3 +- .../broken_conf_invalid_cidr6_no_slash.phpt | 3 +- .../broken_conf_invalid_cidr_value.phpt | 3 +- .../broken_conf_invalid_filename.phpt | 3 +- .../broken_conf_invalid_log_media.phpt | 1 + .../broken_conf_invalid_type.phpt | 3 +- .../broken_conf_key_value.phpt | 3 +- .../broken_conf_line_empty_string.phpt | 3 +- .../broken_conf_line_no_closing.phpt | 3 +- .../broken_conf_local_var_1.phpt | 3 +- .../broken_conf_local_var_10.phpt | 3 +- .../broken_conf_local_var_11.phpt | 3 +- .../broken_conf_local_var_12.phpt | 3 +- .../broken_conf_local_var_13.phpt | 3 +- .../broken_conf_local_var_14.phpt | 3 +- .../broken_conf_local_var_15.phpt | 3 +- .../broken_conf_local_var_16.phpt | 3 +- .../broken_conf_local_var_2.phpt | 3 +- .../broken_conf_local_var_3.phpt | 3 +- .../broken_conf_local_var_4.phpt | 3 +- .../broken_conf_local_var_5.phpt | 3 +- .../broken_conf_local_var_6.phpt | 3 +- .../broken_conf_local_var_7.phpt | 3 +- .../broken_conf_local_var_8.phpt | 3 +- .../broken_conf_local_var_9.phpt | 3 +- .../broken_conf_lots_of_quotes.phpt | 3 +- .../broken_conf_missing_script.phpt | 2 + .../broken_conf_mutually_exclusive.phpt | 1 + .../broken_conf_mutually_exclusive10.phpt | 3 +- .../broken_conf_mutually_exclusive11.phpt | 1 + .../broken_conf_mutually_exclusive12.phpt | 1 + .../broken_conf_mutually_exclusive2.phpt | 1 + .../broken_conf_mutually_exclusive3.phpt | 1 + .../broken_conf_mutually_exclusive4.phpt | 3 +- .../broken_conf_mutually_exclusive5.phpt | 1 + .../broken_conf_mutually_exclusive6.phpt | 3 +- .../broken_conf_mutually_exclusive7.phpt | 3 +- .../broken_conf_mutually_exclusive8.phpt | 3 +- .../broken_conf_mutually_exclusive9.phpt | 3 +- .../broken_conf_no_cookie_action.phpt | 3 +- .../broken_conf_no_cookie_name.phpt | 3 +- .../broken_conf_nonexisting_script.phpt | 2 + .../broken_configuration/broken_conf_quotes.phpt | 3 +- .../broken_conf_readonly_exec.phpt | 2 + .../broken_configuration/broken_conf_samesite.phpt | 3 +- .../broken_conf_session_encryption.phpt | 1 + ..._session_encryption_without_encryption_key.phpt | 1 + ...en_conf_session_encryption_without_env_var.phpt | 1 + .../broken_conf_shown_in_phpinfo.phpt | 1 + .../broken_conf_truncated.phpt | 3 +- .../broken_conf_unserialize.phpt | 2 + .../broken_conf_upload_validation.phpt | 2 + .../broken_conf_weird_keyword.phpt | 3 +- .../broken_conf_wrapper_whitelist.phpt | 1 + .../broken_conf_wrong_quotes.phpt | 3 +- .../broken_conf_wrong_type.phpt | 1 + src/tests/broken_configuration/broken_regexp.phpt | 3 +- .../broken_unmatching_brackets.phpt | 3 +- src/tests/config_typo3.phpt | 1 + src/tests/cookies_encryption/encrypt_cookies2.phpt | 1 + src/tests/cookies_encryption/encrypt_cookies4.phpt | 1 + .../encrypt_regexp_cookies2.phpt | 1 + src/tests/cookies_encryption/setcookie.phpt | 1 + .../disable_function/disabled_function_echo.phpt | 3 +- .../disable_function/disabled_function_echo_2.phpt | 3 +- .../disabled_function_echo_local_var.phpt | 3 +- ...isabled_function_ensure_client_valid_certs.phpt | 1 + ...nsure_client_valid_certs_curl_multi_setopt.phpt | 1 + ...nsure_client_valid_certs_curl_setopt_array.phpt | 1 + ...isabled_function_ensure_server_valid_certs.phpt | 1 + ...nsure_server_valid_certs_curl_multi_setopt.phpt | 1 + ...nsure_server_valid_certs_curl_setopt_array.phpt | 1 + .../disabled_function_local_var.phpt | 1 + .../disabled_function_local_var_10.phpt | 3 +- .../disabled_function_local_var_2.phpt | 1 + .../disabled_function_local_var_3.phpt | 1 + .../disabled_function_local_var_4.phpt | 3 +- .../disabled_function_local_var_5.phpt | 1 + .../disabled_function_local_var_6.phpt | 3 +- .../disabled_function_local_var_7.phpt | 3 +- .../disabled_function_local_var_8.phpt | 3 +- .../disabled_function_local_var_9.phpt | 3 +- .../disabled_function_local_var_const.phpt | 3 +- .../disabled_function_local_var_crash.phpt | 1 + .../disabled_function_local_var_obj.phpt | 1 + .../disable_function/disabled_function_param.phpt | 3 +- .../disabled_function_super_global_var.phpt | 1 + src/tests/disable_function/disabled_functions.phpt | 1 + .../disabled_functions_callback_called_file_r.phpt | 1 + .../disabled_functions_called_file_r.phpt | 1 + .../disabled_functions_drop_include.phpt | 1 + ...disabled_functions_drop_include_simulation.phpt | 1 + .../disabled_functions_eval_filename.phpt | 3 +- .../disabled_functions_filename_r.phpt | 3 +- .../disabled_functions_include_once.phpt | 1 + .../disabled_functions_include_simulation.phpt | 1 + .../disabled_functions_local_var_array.phpt | 3 +- .../disabled_functions_local_var_array_key.phpt | 3 +- ...sabled_functions_local_var_array_not_array.phpt | 1 + .../disabled_functions_method.phpt | 3 +- .../disabled_functions_name_r.phpt | 3 +- .../disabled_functions_name_regexp_type.phpt | 3 +- .../disabled_functions_name_type.phpt | 3 +- .../disabled_functions_nul_byte.phpt | 3 +- .../disable_function/disabled_functions_param.phpt | 3 +- .../disabled_functions_param_allow.phpt | 3 +- .../disabled_functions_param_array.phpt | 3 +- .../disabled_functions_param_array_deref.phpt | 3 +- .../disabled_functions_param_array_no_value.phpt | 3 +- .../disabled_functions_param_array_r.phpt | 3 +- ...abled_functions_param_array_several_levels.phpt | 3 +- ...d_functions_param_array_several_levels_int.phpt | 3 +- ..._functions_param_array_several_levels_keys.phpt | 3 +- ...ctions_param_array_several_levels_keys_int.phpt | 3 +- .../disabled_functions_param_broken_line.phpt | 1 + .../disabled_functions_param_int.phpt | 3 +- .../disabled_functions_param_invalid_pos.phpt | 1 + .../disabled_functions_param_pos2.phpt | 3 +- .../disabled_functions_param_r.phpt | 3 +- ...isabled_functions_param_str_representation.phpt | 1 + .../disabled_functions_parse_class.phpt | 1 + .../disabled_functions_regexp_multiple.phpt | 1 + .../disabled_functions_require.phpt | 1 + .../disabled_functions_require_allow.phpt | 1 + .../disabled_functions_require_once.phpt | 1 + .../disabled_functions_require_simulation.phpt | 1 + .../disable_function/disabled_functions_ret.phpt | 3 +- .../disable_function/disabled_functions_ret2.phpt | 3 +- .../disable_function/disabled_functions_ret3.phpt | 3 +- .../disabled_functions_ret_val_rx.phpt | 3 +- .../disabled_functions_runtime.phpt | 1 + .../disable_function/disabled_functions_upper.phpt | 3 +- .../disabled_functions_variadic.phpt | 1 + .../disabled_native_functions_indirect.phpt | 3 +- src/tests/global_strict/global_strict.phpt | 1 + .../global_strict/global_strict_disabled.phpt | 1 + src/tests/harden_rand/harden_rand_noargs.phpt | 1 + src/tests/inexistent_conf_file.phpt | 3 +- src/tests/inexistent_conf_file_list.phpt | 3 +- src/tests/phpinfo_presence.phpt | 1 + src/tests/rips_configuration.phpt | 1 + src/tests/shipped_configuration.phpt | 1 + .../sloppy_comparison_array_disabled.phpt | 1 + .../sloppy_comparison_array_keys_disabled.phpt | 1 + .../sloppy_comparison_array_search_disabled.phpt | 1 + .../sloppy_comparison_disable.phpt | 1 + src/tests/stream_wrapper/stream_wrapper.phpt | 1 + .../stream_wrapper/stream_wrapper_register.phpt | 1 + .../stream_wrapper_without_openssl.phpt | 1 + src/tests/strict_mode/strict_mode_enabled.phpt | 2 +- src/tests/unserialize/unserialize_wrong_call.phpt | 1 + src/tests/xxe/disable_xxe_dom.phpt | 38 ++++---- src/tests/xxe/disable_xxe_dom_disabled.phpt | 1 + src/tests/xxe/disable_xxe_dom_disabled_php8.phpt | 60 ++++++++++++ src/tests/xxe/disable_xxe_xml_parse.phpt | 1 + src/tests/xxe/disable_xxe_xml_parse_php8.phpt | 106 +++++++++++++++++++++ 170 files changed, 449 insertions(+), 106 deletions(-) create mode 100644 src/tests/xxe/disable_xxe_dom_disabled_php8.phpt create mode 100644 src/tests/xxe/disable_xxe_xml_parse_php8.phpt (limited to 'src/tests/disable_function/disabled_functions_param_pos2.phpt') diff --git a/.gitignore b/.gitignore index ab1bba6..721cd5f 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ *.txt +tags *.orig *.gdbhistory *.swp diff --git a/src/tests/broken_configuration/broken_conf.phpt b/src/tests/broken_configuration/broken_conf.phpt index 967b03e..477ee64 100644 --- a/src/tests/broken_configuration/broken_conf.phpt +++ b/src/tests/broken_configuration/broken_conf.phpt @@ -2,6 +2,7 @@ Broken configuration --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/broken_conf.ini --FILE-- @@ -11,4 +12,4 @@ PHP Fatal error: [snuffleupagus][0.0.0.0][config][log] Invalid configuration pr Fatal error: [snuffleupagus][0.0.0.0][config][log] Invalid configuration prefix for 'this is a broken line' on line 1 in Unknown on line 0 Fatal error: [snuffleupagus][0.0.0.0][config][log] Invalid configuration file in Unknown on line 0 -Could not startup. \ No newline at end of file +Could not startup. diff --git a/src/tests/broken_configuration/broken_conf2.phpt b/src/tests/broken_configuration/broken_conf2.phpt index 11cc229..4e67b9f 100644 --- a/src/tests/broken_configuration/broken_conf2.phpt +++ b/src/tests/broken_configuration/broken_conf2.phpt @@ -2,6 +2,7 @@ Broken configuration --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/broken_conf2.ini --FILE-- @@ -11,4 +12,4 @@ PHP Fatal error: [snuffleupagus][0.0.0.0][config][log] Invalid configuration se Fatal error: [snuffleupagus][0.0.0.0][config][log] Invalid configuration section 'sp.wrong' on line 1 in Unknown on line 0 Fatal error: [snuffleupagus][0.0.0.0][config][log] Invalid configuration file in Unknown on line 0 -Could not startup. \ No newline at end of file +Could not startup. diff --git a/src/tests/broken_configuration/broken_conf_allow_broken_disabled.phpt b/src/tests/broken_configuration/broken_conf_allow_broken_disabled.phpt index 8bd1517..e2ffab0 100644 --- a/src/tests/broken_configuration/broken_conf_allow_broken_disabled.phpt +++ b/src/tests/broken_configuration/broken_conf_allow_broken_disabled.phpt @@ -2,6 +2,7 @@ Broken configuration with allow broken turned off --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/broken_conf.ini sp.allow_broken_configuration=Off diff --git a/src/tests/broken_configuration/broken_conf_allow_broken_enabled.phpt b/src/tests/broken_configuration/broken_conf_allow_broken_enabled.phpt index 0112515..68938fe 100644 --- a/src/tests/broken_configuration/broken_conf_allow_broken_enabled.phpt +++ b/src/tests/broken_configuration/broken_conf_allow_broken_enabled.phpt @@ -2,6 +2,7 @@ Broken configuration with allow broken turned on --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/broken_conf.ini sp.allow_broken_configuration=On diff --git a/src/tests/broken_configuration/broken_conf_config_regexp.phpt b/src/tests/broken_configuration/broken_conf_config_regexp.phpt index 34d6d50..ff6280e 100644 --- a/src/tests/broken_configuration/broken_conf_config_regexp.phpt +++ b/src/tests/broken_configuration/broken_conf_config_regexp.phpt @@ -2,6 +2,7 @@ Broken configuration --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/broken_config_regexp.ini --FILE-- diff --git a/src/tests/broken_configuration/broken_conf_config_regexp_no_closing_paren.phpt b/src/tests/broken_configuration/broken_conf_config_regexp_no_closing_paren.phpt index 81d9831..8644dfe 100644 --- a/src/tests/broken_configuration/broken_conf_config_regexp_no_closing_paren.phpt +++ b/src/tests/broken_configuration/broken_conf_config_regexp_no_closing_paren.phpt @@ -2,6 +2,7 @@ Broken configuration - regexp without a closing parenthesis --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/broken_config_regexp_no_closing_paren.ini --FILE-- @@ -14,4 +15,4 @@ Fatal error: [snuffleupagus][0.0.0.0][error][log] There is an issue with the par Fatal error: [snuffleupagus][0.0.0.0][config][log] '.filename_r()' is expecting a valid regexp, and not '"*."' on line 1 in Unknown on line 0 Fatal error: [snuffleupagus][0.0.0.0][config][log] Invalid configuration file in Unknown on line 0 -Could not startup. \ No newline at end of file +Could not startup. diff --git a/src/tests/broken_configuration/broken_conf_cookie_encryption_without_encryption_key.phpt b/src/tests/broken_configuration/broken_conf_cookie_encryption_without_encryption_key.phpt index d86b72e..857c803 100644 --- a/src/tests/broken_configuration/broken_conf_cookie_encryption_without_encryption_key.phpt +++ b/src/tests/broken_configuration/broken_conf_cookie_encryption_without_encryption_key.phpt @@ -2,6 +2,7 @@ Broken configuration - encrypted cookie without encryption key --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/broken_conf_cookie_encryption_without_encryption_key.ini --FILE-- diff --git a/src/tests/broken_configuration/broken_conf_cookie_encryption_without_env_var.phpt b/src/tests/broken_configuration/broken_conf_cookie_encryption_without_env_var.phpt index 01e3141..de97a9d 100644 --- a/src/tests/broken_configuration/broken_conf_cookie_encryption_without_env_var.phpt +++ b/src/tests/broken_configuration/broken_conf_cookie_encryption_without_env_var.phpt @@ -2,6 +2,7 @@ Broken configuration - encrypted cookie with without cookie env var --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/broken_conf_cookie_encryption_without_env_var.ini --FILE-- diff --git a/src/tests/broken_configuration/broken_conf_cookie_name_and_regexp.phpt b/src/tests/broken_configuration/broken_conf_cookie_name_and_regexp.phpt index 9375381..141cf77 100644 --- a/src/tests/broken_configuration/broken_conf_cookie_name_and_regexp.phpt +++ b/src/tests/broken_configuration/broken_conf_cookie_name_and_regexp.phpt @@ -2,6 +2,7 @@ Broken configuration - encrypted cookie with name and regexp --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/broken_conf_cookie_name_and_regexp.ini --FILE-- @@ -11,4 +12,4 @@ PHP Fatal error: [snuffleupagus][0.0.0.0][config][log] name and name_r are mutu Fatal error: [snuffleupagus][0.0.0.0][config][log] name and name_r are mutually exclusive on line 2 in Unknown on line 0 Fatal error: [snuffleupagus][0.0.0.0][config][log] Invalid configuration file in Unknown on line 0 -Could not startup. \ No newline at end of file +Could not startup. diff --git a/src/tests/broken_configuration/broken_conf_enable_disable.phpt b/src/tests/broken_configuration/broken_conf_enable_disable.phpt index 8efe819..eeba04a 100644 --- a/src/tests/broken_configuration/broken_conf_enable_disable.phpt +++ b/src/tests/broken_configuration/broken_conf_enable_disable.phpt @@ -2,6 +2,7 @@ Global strict mode --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/borken_conf_enable_disable.ini --FILE-- @@ -11,4 +12,4 @@ PHP Fatal error: [snuffleupagus][0.0.0.0][config][log] A rule can't be enabled Fatal error: [snuffleupagus][0.0.0.0][config][log] A rule can't be enabled and disabled on line 1 in Unknown on line 0 Fatal error: [snuffleupagus][0.0.0.0][config][log] Invalid configuration file in Unknown on line 0 -Could not startup. \ No newline at end of file +Could not startup. diff --git a/src/tests/broken_configuration/broken_conf_eval.phpt b/src/tests/broken_configuration/broken_conf_eval.phpt index 23a4bb9..791795a 100644 --- a/src/tests/broken_configuration/broken_conf_eval.phpt +++ b/src/tests/broken_configuration/broken_conf_eval.phpt @@ -2,6 +2,7 @@ Broken configuration for eval --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/broken_conf_eval.ini --FILE-- @@ -11,4 +12,4 @@ PHP Fatal error: [snuffleupagus][0.0.0.0][error][log] There is an issue with th Fatal error: [snuffleupagus][0.0.0.0][error][log] There is an issue with the parsing of '"cos,sin': it doesn't look like a valid string on line 1 in Unknown on line 0 Fatal error: [snuffleupagus][0.0.0.0][config][log] Invalid configuration file in Unknown on line 0 -Could not startup. \ No newline at end of file +Could not startup. diff --git a/src/tests/broken_configuration/broken_conf_expecting_bool.phpt b/src/tests/broken_configuration/broken_conf_expecting_bool.phpt index 4ccac74..4857ebe 100644 --- a/src/tests/broken_configuration/broken_conf_expecting_bool.phpt +++ b/src/tests/broken_configuration/broken_conf_expecting_bool.phpt @@ -2,6 +2,7 @@ Bad boolean value in configuration --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/broken_conf_expecting_bool.ini --FILE-- @@ -11,4 +12,4 @@ PHP Fatal error: [snuffleupagus][0.0.0.0][config][log] Trailing chars '337);' a Fatal error: [snuffleupagus][0.0.0.0][config][log] Trailing chars '337);' at the end of '.enable(1337);' on line 5 in Unknown on line 0 Fatal error: [snuffleupagus][0.0.0.0][config][log] Invalid configuration file in Unknown on line 0 -Could not startup. \ No newline at end of file +Could not startup. diff --git a/src/tests/broken_configuration/broken_conf_invalid_cidr.phpt b/src/tests/broken_configuration/broken_conf_invalid_cidr.phpt index 781ccd5..e618676 100644 --- a/src/tests/broken_configuration/broken_conf_invalid_cidr.phpt +++ b/src/tests/broken_configuration/broken_conf_invalid_cidr.phpt @@ -2,6 +2,7 @@ Broken configuration --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/broken_conf_invalid_cidr.ini --FILE-- @@ -11,4 +12,4 @@ PHP Fatal error: [snuffleupagus][0.0.0.0][config][log] '42' isn't a valid ipv4 Fatal error: [snuffleupagus][0.0.0.0][config][log] '42' isn't a valid ipv4 mask. in Unknown on line 0 Fatal error: [snuffleupagus][0.0.0.0][config][log] Invalid configuration file in Unknown on line 0 -Could not startup. \ No newline at end of file +Could not startup. diff --git a/src/tests/broken_configuration/broken_conf_invalid_cidr6.phpt b/src/tests/broken_configuration/broken_conf_invalid_cidr6.phpt index 60c4f15..34a0d30 100644 --- a/src/tests/broken_configuration/broken_conf_invalid_cidr6.phpt +++ b/src/tests/broken_configuration/broken_conf_invalid_cidr6.phpt @@ -2,6 +2,7 @@ Broken configuration --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/broken_conf_invalid_cidr6.ini --FILE-- @@ -11,4 +12,4 @@ PHP Fatal error: [snuffleupagus][0.0.0.0][config][log] 'ZZZ' isn't a valid netw Fatal error: [snuffleupagus][0.0.0.0][config][log] 'ZZZ' isn't a valid network mask. in Unknown on line 0 Fatal error: [snuffleupagus][0.0.0.0][config][log] Invalid configuration file in Unknown on line 0 -Could not startup. \ No newline at end of file +Could not startup. diff --git a/src/tests/broken_configuration/broken_conf_invalid_cidr6_no_slash.phpt b/src/tests/broken_configuration/broken_conf_invalid_cidr6_no_slash.phpt index acb88f9..8703dff 100644 --- a/src/tests/broken_configuration/broken_conf_invalid_cidr6_no_slash.phpt +++ b/src/tests/broken_configuration/broken_conf_invalid_cidr6_no_slash.phpt @@ -2,6 +2,7 @@ Broken configuration, invalid cidr for ipv6 because there is no `/` in it --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/broken_conf_invalid_cidr6_no_slash.ini --FILE-- @@ -11,4 +12,4 @@ PHP Fatal error: [snuffleupagus][0.0.0.0][config][log] '2001:0db8:0000:0000:000 Fatal error: [snuffleupagus][0.0.0.0][config][log] '2001:0db8:0000:0000:0000:ff00:0042:8329' isn't a valid network mask, it seems that you forgot a '/'. in Unknown on line 0 Fatal error: [snuffleupagus][0.0.0.0][config][log] Invalid configuration file in Unknown on line 0 -Could not startup. \ No newline at end of file +Could not startup. diff --git a/src/tests/broken_configuration/broken_conf_invalid_cidr_value.phpt b/src/tests/broken_configuration/broken_conf_invalid_cidr_value.phpt index ac3fb47..1424853 100644 --- a/src/tests/broken_configuration/broken_conf_invalid_cidr_value.phpt +++ b/src/tests/broken_configuration/broken_conf_invalid_cidr_value.phpt @@ -3,6 +3,7 @@ Broken configuration, invalid cidr value (13337%128 = 25) --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/broken_conf_invalid_cidr_value.ini --FILE-- @@ -15,4 +16,4 @@ Fatal error: [snuffleupagus][0.0.0.0][error][log] A valid string as parameter is Fatal error: [snuffleupagus][0.0.0.0][config][log] " doesn't contain a valid cidr on line 1 in Unknown on line 0 Fatal error: [snuffleupagus][0.0.0.0][config][log] Invalid configuration file in Unknown on line 0 -Could not startup. \ No newline at end of file +Could not startup. diff --git a/src/tests/broken_configuration/broken_conf_invalid_filename.phpt b/src/tests/broken_configuration/broken_conf_invalid_filename.phpt index 8f4c501..b9a904c 100644 --- a/src/tests/broken_configuration/broken_conf_invalid_filename.phpt +++ b/src/tests/broken_configuration/broken_conf_invalid_filename.phpt @@ -2,6 +2,7 @@ Broken configuration filename without absolute path --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/broken_conf_invalid_filename.ini --FILE-- @@ -11,4 +12,4 @@ PHP Fatal error: [snuffleupagus][0.0.0.0][config][log] Invalid configuration li Fatal error: [snuffleupagus][0.0.0.0][config][log] Invalid configuration line: 'sp.disabled_functions.function("sprintf").filename("wrong file name").drop();':'.filename' must be an absolute path or a phar archive on line 1 in Unknown on line 0 Fatal error: [snuffleupagus][0.0.0.0][config][log] Invalid configuration file in Unknown on line 0 -Could not startup. \ No newline at end of file +Could not startup. diff --git a/src/tests/broken_configuration/broken_conf_invalid_log_media.phpt b/src/tests/broken_configuration/broken_conf_invalid_log_media.phpt index bc048b3..c1c2668 100644 --- a/src/tests/broken_configuration/broken_conf_invalid_log_media.phpt +++ b/src/tests/broken_configuration/broken_conf_invalid_log_media.phpt @@ -2,6 +2,7 @@ Broken configuration filename with improper log media --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/broken_conf_invalid_log_media.ini --FILE-- diff --git a/src/tests/broken_configuration/broken_conf_invalid_type.phpt b/src/tests/broken_configuration/broken_conf_invalid_type.phpt index b73cdd0..aeb6b85 100644 --- a/src/tests/broken_configuration/broken_conf_invalid_type.phpt +++ b/src/tests/broken_configuration/broken_conf_invalid_type.phpt @@ -2,6 +2,7 @@ Broken conf with wrong type --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/broken_conf_invalid_type.ini --FILE-- @@ -11,4 +12,4 @@ PHP Fatal error: [snuffleupagus][0.0.0.0][error][log] There is an issue with th Fatal error: [snuffleupagus][0.0.0.0][error][log] There is an issue with the parsing of '"totally_wrong"_type")': it doesn't look like a valid string on line 1 in Unknown on line 0 Fatal error: [snuffleupagus][0.0.0.0][config][log] Invalid configuration file in Unknown on line 0 -Could not startup. \ No newline at end of file +Could not startup. diff --git a/src/tests/broken_configuration/broken_conf_key_value.phpt b/src/tests/broken_configuration/broken_conf_key_value.phpt index 3a0837a..ec87d93 100644 --- a/src/tests/broken_configuration/broken_conf_key_value.phpt +++ b/src/tests/broken_configuration/broken_conf_key_value.phpt @@ -2,6 +2,7 @@ Broken configuration --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/broken_conf_key_value.ini --FILE-- @@ -11,4 +12,4 @@ PHP Fatal error: [snuffleupagus][0.0.0.0][config][log] Invalid configuration li Fatal error: [snuffleupagus][0.0.0.0][config][log] Invalid configuration line: 'sp.disabled_functions.function("system").var("").value("").key("").drop();':`key` and `value` are mutually exclusive on line 1 in Unknown on line 0 Fatal error: [snuffleupagus][0.0.0.0][config][log] Invalid configuration file in Unknown on line 0 -Could not startup. \ No newline at end of file +Could not startup. diff --git a/src/tests/broken_configuration/broken_conf_line_empty_string.phpt b/src/tests/broken_configuration/broken_conf_line_empty_string.phpt index 17ceeb9..3790d83 100644 --- a/src/tests/broken_configuration/broken_conf_line_empty_string.phpt +++ b/src/tests/broken_configuration/broken_conf_line_empty_string.phpt @@ -2,6 +2,7 @@ Configuration line with an empty string --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/broken_conf_line_empty_string.ini --FILE-- @@ -11,4 +12,4 @@ PHP Fatal error: [snuffleupagus][0.0.0.0][error][log] A valid string as paramet Fatal error: [snuffleupagus][0.0.0.0][error][log] A valid string as parameter is expected on line 1 in Unknown on line 0 Fatal error: [snuffleupagus][0.0.0.0][config][log] Invalid configuration file in Unknown on line 0 -Could not startup. \ No newline at end of file +Could not startup. diff --git a/src/tests/broken_configuration/broken_conf_line_no_closing.phpt b/src/tests/broken_configuration/broken_conf_line_no_closing.phpt index d5a369b..0f51dcf 100644 --- a/src/tests/broken_configuration/broken_conf_line_no_closing.phpt +++ b/src/tests/broken_configuration/broken_conf_line_no_closing.phpt @@ -2,6 +2,7 @@ Configuration line without closing parenthese --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/broken_conf_line_no_closing.ini --FILE-- @@ -11,4 +12,4 @@ PHP Fatal error: [snuffleupagus][0.0.0.0][error][log] There is an issue with th Fatal error: [snuffleupagus][0.0.0.0][error][log] There is an issue with the parsing of '"123"': it doesn't look like a valid string on line 1 in Unknown on line 0 Fatal error: [snuffleupagus][0.0.0.0][config][log] Invalid configuration file in Unknown on line 0 -Could not startup. \ No newline at end of file +Could not startup. diff --git a/src/tests/broken_configuration/broken_conf_local_var_1.phpt b/src/tests/broken_configuration/broken_conf_local_var_1.phpt index df401c4..851d532 100644 --- a/src/tests/broken_configuration/broken_conf_local_var_1.phpt +++ b/src/tests/broken_configuration/broken_conf_local_var_1.phpt @@ -2,6 +2,7 @@ Broken configuration --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/broken_conf_local_var_1.ini --FILE-- @@ -14,4 +15,4 @@ Fatal error: [snuffleupagus][0.0.0.0][config][log] Invalid `]` position. in Unkn Fatal error: [snuffleupagus][0.0.0.0][config][log] Invalid value ']' for `var` on line 1 in Unknown on line 0 Fatal error: [snuffleupagus][0.0.0.0][config][log] Invalid configuration file in Unknown on line 0 -Could not startup. \ No newline at end of file +Could not startup. diff --git a/src/tests/broken_configuration/broken_conf_local_var_10.phpt b/src/tests/broken_configuration/broken_conf_local_var_10.phpt index 72a96b2..747cc5a 100644 --- a/src/tests/broken_configuration/broken_conf_local_var_10.phpt +++ b/src/tests/broken_configuration/broken_conf_local_var_10.phpt @@ -2,6 +2,7 @@ Broken configuration --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/broken_conf_local_var_10.ini --FILE-- @@ -14,4 +15,4 @@ Fatal error: [snuffleupagus][0.0.0.0][config][log] Invalid `]` position. in Unkn Fatal error: [snuffleupagus][0.0.0.0][config][log] Invalid value 'asd[asd]asd' for `var` on line 1 in Unknown on line 0 Fatal error: [snuffleupagus][0.0.0.0][config][log] Invalid configuration file in Unknown on line 0 -Could not startup. \ No newline at end of file +Could not startup. diff --git a/src/tests/broken_configuration/broken_conf_local_var_11.phpt b/src/tests/broken_configuration/broken_conf_local_var_11.phpt index e67d11a..11ca562 100644 --- a/src/tests/broken_configuration/broken_conf_local_var_11.phpt +++ b/src/tests/broken_configuration/broken_conf_local_var_11.phpt @@ -2,6 +2,7 @@ Broken configuration --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/broken_conf_local_var_11.ini --FILE-- @@ -14,4 +15,4 @@ Fatal error: [snuffleupagus][0.0.0.0][config][log] Invalid `::` position. in Unk Fatal error: [snuffleupagus][0.0.0.0][config][log] Invalid value 'asd::' for `param` on line 1 in Unknown on line 0 Fatal error: [snuffleupagus][0.0.0.0][config][log] Invalid configuration file in Unknown on line 0 -Could not startup. \ No newline at end of file +Could not startup. diff --git a/src/tests/broken_configuration/broken_conf_local_var_12.phpt b/src/tests/broken_configuration/broken_conf_local_var_12.phpt index 56f2863..962f5ab 100644 --- a/src/tests/broken_configuration/broken_conf_local_var_12.phpt +++ b/src/tests/broken_configuration/broken_conf_local_var_12.phpt @@ -2,6 +2,7 @@ Broken configuration --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/broken_conf_local_var_12.ini --FILE-- @@ -11,4 +12,4 @@ PHP Fatal error: [snuffleupagus][0.0.0.0][config][log] Empty value in `var` on Fatal error: [snuffleupagus][0.0.0.0][config][log] Empty value in `var` on line 1 in Unknown on line 0 Fatal error: [snuffleupagus][0.0.0.0][config][log] Invalid configuration file in Unknown on line 0 -Could not startup. \ No newline at end of file +Could not startup. diff --git a/src/tests/broken_configuration/broken_conf_local_var_13.phpt b/src/tests/broken_configuration/broken_conf_local_var_13.phpt index 8e62627..5c33fdd 100644 --- a/src/tests/broken_configuration/broken_conf_local_var_13.phpt +++ b/src/tests/broken_configuration/broken_conf_local_var_13.phpt @@ -2,6 +2,7 @@ Broken configuration --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/broken_conf_local_var_13.ini --FILE-- @@ -14,4 +15,4 @@ Fatal error: [snuffleupagus][0.0.0.0][config][log] Invalid `->` position. in Unk Fatal error: [snuffleupagus][0.0.0.0][config][log] Invalid value 'asd->asd' for `var` on line 1 in Unknown on line 0 Fatal error: [snuffleupagus][0.0.0.0][config][log] Invalid configuration file in Unknown on line 0 -Could not startup. \ No newline at end of file +Could not startup. diff --git a/src/tests/broken_configuration/broken_conf_local_var_14.phpt b/src/tests/broken_configuration/broken_conf_local_var_14.phpt index 24e2825..a831ef7 100644 --- a/src/tests/broken_configuration/broken_conf_local_var_14.phpt +++ b/src/tests/broken_configuration/broken_conf_local_var_14.phpt @@ -2,6 +2,7 @@ Broken configuration --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/broken_conf_local_var_14.ini --FILE-- @@ -14,4 +15,4 @@ Fatal error: [snuffleupagus][0.0.0.0][config][log] Invalid var name: $i+valid va Fatal error: [snuffleupagus][0.0.0.0][config][log] Invalid value '$i+valid var name ' for `var` on line 1 in Unknown on line 0 Fatal error: [snuffleupagus][0.0.0.0][config][log] Invalid configuration file in Unknown on line 0 -Could not startup. \ No newline at end of file +Could not startup. diff --git a/src/tests/broken_configuration/broken_conf_local_var_15.phpt b/src/tests/broken_configuration/broken_conf_local_var_15.phpt index 5a4a0b5..5d8c6f1 100644 --- a/src/tests/broken_configuration/broken_conf_local_var_15.phpt +++ b/src/tests/broken_configuration/broken_conf_local_var_15.phpt @@ -2,6 +2,7 @@ Broken configuration --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/broken_conf_local_var_15.ini --FILE-- @@ -14,4 +15,4 @@ Fatal error: [snuffleupagus][0.0.0.0][config][log] Invalid var name: $i$$!@#. in Fatal error: [snuffleupagus][0.0.0.0][config][log] Invalid value '$i$$!@#->qwe' for `var` on line 1 in Unknown on line 0 Fatal error: [snuffleupagus][0.0.0.0][config][log] Invalid configuration file in Unknown on line 0 -Could not startup. \ No newline at end of file +Could not startup. diff --git a/src/tests/broken_configuration/broken_conf_local_var_16.phpt b/src/tests/broken_configuration/broken_conf_local_var_16.phpt index 0556ab5..47c1f17 100644 --- a/src/tests/broken_configuration/broken_conf_local_var_16.phpt +++ b/src/tests/broken_configuration/broken_conf_local_var_16.phpt @@ -2,6 +2,7 @@ Broken configuration --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/broken_conf_local_var_16.ini --FILE-- @@ -14,4 +15,4 @@ Fatal error: [snuffleupagus][0.0.0.0][config][log] Missing a closing quote. in U Fatal error: [snuffleupagus][0.0.0.0][config][log] Invalid value '"' for `var` on line 1 in Unknown on line 0 Fatal error: [snuffleupagus][0.0.0.0][config][log] Invalid configuration file in Unknown on line 0 -Could not startup. \ No newline at end of file +Could not startup. diff --git a/src/tests/broken_configuration/broken_conf_local_var_2.phpt b/src/tests/broken_configuration/broken_conf_local_var_2.phpt index 34c8ebf..ec7ac2c 100644 --- a/src/tests/broken_configuration/broken_conf_local_var_2.phpt +++ b/src/tests/broken_configuration/broken_conf_local_var_2.phpt @@ -2,6 +2,7 @@ Broken configuration --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/broken_conf_local_var_2.ini --FILE-- @@ -14,4 +15,4 @@ Fatal error: [snuffleupagus][0.0.0.0][config][log] Invalid `"` position. in Unkn Fatal error: [snuffleupagus][0.0.0.0][config][log] Invalid value '""asd' for `var` on line 1 in Unknown on line 0 Fatal error: [snuffleupagus][0.0.0.0][config][log] Invalid configuration file in Unknown on line 0 -Could not startup. \ No newline at end of file +Could not startup. diff --git a/src/tests/broken_configuration/broken_conf_local_var_3.phpt b/src/tests/broken_configuration/broken_conf_local_var_3.phpt index 8deac1a..776cee0 100644 --- a/src/tests/broken_configuration/broken_conf_local_var_3.phpt +++ b/src/tests/broken_configuration/broken_conf_local_var_3.phpt @@ -2,6 +2,7 @@ Broken configuration --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/broken_conf_local_var_3.ini --FILE-- @@ -14,4 +15,4 @@ Fatal error: [snuffleupagus][0.0.0.0][config][log] Invalid `->` position. in Unk Fatal error: [snuffleupagus][0.0.0.0][config][log] Invalid value '$qwe->::' for `var` on line 1 in Unknown on line 0 Fatal error: [snuffleupagus][0.0.0.0][config][log] Invalid configuration file in Unknown on line 0 -Could not startup. \ No newline at end of file +Could not startup. diff --git a/src/tests/broken_configuration/broken_conf_local_var_4.phpt b/src/tests/broken_configuration/broken_conf_local_var_4.phpt index ca38b2c..4390640 100644 --- a/src/tests/broken_configuration/broken_conf_local_var_4.phpt +++ b/src/tests/broken_configuration/broken_conf_local_var_4.phpt @@ -2,6 +2,7 @@ Broken configuration --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/broken_conf_local_var_4.ini --FILE-- @@ -14,4 +15,4 @@ Fatal error: [snuffleupagus][0.0.0.0][config][log] Invalid `"` position. in Unkn Fatal error: [snuffleupagus][0.0.0.0][config][log] Invalid value '"asd"asd[]' for `var` on line 1 in Unknown on line 0 Fatal error: [snuffleupagus][0.0.0.0][config][log] Invalid configuration file in Unknown on line 0 -Could not startup. \ No newline at end of file +Could not startup. diff --git a/src/tests/broken_configuration/broken_conf_local_var_5.phpt b/src/tests/broken_configuration/broken_conf_local_var_5.phpt index 32f7c33..a73056e 100644 --- a/src/tests/broken_configuration/broken_conf_local_var_5.phpt +++ b/src/tests/broken_configuration/broken_conf_local_var_5.phpt @@ -2,6 +2,7 @@ Broken configuration --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/broken_conf_local_var_5.ini --FILE-- @@ -14,4 +15,4 @@ Fatal error: [snuffleupagus][0.0.0.0][config][log] Invalid `'` position. in Unkn Fatal error: [snuffleupagus][0.0.0.0][config][log] Invalid value ''asd'asd[]' for `var` on line 1 in Unknown on line 0 Fatal error: [snuffleupagus][0.0.0.0][config][log] Invalid configuration file in Unknown on line 0 -Could not startup. \ No newline at end of file +Could not startup. diff --git a/src/tests/broken_configuration/broken_conf_local_var_6.phpt b/src/tests/broken_configuration/broken_conf_local_var_6.phpt index 5bfd11d..19b2915 100644 --- a/src/tests/broken_configuration/broken_conf_local_var_6.phpt +++ b/src/tests/broken_configuration/broken_conf_local_var_6.phpt @@ -2,6 +2,7 @@ Broken configuration --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/broken_conf_local_var_6.ini --FILE-- @@ -14,4 +15,4 @@ Fatal error: [snuffleupagus][0.0.0.0][config][log] Invalid `'` position. in Unkn Fatal error: [snuffleupagus][0.0.0.0][config][log] Invalid value '''asd' for `var` on line 1 in Unknown on line 0 Fatal error: [snuffleupagus][0.0.0.0][config][log] Invalid configuration file in Unknown on line 0 -Could not startup. \ No newline at end of file +Could not startup. diff --git a/src/tests/broken_configuration/broken_conf_local_var_7.phpt b/src/tests/broken_configuration/broken_conf_local_var_7.phpt index aaa5161..62e983f 100644 --- a/src/tests/broken_configuration/broken_conf_local_var_7.phpt +++ b/src/tests/broken_configuration/broken_conf_local_var_7.phpt @@ -2,6 +2,7 @@ Broken configuration --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/broken_conf_local_var_7.ini --FILE-- @@ -14,4 +15,4 @@ Fatal error: [snuffleupagus][0.0.0.0][config][log] Invalid `->` position. in Unk Fatal error: [snuffleupagus][0.0.0.0][config][log] Invalid value 'asd-->' for `var` on line 1 in Unknown on line 0 Fatal error: [snuffleupagus][0.0.0.0][config][log] Invalid configuration file in Unknown on line 0 -Could not startup. \ No newline at end of file +Could not startup. diff --git a/src/tests/broken_configuration/broken_conf_local_var_8.phpt b/src/tests/broken_configuration/broken_conf_local_var_8.phpt index f088523..1d170d2 100644 --- a/src/tests/broken_configuration/broken_conf_local_var_8.phpt +++ b/src/tests/broken_configuration/broken_conf_local_var_8.phpt @@ -2,6 +2,7 @@ Broken configuration --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/broken_conf_local_var_8.ini --FILE-- @@ -14,4 +15,4 @@ Fatal error: [snuffleupagus][0.0.0.0][config][log] Invalid `]` position. in Unkn Fatal error: [snuffleupagus][0.0.0.0][config][log] Invalid value 'asd[asd]"asd"' for `var` on line 1 in Unknown on line 0 Fatal error: [snuffleupagus][0.0.0.0][config][log] Invalid configuration file in Unknown on line 0 -Could not startup. \ No newline at end of file +Could not startup. diff --git a/src/tests/broken_configuration/broken_conf_local_var_9.phpt b/src/tests/broken_configuration/broken_conf_local_var_9.phpt index c8fb793..5786e02 100644 --- a/src/tests/broken_configuration/broken_conf_local_var_9.phpt +++ b/src/tests/broken_configuration/broken_conf_local_var_9.phpt @@ -2,6 +2,7 @@ Broken configuration --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/broken_conf_local_var_9.ini --FILE-- @@ -14,4 +15,4 @@ Fatal error: [snuffleupagus][0.0.0.0][config][log] Invalid `]` position. in Unkn Fatal error: [snuffleupagus][0.0.0.0][config][log] Invalid value 'asd[asd]'asd'' for `var` on line 1 in Unknown on line 0 Fatal error: [snuffleupagus][0.0.0.0][config][log] Invalid configuration file in Unknown on line 0 -Could not startup. \ No newline at end of file +Could not startup. diff --git a/src/tests/broken_configuration/broken_conf_lots_of_quotes.phpt b/src/tests/broken_configuration/broken_conf_lots_of_quotes.phpt index 1a6f61c..bef62b9 100644 --- a/src/tests/broken_configuration/broken_conf_lots_of_quotes.phpt +++ b/src/tests/broken_configuration/broken_conf_lots_of_quotes.phpt @@ -2,6 +2,7 @@ Configuration line with too many quotes --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/broken_conf_lots_of_quotes.ini --FILE-- @@ -11,4 +12,4 @@ PHP Fatal error: [snuffleupagus][0.0.0.0][error][log] There is an issue with th Fatal error: [snuffleupagus][0.0.0.0][error][log] There is an issue with the parsing of '"this\"is a weird\"\"\"cookie\"name"");': it doesn't look like a valid string on line 1 in Unknown on line 0 Fatal error: [snuffleupagus][0.0.0.0][config][log] Invalid configuration file in Unknown on line 0 -Could not startup. \ No newline at end of file +Could not startup. diff --git a/src/tests/broken_configuration/broken_conf_missing_script.phpt b/src/tests/broken_configuration/broken_conf_missing_script.phpt index 8bbbff1..9deffc7 100644 --- a/src/tests/broken_configuration/broken_conf_missing_script.phpt +++ b/src/tests/broken_configuration/broken_conf_missing_script.phpt @@ -1,5 +1,7 @@ --TEST-- Invalid configuration file for upload +--SKIPIF-- += 80000) print "skip"; ?> --INI-- file_uploads=1 sp.configuration_file={PWD}/config/broken_conf_missing_script.ini diff --git a/src/tests/broken_configuration/broken_conf_mutually_exclusive.phpt b/src/tests/broken_configuration/broken_conf_mutually_exclusive.phpt index b1d86f1..a8036d2 100644 --- a/src/tests/broken_configuration/broken_conf_mutually_exclusive.phpt +++ b/src/tests/broken_configuration/broken_conf_mutually_exclusive.phpt @@ -2,6 +2,7 @@ Broken configuration --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/broken_conf_mutually_exclusive.ini --FILE-- diff --git a/src/tests/broken_configuration/broken_conf_mutually_exclusive10.phpt b/src/tests/broken_configuration/broken_conf_mutually_exclusive10.phpt index dc1ad5c..932f584 100644 --- a/src/tests/broken_configuration/broken_conf_mutually_exclusive10.phpt +++ b/src/tests/broken_configuration/broken_conf_mutually_exclusive10.phpt @@ -2,6 +2,7 @@ Broken configuration - enabled/disabled readonly --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/broken_conf_mutually_exclusive10.ini --FILE-- @@ -11,4 +12,4 @@ PHP Fatal error: [snuffleupagus][0.0.0.0][config][log] A rule can't be enabled Fatal error: [snuffleupagus][0.0.0.0][config][log] A rule can't be enabled and disabled on line 1 in Unknown on line 0 Fatal error: [snuffleupagus][0.0.0.0][config][log] Invalid configuration file in Unknown on line 0 -Could not startup. \ No newline at end of file +Could not startup. diff --git a/src/tests/broken_configuration/broken_conf_mutually_exclusive11.phpt b/src/tests/broken_configuration/broken_conf_mutually_exclusive11.phpt index 41c627b..62ae64e 100644 --- a/src/tests/broken_configuration/broken_conf_mutually_exclusive11.phpt +++ b/src/tests/broken_configuration/broken_conf_mutually_exclusive11.phpt @@ -2,6 +2,7 @@ Broken configuration - ret and var are mutually exclusives --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/broken_conf_mutually_exclusive11.ini --FILE-- diff --git a/src/tests/broken_configuration/broken_conf_mutually_exclusive12.phpt b/src/tests/broken_configuration/broken_conf_mutually_exclusive12.phpt index e7d345c..28b0564 100644 --- a/src/tests/broken_configuration/broken_conf_mutually_exclusive12.phpt +++ b/src/tests/broken_configuration/broken_conf_mutually_exclusive12.phpt @@ -2,6 +2,7 @@ Broken configuration - ret and value are mutually exclusive --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/broken_conf_mutually_exclusive12.ini --FILE-- diff --git a/src/tests/broken_configuration/broken_conf_mutually_exclusive2.phpt b/src/tests/broken_configuration/broken_conf_mutually_exclusive2.phpt index 64c6c3e..cc3a951 100644 --- a/src/tests/broken_configuration/broken_conf_mutually_exclusive2.phpt +++ b/src/tests/broken_configuration/broken_conf_mutually_exclusive2.phpt @@ -2,6 +2,7 @@ Broken configuration --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/broken_conf_mutually_exclusive2.ini --FILE-- diff --git a/src/tests/broken_configuration/broken_conf_mutually_exclusive3.phpt b/src/tests/broken_configuration/broken_conf_mutually_exclusive3.phpt index 384c82a..ab50266 100644 --- a/src/tests/broken_configuration/broken_conf_mutually_exclusive3.phpt +++ b/src/tests/broken_configuration/broken_conf_mutually_exclusive3.phpt @@ -2,6 +2,7 @@ Broken configuration --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/broken_conf_mutually_exclusive3.ini --FILE-- diff --git a/src/tests/broken_configuration/broken_conf_mutually_exclusive4.phpt b/src/tests/broken_configuration/broken_conf_mutually_exclusive4.phpt index 70eaea0..b848d1a 100644 --- a/src/tests/broken_configuration/broken_conf_mutually_exclusive4.phpt +++ b/src/tests/broken_configuration/broken_conf_mutually_exclusive4.phpt @@ -2,6 +2,7 @@ Broken configuration --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/broken_conf_mutually_exclusive4.ini --FILE-- @@ -11,4 +12,4 @@ PHP Fatal error: [snuffleupagus][0.0.0.0][config][log] Invalid configuration li Fatal error: [snuffleupagus][0.0.0.0][config][log] Invalid configuration line: 'sp.disabled_functions.function("system").param("id").value("42").param_r("^id$").drop();':'.r_param', '.param' and '.pos' are mutually exclusive on line 1 in Unknown on line 0 Fatal error: [snuffleupagus][0.0.0.0][config][log] Invalid configuration file in Unknown on line 0 -Could not startup. \ No newline at end of file +Could not startup. diff --git a/src/tests/broken_configuration/broken_conf_mutually_exclusive5.phpt b/src/tests/broken_configuration/broken_conf_mutually_exclusive5.phpt index de82f3a..c668643 100644 --- a/src/tests/broken_configuration/broken_conf_mutually_exclusive5.phpt +++ b/src/tests/broken_configuration/broken_conf_mutually_exclusive5.phpt @@ -2,6 +2,7 @@ Broken configuration --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/broken_conf_mutually_exclusive5.ini --FILE-- diff --git a/src/tests/broken_configuration/broken_conf_mutually_exclusive6.phpt b/src/tests/broken_configuration/broken_conf_mutually_exclusive6.phpt index c0415ac..94ed765 100644 --- a/src/tests/broken_configuration/broken_conf_mutually_exclusive6.phpt +++ b/src/tests/broken_configuration/broken_conf_mutually_exclusive6.phpt @@ -2,6 +2,7 @@ Broken configuration --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/broken_conf_mutually_exclusive6.ini --FILE-- @@ -11,4 +12,4 @@ PHP Fatal error: [snuffleupagus][0.0.0.0][config][log] Invalid configuration li Fatal error: [snuffleupagus][0.0.0.0][config][log] Invalid configuration line: 'sp.disabled_functions.function("system").param("id").value("42").ret_r("^0$").drop();':`ret` and `param` are mutually exclusive on line 1 in Unknown on line 0 Fatal error: [snuffleupagus][0.0.0.0][config][log] Invalid configuration file in Unknown on line 0 -Could not startup. \ No newline at end of file +Could not startup. diff --git a/src/tests/broken_configuration/broken_conf_mutually_exclusive7.phpt b/src/tests/broken_configuration/broken_conf_mutually_exclusive7.phpt index 41e754e..2a16d0c 100644 --- a/src/tests/broken_configuration/broken_conf_mutually_exclusive7.phpt +++ b/src/tests/broken_configuration/broken_conf_mutually_exclusive7.phpt @@ -2,6 +2,7 @@ Broken configuration --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/broken_conf_mutually_exclusive7.ini --FILE-- @@ -11,4 +12,4 @@ PHP Fatal error: [snuffleupagus][0.0.0.0][config][log] Invalid configuration li Fatal error: [snuffleupagus][0.0.0.0][config][log] Invalid configuration line: 'sp.disabled_functions.function("system").ret("0").drop().allow();': The rule must either be a `drop` or `allow` one on line 1 in Unknown on line 0 Fatal error: [snuffleupagus][0.0.0.0][config][log] Invalid configuration file in Unknown on line 0 -Could not startup. \ No newline at end of file +Could not startup. diff --git a/src/tests/broken_configuration/broken_conf_mutually_exclusive8.phpt b/src/tests/broken_configuration/broken_conf_mutually_exclusive8.phpt index e650d43..129707d 100644 --- a/src/tests/broken_configuration/broken_conf_mutually_exclusive8.phpt +++ b/src/tests/broken_configuration/broken_conf_mutually_exclusive8.phpt @@ -2,6 +2,7 @@ Broken configuration --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/broken_conf_mutually_exclusive8.ini --FILE-- @@ -11,4 +12,4 @@ PHP Fatal error: [snuffleupagus][0.0.0.0][config][log] Invalid configuration li Fatal error: [snuffleupagus][0.0.0.0][config][log] Invalid configuration line: 'sp.disabled_functions.ret("0").drop();': must take a function name on line 1 in Unknown on line 0 Fatal error: [snuffleupagus][0.0.0.0][config][log] Invalid configuration file in Unknown on line 0 -Could not startup. \ No newline at end of file +Could not startup. diff --git a/src/tests/broken_configuration/broken_conf_mutually_exclusive9.phpt b/src/tests/broken_configuration/broken_conf_mutually_exclusive9.phpt index 46dfc28..b384d77 100644 --- a/src/tests/broken_configuration/broken_conf_mutually_exclusive9.phpt +++ b/src/tests/broken_configuration/broken_conf_mutually_exclusive9.phpt @@ -2,6 +2,7 @@ Broken configuration - enabled/disabled unserialize --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/broken_conf_mutually_exclusive9.ini --FILE-- @@ -11,4 +12,4 @@ PHP Fatal error: [snuffleupagus][0.0.0.0][config][log] A rule can't be enabled Fatal error: [snuffleupagus][0.0.0.0][config][log] A rule can't be enabled and disabled on line 1 in Unknown on line 0 Fatal error: [snuffleupagus][0.0.0.0][config][log] Invalid configuration file in Unknown on line 0 -Could not startup. \ No newline at end of file +Could not startup. diff --git a/src/tests/broken_configuration/broken_conf_no_cookie_action.phpt b/src/tests/broken_configuration/broken_conf_no_cookie_action.phpt index da21967..62831d4 100644 --- a/src/tests/broken_configuration/broken_conf_no_cookie_action.phpt +++ b/src/tests/broken_configuration/broken_conf_no_cookie_action.phpt @@ -2,6 +2,7 @@ Bad config, invalid action. --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/broken_conf_cookie_action.ini --FILE-- @@ -11,4 +12,4 @@ PHP Fatal error: [snuffleupagus][0.0.0.0][config][log] You must specify a at le Fatal error: [snuffleupagus][0.0.0.0][config][log] You must specify a at least one action to a cookie on line 1 in Unknown on line 0 Fatal error: [snuffleupagus][0.0.0.0][config][log] Invalid configuration file in Unknown on line 0 -Could not startup. \ No newline at end of file +Could not startup. diff --git a/src/tests/broken_configuration/broken_conf_no_cookie_name.phpt b/src/tests/broken_configuration/broken_conf_no_cookie_name.phpt index 6eed345..51d2980 100644 --- a/src/tests/broken_configuration/broken_conf_no_cookie_name.phpt +++ b/src/tests/broken_configuration/broken_conf_no_cookie_name.phpt @@ -2,6 +2,7 @@ Broken configuration - encrypted cookie with no name --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/config_encrypted_cookies_noname.ini --FILE-- @@ -11,4 +12,4 @@ PHP Fatal error: [snuffleupagus][0.0.0.0][config][log] You must specify a cooki Fatal error: [snuffleupagus][0.0.0.0][config][log] You must specify a cookie name/regexp on line 2 in Unknown on line 0 Fatal error: [snuffleupagus][0.0.0.0][config][log] Invalid configuration file in Unknown on line 0 -Could not startup. \ No newline at end of file +Could not startup. diff --git a/src/tests/broken_configuration/broken_conf_nonexisting_script.phpt b/src/tests/broken_configuration/broken_conf_nonexisting_script.phpt index 64d8171..fa891d8 100644 --- a/src/tests/broken_configuration/broken_conf_nonexisting_script.phpt +++ b/src/tests/broken_configuration/broken_conf_nonexisting_script.phpt @@ -1,5 +1,7 @@ --TEST-- Invalid configuration file for upload +--SKIPIF-- += 80000) print "skip"; ?> --INI-- file_uploads=1 sp.configuration_file={PWD}/config/broken_conf_nonexisting_script.ini diff --git a/src/tests/broken_configuration/broken_conf_quotes.phpt b/src/tests/broken_configuration/broken_conf_quotes.phpt index 9a8de98..5b7b839 100644 --- a/src/tests/broken_configuration/broken_conf_quotes.phpt +++ b/src/tests/broken_configuration/broken_conf_quotes.phpt @@ -2,6 +2,7 @@ Broken configuration - missing quote --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/broken_conf_quotes.ini --FILE-- @@ -14,4 +15,4 @@ Fatal error: [snuffleupagus][0.0.0.0][config][log] You forgot to close a bracket Fatal error: [snuffleupagus][0.0.0.0][config][log] Invalid value '_SERVER[PHP_SELF' for `var` on line 1 in Unknown on line 0 Fatal error: [snuffleupagus][0.0.0.0][config][log] Invalid configuration file in Unknown on line 0 -Could not startup. \ No newline at end of file +Could not startup. diff --git a/src/tests/broken_configuration/broken_conf_readonly_exec.phpt b/src/tests/broken_configuration/broken_conf_readonly_exec.phpt index 1df0923..78b2b9a 100644 --- a/src/tests/broken_configuration/broken_conf_readonly_exec.phpt +++ b/src/tests/broken_configuration/broken_conf_readonly_exec.phpt @@ -1,5 +1,7 @@ --TEST-- Invalid configuration file for readonly_exec +--SKIPIF-- += 80000) print "skip"; ?> --INI-- file_uploads=1 sp.configuration_file={PWD}/config/broken_conf_readonly_exec.ini diff --git a/src/tests/broken_configuration/broken_conf_samesite.phpt b/src/tests/broken_configuration/broken_conf_samesite.phpt index fd82903..e4940c9 100644 --- a/src/tests/broken_configuration/broken_conf_samesite.phpt +++ b/src/tests/broken_configuration/broken_conf_samesite.phpt @@ -2,6 +2,7 @@ Bad config, invalid samesite type. --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/broken_conf_cookie_samesite.ini --FILE-- @@ -11,4 +12,4 @@ PHP Fatal error: [snuffleupagus][0.0.0.0][config][log] nop is an invalid value Fatal error: [snuffleupagus][0.0.0.0][config][log] nop is an invalid value to samesite (expected Lax or Strict) on line 1 in Unknown on line 0 Fatal error: [snuffleupagus][0.0.0.0][config][log] Invalid configuration file in Unknown on line 0 -Could not startup. \ No newline at end of file +Could not startup. diff --git a/src/tests/broken_configuration/broken_conf_session_encryption.phpt b/src/tests/broken_configuration/broken_conf_session_encryption.phpt index 2604f37..9dbedc1 100644 --- a/src/tests/broken_configuration/broken_conf_session_encryption.phpt +++ b/src/tests/broken_configuration/broken_conf_session_encryption.phpt @@ -2,6 +2,7 @@ Broken config, session encryption --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/broken_conf_session_encryption.ini --FILE-- diff --git a/src/tests/broken_configuration/broken_conf_session_encryption_without_encryption_key.phpt b/src/tests/broken_configuration/broken_conf_session_encryption_without_encryption_key.phpt index 520ce79..c638f80 100644 --- a/src/tests/broken_configuration/broken_conf_session_encryption_without_encryption_key.phpt +++ b/src/tests/broken_configuration/broken_conf_session_encryption_without_encryption_key.phpt @@ -2,6 +2,7 @@ Broken configuration - encrypted session without encryption key --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/broken_conf_session_encryption_without_encryption_key.ini --FILE-- diff --git a/src/tests/broken_configuration/broken_conf_session_encryption_without_env_var.phpt b/src/tests/broken_configuration/broken_conf_session_encryption_without_env_var.phpt index 0aba1ac..d503942 100644 --- a/src/tests/broken_configuration/broken_conf_session_encryption_without_env_var.phpt +++ b/src/tests/broken_configuration/broken_conf_session_encryption_without_env_var.phpt @@ -2,6 +2,7 @@ Broken configuration - encrypted session without env var --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/broken_conf_session_encryption_without_env_var.ini --FILE-- diff --git a/src/tests/broken_configuration/broken_conf_shown_in_phpinfo.phpt b/src/tests/broken_configuration/broken_conf_shown_in_phpinfo.phpt index 15619de..1ad0afb 100644 --- a/src/tests/broken_configuration/broken_conf_shown_in_phpinfo.phpt +++ b/src/tests/broken_configuration/broken_conf_shown_in_phpinfo.phpt @@ -2,6 +2,7 @@ Broken configuration --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/broken_config_regexp.ini --FILE-- diff --git a/src/tests/broken_configuration/broken_conf_truncated.phpt b/src/tests/broken_configuration/broken_conf_truncated.phpt index 035f308..6deff87 100644 --- a/src/tests/broken_configuration/broken_conf_truncated.phpt +++ b/src/tests/broken_configuration/broken_conf_truncated.phpt @@ -1,6 +1,7 @@ --TEST-- Bad boolean value in configuration --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/config_broken_conf_truncated.ini @@ -11,4 +12,4 @@ PHP Fatal error: [snuffleupagus][0.0.0.0][error][log] A valid string as paramet Fatal error: [snuffleupagus][0.0.0.0][error][log] A valid string as parameter is expected on line 1 in Unknown on line 0 Fatal error: [snuffleupagus][0.0.0.0][config][log] Invalid configuration file in Unknown on line 0 -Could not startup. \ No newline at end of file +Could not startup. diff --git a/src/tests/broken_configuration/broken_conf_unserialize.phpt b/src/tests/broken_configuration/broken_conf_unserialize.phpt index e389177..a42d8a1 100644 --- a/src/tests/broken_configuration/broken_conf_unserialize.phpt +++ b/src/tests/broken_configuration/broken_conf_unserialize.phpt @@ -1,5 +1,7 @@ --TEST-- Invalid configuration file for unserialize +--SKIPIF-- += 80000) print "skip"; ?> --INI-- file_uploads=1 sp.configuration_file={PWD}/config/broken_conf_unserialize.ini diff --git a/src/tests/broken_configuration/broken_conf_upload_validation.phpt b/src/tests/broken_configuration/broken_conf_upload_validation.phpt index 553271b..4b65339 100644 --- a/src/tests/broken_configuration/broken_conf_upload_validation.phpt +++ b/src/tests/broken_configuration/broken_conf_upload_validation.phpt @@ -1,5 +1,7 @@ --TEST-- Invalid configuration file for upload validation +--SKIPIF-- += 80000) print "skip"; ?> --INI-- file_uploads=1 sp.configuration_file={PWD}/config/borken_conf_upload_validation.ini diff --git a/src/tests/broken_configuration/broken_conf_weird_keyword.phpt b/src/tests/broken_configuration/broken_conf_weird_keyword.phpt index 24e6047..ce568af 100644 --- a/src/tests/broken_configuration/broken_conf_weird_keyword.phpt +++ b/src/tests/broken_configuration/broken_conf_weird_keyword.phpt @@ -2,6 +2,7 @@ Bad config, unknown keyword --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/broken_conf_weird_keyword.ini --FILE-- @@ -11,4 +12,4 @@ PHP Fatal error: [snuffleupagus][0.0.0.0][config][log] Trailing chars '.not_a_v Fatal error: [snuffleupagus][0.0.0.0][config][log] Trailing chars '.not_a_valid_keyword("test");' at the end of '.enable().not_a_valid_keyword("test");' on line 1 in Unknown on line 0 Fatal error: [snuffleupagus][0.0.0.0][config][log] Invalid configuration file in Unknown on line 0 -Could not startup. \ No newline at end of file +Could not startup. diff --git a/src/tests/broken_configuration/broken_conf_wrapper_whitelist.phpt b/src/tests/broken_configuration/broken_conf_wrapper_whitelist.phpt index c3e40c1..2d1feeb 100644 --- a/src/tests/broken_configuration/broken_conf_wrapper_whitelist.phpt +++ b/src/tests/broken_configuration/broken_conf_wrapper_whitelist.phpt @@ -2,6 +2,7 @@ Broken configuration with invalid token for wrapper whitelist --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/broken_conf_wrapper_whitelist.ini sp.allow_broken_configuration=Off diff --git a/src/tests/broken_configuration/broken_conf_wrong_quotes.phpt b/src/tests/broken_configuration/broken_conf_wrong_quotes.phpt index b61cf3f..3753989 100644 --- a/src/tests/broken_configuration/broken_conf_wrong_quotes.phpt +++ b/src/tests/broken_configuration/broken_conf_wrong_quotes.phpt @@ -2,6 +2,7 @@ Configuration line with too many quotes --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/broken_conf_wrong_quotes.ini --FILE-- @@ -11,4 +12,4 @@ PHP Fatal error: [snuffleupagus][0.0.0.0][error][log] There is an issue with th Fatal error: [snuffleupagus][0.0.0.0][error][log] There is an issue with the parsing of '"\)': it doesn't look like a valid string on line 1 in Unknown on line 0 Fatal error: [snuffleupagus][0.0.0.0][config][log] Invalid configuration file in Unknown on line 0 -Could not startup. \ No newline at end of file +Could not startup. diff --git a/src/tests/broken_configuration/broken_conf_wrong_type.phpt b/src/tests/broken_configuration/broken_conf_wrong_type.phpt index 32e8499..b204968 100644 --- a/src/tests/broken_configuration/broken_conf_wrong_type.phpt +++ b/src/tests/broken_configuration/broken_conf_wrong_type.phpt @@ -2,6 +2,7 @@ Broken conf with wrong type --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/broken_conf_wrong_type.ini --FILE-- diff --git a/src/tests/broken_configuration/broken_regexp.phpt b/src/tests/broken_configuration/broken_regexp.phpt index 3d06ba1..83c7103 100644 --- a/src/tests/broken_configuration/broken_regexp.phpt +++ b/src/tests/broken_configuration/broken_regexp.phpt @@ -2,6 +2,7 @@ Broken regexp --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/broken_regexp.ini --FILE-- @@ -14,4 +15,4 @@ Fatal error: [snuffleupagus][0.0.0.0][config][log] Failed to compile '^$[': miss Fatal error: [snuffleupagus][0.0.0.0][config][log] '.value_r()' is expecting a valid regexp, and not '"^$["' on line 1 in Unknown on line 0 Fatal error: [snuffleupagus][0.0.0.0][config][log] Invalid configuration file in Unknown on line 0 -Could not startup. \ No newline at end of file +Could not startup. diff --git a/src/tests/broken_configuration/broken_unmatching_brackets.phpt b/src/tests/broken_configuration/broken_unmatching_brackets.phpt index 46c81f9..ba14ff3 100644 --- a/src/tests/broken_configuration/broken_unmatching_brackets.phpt +++ b/src/tests/broken_configuration/broken_unmatching_brackets.phpt @@ -2,6 +2,7 @@ Broken configuration - unmatching brackets --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/config_unmatching_brackets.ini --FILE-- @@ -14,4 +15,4 @@ Fatal error: [snuffleupagus][0.0.0.0][config][log] Invalid `]` position. in Unkn Fatal error: [snuffleupagus][0.0.0.0][config][log] Invalid value 'arr[b]]]]]' for `param` on line 1 in Unknown on line 0 Fatal error: [snuffleupagus][0.0.0.0][config][log] Invalid configuration file in Unknown on line 0 -Could not startup. \ No newline at end of file +Could not startup. diff --git a/src/tests/config_typo3.phpt b/src/tests/config_typo3.phpt index 6545d07..bae7686 100644 --- a/src/tests/config_typo3.phpt +++ b/src/tests/config_typo3.phpt @@ -2,6 +2,7 @@ Rules for Typo3 --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/../../config/typo3.rules --FILE-- diff --git a/src/tests/cookies_encryption/encrypt_cookies2.phpt b/src/tests/cookies_encryption/encrypt_cookies2.phpt index 18c6b41..b71aaa9 100644 --- a/src/tests/cookies_encryption/encrypt_cookies2.phpt +++ b/src/tests/cookies_encryption/encrypt_cookies2.phpt @@ -2,6 +2,7 @@ Cookie encryption in ipv4 --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/config_encrypted_regexp_cookies.ini --COOKIE-- diff --git a/src/tests/cookies_encryption/encrypt_cookies4.phpt b/src/tests/cookies_encryption/encrypt_cookies4.phpt index da694e5..fa36756 100644 --- a/src/tests/cookies_encryption/encrypt_cookies4.phpt +++ b/src/tests/cookies_encryption/encrypt_cookies4.phpt @@ -2,6 +2,7 @@ Cookie encryption in ipv6 --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/config_encrypted_cookies.ini --COOKIE-- diff --git a/src/tests/cookies_encryption/encrypt_regexp_cookies2.phpt b/src/tests/cookies_encryption/encrypt_regexp_cookies2.phpt index 18c6b41..b71aaa9 100644 --- a/src/tests/cookies_encryption/encrypt_regexp_cookies2.phpt +++ b/src/tests/cookies_encryption/encrypt_regexp_cookies2.phpt @@ -2,6 +2,7 @@ Cookie encryption in ipv4 --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/config_encrypted_regexp_cookies.ini --COOKIE-- diff --git a/src/tests/cookies_encryption/setcookie.phpt b/src/tests/cookies_encryption/setcookie.phpt index 87a72c6..4e86984 100644 --- a/src/tests/cookies_encryption/setcookie.phpt +++ b/src/tests/cookies_encryption/setcookie.phpt @@ -2,6 +2,7 @@ Set cookies. --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/config_encrypted_cookies.ini --COOKIE-- diff --git a/src/tests/disable_function/disabled_function_echo.phpt b/src/tests/disable_function/disabled_function_echo.phpt index 5b66880..147fac8 100644 --- a/src/tests/disable_function/disabled_function_echo.phpt +++ b/src/tests/disable_function/disabled_function_echo.phpt @@ -2,6 +2,7 @@ Echo hooking --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/disabled_function_echo.ini --FILE-- @@ -16,4 +17,4 @@ test("oops"); --CLEAN-- --EXPECTF-- qwerty -Fatal error: [snuffleupagus][0.0.0.0][disabled_function][drop] Aborted execution on call of the function 'echo' in %a/disabled_function_echo.php on line 3 \ No newline at end of file +Fatal error: [snuffleupagus][0.0.0.0][disabled_function][drop] Aborted execution on call of the function 'echo' in %a/disabled_function_echo.php on line 3 diff --git a/src/tests/disable_function/disabled_function_echo_2.phpt b/src/tests/disable_function/disabled_function_echo_2.phpt index 60cc2f7..53355e9 100644 --- a/src/tests/disable_function/disabled_function_echo_2.phpt +++ b/src/tests/disable_function/disabled_function_echo_2.phpt @@ -2,6 +2,7 @@ Echo hooking --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/disabled_function_echo.ini --FILE-- @@ -12,4 +13,4 @@ echo "1", "oops"; --CLEAN-- --EXPECTF-- qwe1 -Fatal error: [snuffleupagus][0.0.0.0][disabled_function][drop] Aborted execution on call of the function 'echo' in %a/disabled_function_echo_2.php on line 3 \ No newline at end of file +Fatal error: [snuffleupagus][0.0.0.0][disabled_function][drop] Aborted execution on call of the function 'echo' in %a/disabled_function_echo_2.php on line 3 diff --git a/src/tests/disable_function/disabled_function_echo_local_var.phpt b/src/tests/disable_function/disabled_function_echo_local_var.phpt index 3a886f2..a614f1f 100644 --- a/src/tests/disable_function/disabled_function_echo_local_var.phpt +++ b/src/tests/disable_function/disabled_function_echo_local_var.phpt @@ -2,6 +2,7 @@ Echo hooking --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/disabled_function_echo.ini --FILE-- @@ -18,4 +19,4 @@ test(); --EXPECTF-- 3 -Fatal error: [snuffleupagus][0.0.0.0][disabled_function][drop] Aborted execution on call of the function 'echo' in %a/disabled_function_echo_local_var.php on line 3 \ No newline at end of file +Fatal error: [snuffleupagus][0.0.0.0][disabled_function][drop] Aborted execution on call of the function 'echo' in %a/disabled_function_echo_local_var.php on line 3 diff --git a/src/tests/disable_function/disabled_function_ensure_client_valid_certs.phpt b/src/tests/disable_function/disabled_function_ensure_client_valid_certs.phpt index 9872374..6197e68 100644 --- a/src/tests/disable_function/disabled_function_ensure_client_valid_certs.phpt +++ b/src/tests/disable_function/disabled_function_ensure_client_valid_certs.phpt @@ -5,6 +5,7 @@ Disable functions - Ensure that client certificates validation can't be disabled if (!extension_loaded("snuffleupagus")) { print("skip"); } if (!extension_loaded("curl")) { print("skip"); } ?> += 80000) print "skip"; ?> --EXTENSIONS-- curl --INI-- diff --git a/src/tests/disable_function/disabled_function_ensure_client_valid_certs_curl_multi_setopt.phpt b/src/tests/disable_function/disabled_function_ensure_client_valid_certs_curl_multi_setopt.phpt index 45ae95e..c469e94 100644 --- a/src/tests/disable_function/disabled_function_ensure_client_valid_certs_curl_multi_setopt.phpt +++ b/src/tests/disable_function/disabled_function_ensure_client_valid_certs_curl_multi_setopt.phpt @@ -5,6 +5,7 @@ Disable functions - Ensure that client certificates validation can't be disabled if (!extension_loaded("snuffleupagus")) { print("skip"); } if (!extension_loaded("curl")) { print("skip"); } ?> += 80000) print "skip"; ?> --EXTENSIONS-- curl --INI-- diff --git a/src/tests/disable_function/disabled_function_ensure_client_valid_certs_curl_setopt_array.phpt b/src/tests/disable_function/disabled_function_ensure_client_valid_certs_curl_setopt_array.phpt index 93ed020..fec94c5 100644 --- a/src/tests/disable_function/disabled_function_ensure_client_valid_certs_curl_setopt_array.phpt +++ b/src/tests/disable_function/disabled_function_ensure_client_valid_certs_curl_setopt_array.phpt @@ -5,6 +5,7 @@ Disable functions - Ensure that client certificates validation can't be disabled if (!extension_loaded("snuffleupagus")) { print("skip"); } if (!extension_loaded("curl")) { print("skip"); } ?> += 80000) print "skip"; ?> --EXTENSIONS-- curl --INI-- diff --git a/src/tests/disable_function/disabled_function_ensure_server_valid_certs.phpt b/src/tests/disable_function/disabled_function_ensure_server_valid_certs.phpt index 6e027de..354d3db 100644 --- a/src/tests/disable_function/disabled_function_ensure_server_valid_certs.phpt +++ b/src/tests/disable_function/disabled_function_ensure_server_valid_certs.phpt @@ -5,6 +5,7 @@ Disable functions - Ensure that server certificates validation can't be disabled if (!extension_loaded("snuffleupagus")) { print("skip"); } if (!extension_loaded("curl")) { print("skip"); } ?> += 80000) print "skip"; ?> --EXTENSIONS-- curl --INI-- diff --git a/src/tests/disable_function/disabled_function_ensure_server_valid_certs_curl_multi_setopt.phpt b/src/tests/disable_function/disabled_function_ensure_server_valid_certs_curl_multi_setopt.phpt index 32013b5..7c03c7e 100644 --- a/src/tests/disable_function/disabled_function_ensure_server_valid_certs_curl_multi_setopt.phpt +++ b/src/tests/disable_function/disabled_function_ensure_server_valid_certs_curl_multi_setopt.phpt @@ -5,6 +5,7 @@ Disable functions - Ensure that server certificates validation can't be disabled if (!extension_loaded("snuffleupagus")) { print("skip"); } if (!extension_loaded("curl")) { print("skip"); } ?> += 80000) print "skip"; ?> --EXTENSIONS-- curl --INI-- diff --git a/src/tests/disable_function/disabled_function_ensure_server_valid_certs_curl_setopt_array.phpt b/src/tests/disable_function/disabled_function_ensure_server_valid_certs_curl_setopt_array.phpt index ec0528a..f6f63ba 100644 --- a/src/tests/disable_function/disabled_function_ensure_server_valid_certs_curl_setopt_array.phpt +++ b/src/tests/disable_function/disabled_function_ensure_server_valid_certs_curl_setopt_array.phpt @@ -5,6 +5,7 @@ Disable functions - Ensure that server certificates validation can't be disabled if (!extension_loaded("snuffleupagus")) { echo("skip"); } if (!extension_loaded("curl")) { echo("skip"); } ?> += 80000) print "skip"; ?> --EXTENSIONS-- curl --INI-- diff --git a/src/tests/disable_function/disabled_function_local_var.phpt b/src/tests/disable_function/disabled_function_local_var.phpt index c28fd8c..fb4b7a1 100644 --- a/src/tests/disable_function/disabled_function_local_var.phpt +++ b/src/tests/disable_function/disabled_function_local_var.phpt @@ -2,6 +2,7 @@ Disable functions - match on a local variable --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/disabled_function_local_var.ini --FILE-- diff --git a/src/tests/disable_function/disabled_function_local_var_10.phpt b/src/tests/disable_function/disabled_function_local_var_10.phpt index eefb161..b9c9491 100644 --- a/src/tests/disable_function/disabled_function_local_var_10.phpt +++ b/src/tests/disable_function/disabled_function_local_var_10.phpt @@ -2,6 +2,7 @@ Disable functions - match on a local variable --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/disabled_function_local_var.ini --FILE-- @@ -42,4 +43,4 @@ array(2) { } } -Fatal error: [snuffleupagus][0.0.0.0][disabled_function][drop] Aborted execution on call of the function 'strtoupper' in %a/disabled_function_local_var_10.php on line 7 \ No newline at end of file +Fatal error: [snuffleupagus][0.0.0.0][disabled_function][drop] Aborted execution on call of the function 'strtoupper' in %a/disabled_function_local_var_10.php on line 7 diff --git a/src/tests/disable_function/disabled_function_local_var_2.phpt b/src/tests/disable_function/disabled_function_local_var_2.phpt index 076c3c5..b073f8b 100644 --- a/src/tests/disable_function/disabled_function_local_var_2.phpt +++ b/src/tests/disable_function/disabled_function_local_var_2.phpt @@ -2,6 +2,7 @@ Disable functions - match on a local variable --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/disabled_function_local_var.ini --FILE-- diff --git a/src/tests/disable_function/disabled_function_local_var_3.phpt b/src/tests/disable_function/disabled_function_local_var_3.phpt index f404682..0bb3074 100644 --- a/src/tests/disable_function/disabled_function_local_var_3.phpt +++ b/src/tests/disable_function/disabled_function_local_var_3.phpt @@ -2,6 +2,7 @@ Disable functions - match on a local variable --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/disabled_function_local_var.ini --FILE-- diff --git a/src/tests/disable_function/disabled_function_local_var_4.phpt b/src/tests/disable_function/disabled_function_local_var_4.phpt index f290a8b..7aa5e0c 100644 --- a/src/tests/disable_function/disabled_function_local_var_4.phpt +++ b/src/tests/disable_function/disabled_function_local_var_4.phpt @@ -2,6 +2,7 @@ Disable functions - match on a local variable --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/disabled_function_local_var_2.ini --FILE-- @@ -54,4 +55,4 @@ test(); Valeur: valeur de a Valeur: valeur de apres -Fatal error: [snuffleupagus][0.0.0.0][disabled_function][drop] Aborted execution on call of the function 'strtoupper' in %a/disabled_function_local_var_4.php on line 36 \ No newline at end of file +Fatal error: [snuffleupagus][0.0.0.0][disabled_function][drop] Aborted execution on call of the function 'strtoupper' in %a/disabled_function_local_var_4.php on line 36 diff --git a/src/tests/disable_function/disabled_function_local_var_5.phpt b/src/tests/disable_function/disabled_function_local_var_5.phpt index 7e592cd..dec1140 100644 --- a/src/tests/disable_function/disabled_function_local_var_5.phpt +++ b/src/tests/disable_function/disabled_function_local_var_5.phpt @@ -2,6 +2,7 @@ Disable functions - match on a local variable --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/disabled_function_local_var.ini --FILE-- diff --git a/src/tests/disable_function/disabled_function_local_var_6.phpt b/src/tests/disable_function/disabled_function_local_var_6.phpt index b2a16bf..71fe777 100644 --- a/src/tests/disable_function/disabled_function_local_var_6.phpt +++ b/src/tests/disable_function/disabled_function_local_var_6.phpt @@ -2,6 +2,7 @@ Disable functions - match on a local variable --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/disabled_function_local_var.ini --FILE-- @@ -29,4 +30,4 @@ class test_object { --EXPECTF-- Valeur: no good -Fatal error: [snuffleupagus][0.0.0.0][disabled_function][drop] Aborted execution on call of the function 'strtoupper' in %a/disabled_function_local_var_6.php on line 4 \ No newline at end of file +Fatal error: [snuffleupagus][0.0.0.0][disabled_function][drop] Aborted execution on call of the function 'strtoupper' in %a/disabled_function_local_var_6.php on line 4 diff --git a/src/tests/disable_function/disabled_function_local_var_7.phpt b/src/tests/disable_function/disabled_function_local_var_7.phpt index e15a430..2a074c8 100644 --- a/src/tests/disable_function/disabled_function_local_var_7.phpt +++ b/src/tests/disable_function/disabled_function_local_var_7.phpt @@ -2,6 +2,7 @@ Disable functions - match on a local variable --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/disabled_function_local_var.ini --FILE-- @@ -29,4 +30,4 @@ class test_object { --EXPECTF-- Valeur: qwerty -Fatal error: [snuffleupagus][0.0.0.0][disabled_function][drop] Aborted execution on call of the function 'strtoupper' in %a/disabled_function_local_var_7.php on line 4 \ No newline at end of file +Fatal error: [snuffleupagus][0.0.0.0][disabled_function][drop] Aborted execution on call of the function 'strtoupper' in %a/disabled_function_local_var_7.php on line 4 diff --git a/src/tests/disable_function/disabled_function_local_var_8.phpt b/src/tests/disable_function/disabled_function_local_var_8.phpt index 4f1b4c5..65b4b35 100644 --- a/src/tests/disable_function/disabled_function_local_var_8.phpt +++ b/src/tests/disable_function/disabled_function_local_var_8.phpt @@ -2,6 +2,7 @@ Disable functions - match on a local variable --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/disabled_function_local_var.ini --FILE-- @@ -18,4 +19,4 @@ namespace asd { --EXPECTF-- Valeur: qwerty -Fatal error: [snuffleupagus][0.0.0.0][disabled_function][drop] Aborted execution on call of the function 'strtoupper' in %a/disabled_function_local_var_8.php on line 8 \ No newline at end of file +Fatal error: [snuffleupagus][0.0.0.0][disabled_function][drop] Aborted execution on call of the function 'strtoupper' in %a/disabled_function_local_var_8.php on line 8 diff --git a/src/tests/disable_function/disabled_function_local_var_9.phpt b/src/tests/disable_function/disabled_function_local_var_9.phpt index eddb1ea..dd86d21 100644 --- a/src/tests/disable_function/disabled_function_local_var_9.phpt +++ b/src/tests/disable_function/disabled_function_local_var_9.phpt @@ -2,6 +2,7 @@ Disable functions - match on a local variable --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/disabled_function_local_var.ini --FILE-- @@ -18,4 +19,4 @@ namespace asd { --EXPECTF-- Valeur: asdfgh -Fatal error: [snuffleupagus][0.0.0.0][disabled_function][drop] Aborted execution on call of the function 'strtoupper' in %a/disabled_function_local_var_9.php on line 8 \ No newline at end of file +Fatal error: [snuffleupagus][0.0.0.0][disabled_function][drop] Aborted execution on call of the function 'strtoupper' in %a/disabled_function_local_var_9.php on line 8 diff --git a/src/tests/disable_function/disabled_function_local_var_const.phpt b/src/tests/disable_function/disabled_function_local_var_const.phpt index a0912d9..1a2767b 100644 --- a/src/tests/disable_function/disabled_function_local_var_const.phpt +++ b/src/tests/disable_function/disabled_function_local_var_const.phpt @@ -2,6 +2,7 @@ Disable functions - match on a constant --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/disabled_function_local_var_const.ini --FILE-- @@ -11,4 +12,4 @@ define("MY_CONST", $a); strtoupper("test"); ?> --EXPECTF-- -Fatal error: [snuffleupagus][0.0.0.0][disabled_function][drop] Aborted execution on call of the function 'strtoupper' in %a/disabled_function_local_var_const.php on line 4 \ No newline at end of file +Fatal error: [snuffleupagus][0.0.0.0][disabled_function][drop] Aborted execution on call of the function 'strtoupper' in %a/disabled_function_local_var_const.php on line 4 diff --git a/src/tests/disable_function/disabled_function_local_var_crash.phpt b/src/tests/disable_function/disabled_function_local_var_crash.phpt index f36b2c7..d29fcdc 100644 --- a/src/tests/disable_function/disabled_function_local_var_crash.phpt +++ b/src/tests/disable_function/disabled_function_local_var_crash.phpt @@ -2,6 +2,7 @@ Disable functions - match on a local variable --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/disabled_function_local_var.ini --FILE-- diff --git a/src/tests/disable_function/disabled_function_local_var_obj.phpt b/src/tests/disable_function/disabled_function_local_var_obj.phpt index 684933a..80b83cc 100644 --- a/src/tests/disable_function/disabled_function_local_var_obj.phpt +++ b/src/tests/disable_function/disabled_function_local_var_obj.phpt @@ -2,6 +2,7 @@ Disable functions - match on a local variable --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/disabled_function_local_var_obj.ini --FILE-- diff --git a/src/tests/disable_function/disabled_function_param.phpt b/src/tests/disable_function/disabled_function_param.phpt index bbf05f0..fe673d8 100644 --- a/src/tests/disable_function/disabled_function_param.phpt +++ b/src/tests/disable_function/disabled_function_param.phpt @@ -2,6 +2,7 @@ Disable functions - match on a param --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/disabled_function_param.ini --FILE-- @@ -17,4 +18,4 @@ qweqwe(Array(2)); --EXPECTF-- OK -Fatal error: [snuffleupagus][0.0.0.0][disabled_function][drop] Aborted execution on call of the function 'qweqwe', because its argument '$asd' content (2) matched a rule in %a/disabled_function_param.php on line 3 \ No newline at end of file +Fatal error: [snuffleupagus][0.0.0.0][disabled_function][drop] Aborted execution on call of the function 'qweqwe', because its argument '$asd' content (2) matched a rule in %a/disabled_function_param.php on line 3 diff --git a/src/tests/disable_function/disabled_function_super_global_var.phpt b/src/tests/disable_function/disabled_function_super_global_var.phpt index 6232e19..1a3d0ad 100644 --- a/src/tests/disable_function/disabled_function_super_global_var.phpt +++ b/src/tests/disable_function/disabled_function_super_global_var.phpt @@ -2,6 +2,7 @@ Disable functions - match on a super global --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/disabled_function_super_global_var.ini --GET-- diff --git a/src/tests/disable_function/disabled_functions.phpt b/src/tests/disable_function/disabled_functions.phpt index cda7c20..1434053 100644 --- a/src/tests/disable_function/disabled_functions.phpt +++ b/src/tests/disable_function/disabled_functions.phpt @@ -2,6 +2,7 @@ Disable functions --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/disabled_functions.ini --FILE-- diff --git a/src/tests/disable_function/disabled_functions_callback_called_file_r.phpt b/src/tests/disable_function/disabled_functions_callback_called_file_r.phpt index ec75d74..464af87 100644 --- a/src/tests/disable_function/disabled_functions_callback_called_file_r.phpt +++ b/src/tests/disable_function/disabled_functions_callback_called_file_r.phpt @@ -2,6 +2,7 @@ Disable functions by matching on the filename_r where the callback function is called, and not defined --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/config_disabled_functions_callback_called_file_r.ini --FILE-- diff --git a/src/tests/disable_function/disabled_functions_called_file_r.phpt b/src/tests/disable_function/disabled_functions_called_file_r.phpt index dde26f7..e592359 100644 --- a/src/tests/disable_function/disabled_functions_called_file_r.phpt +++ b/src/tests/disable_function/disabled_functions_called_file_r.phpt @@ -2,6 +2,7 @@ Disable functions by matching on the filename_r where the function is called, and not defined --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/config_disabled_functions_called_file_r.ini --FILE-- diff --git a/src/tests/disable_function/disabled_functions_drop_include.phpt b/src/tests/disable_function/disabled_functions_drop_include.phpt index 975168e..014a627 100644 --- a/src/tests/disable_function/disabled_functions_drop_include.phpt +++ b/src/tests/disable_function/disabled_functions_drop_include.phpt @@ -2,6 +2,7 @@ Disable function, bug : https://github.com/jvoisin/snuffleupagus/issues/181 --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/disabled_functions_drop_include.ini --FILE-- diff --git a/src/tests/disable_function/disabled_functions_drop_include_simulation.phpt b/src/tests/disable_function/disabled_functions_drop_include_simulation.phpt index 0a693be..97e1569 100644 --- a/src/tests/disable_function/disabled_functions_drop_include_simulation.phpt +++ b/src/tests/disable_function/disabled_functions_drop_include_simulation.phpt @@ -2,6 +2,7 @@ Disable function, bug : https://github.com/jvoisin/snuffleupagus/issues/181 --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/disabled_functions_drop_include_simulation.ini --FILE-- diff --git a/src/tests/disable_function/disabled_functions_eval_filename.phpt b/src/tests/disable_function/disabled_functions_eval_filename.phpt index 61757a3..eb714e5 100644 --- a/src/tests/disable_function/disabled_functions_eval_filename.phpt +++ b/src/tests/disable_function/disabled_functions_eval_filename.phpt @@ -2,6 +2,7 @@ Disable functions - eval --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/config_disabled_functions_eval_filename.ini --FILE-- @@ -11,4 +12,4 @@ eval('$var = 1337 + 1337;'); print("Variable: $var\n"); ?> --EXPECTF-- -Fatal error: [snuffleupagus][0.0.0.0][disabled_function][drop] Aborted execution on call of the function 'eval' in %a/disabled_functions_eval_filename.php(3) : eval()'d code on line 1 \ No newline at end of file +Fatal error: [snuffleupagus][0.0.0.0][disabled_function][drop] Aborted execution on call of the function 'eval' in %a/disabled_functions_eval_filename.php(3) : eval()'d code on line 1 diff --git a/src/tests/disable_function/disabled_functions_filename_r.phpt b/src/tests/disable_function/disabled_functions_filename_r.phpt index f6b1538..a636675 100644 --- a/src/tests/disable_function/disabled_functions_filename_r.phpt +++ b/src/tests/disable_function/disabled_functions_filename_r.phpt @@ -2,6 +2,7 @@ Disable functions - filename regexp --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/config_disabled_functions_filename_r.ini --FILE-- @@ -12,4 +13,4 @@ shell_exec("echo 43"); --EXPECTF-- 42 -Fatal error: [snuffleupagus][0.0.0.0][disabled_function][drop] Aborted execution on call of the function 'shell_exec' in %a/disabled_functions_filename_r.php on line 3 \ No newline at end of file +Fatal error: [snuffleupagus][0.0.0.0][disabled_function][drop] Aborted execution on call of the function 'shell_exec' in %a/disabled_functions_filename_r.php on line 3 diff --git a/src/tests/disable_function/disabled_functions_include_once.phpt b/src/tests/disable_function/disabled_functions_include_once.phpt index 57cb5a1..93a6491 100644 --- a/src/tests/disable_function/disabled_functions_include_once.phpt +++ b/src/tests/disable_function/disabled_functions_include_once.phpt @@ -2,6 +2,7 @@ Disable functions - include_once --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/config_disabled_functions_include.ini --FILE-- diff --git a/src/tests/disable_function/disabled_functions_include_simulation.phpt b/src/tests/disable_function/disabled_functions_include_simulation.phpt index 53ea2a4..d88e823 100644 --- a/src/tests/disable_function/disabled_functions_include_simulation.phpt +++ b/src/tests/disable_function/disabled_functions_include_simulation.phpt @@ -2,6 +2,7 @@ Disable functions - Include (simulation) --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/config_disabled_functions_include.ini --FILE-- diff --git a/src/tests/disable_function/disabled_functions_local_var_array.phpt b/src/tests/disable_function/disabled_functions_local_var_array.phpt index f9f2d36..4790148 100644 --- a/src/tests/disable_function/disabled_functions_local_var_array.phpt +++ b/src/tests/disable_function/disabled_functions_local_var_array.phpt @@ -2,6 +2,7 @@ Disable functions - match on an array value buried in several levels --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/config_disabled_functions_local_var_array.ini --FILE-- @@ -18,4 +19,4 @@ foo($a); --EXPECTF-- cccc -Fatal error: [snuffleupagus][0.0.0.0][disabled_function][drop] Aborted execution on call of the function 'foo' in %a/disabled_functions_local_var_array.php on line 3 \ No newline at end of file +Fatal error: [snuffleupagus][0.0.0.0][disabled_function][drop] Aborted execution on call of the function 'foo' in %a/disabled_functions_local_var_array.php on line 3 diff --git a/src/tests/disable_function/disabled_functions_local_var_array_key.phpt b/src/tests/disable_function/disabled_functions_local_var_array_key.phpt index c585ab3..d11ae7e 100644 --- a/src/tests/disable_function/disabled_functions_local_var_array_key.phpt +++ b/src/tests/disable_function/disabled_functions_local_var_array_key.phpt @@ -2,6 +2,7 @@ Disable functions - match on an array value buried in several levels --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/config_disabled_functions_local_var_array_key.ini --FILE-- @@ -18,4 +19,4 @@ foo($a); --EXPECTF-- cccc -Fatal error: [snuffleupagus][0.0.0.0][disabled_function][drop] Aborted execution on call of the function 'foo' in %a/disabled_functions_local_var_array_key.php on line 3 \ No newline at end of file +Fatal error: [snuffleupagus][0.0.0.0][disabled_function][drop] Aborted execution on call of the function 'foo' in %a/disabled_functions_local_var_array_key.php on line 3 diff --git a/src/tests/disable_function/disabled_functions_local_var_array_not_array.phpt b/src/tests/disable_function/disabled_functions_local_var_array_not_array.phpt index 6a62074..627e7ca 100644 --- a/src/tests/disable_function/disabled_functions_local_var_array_not_array.phpt +++ b/src/tests/disable_function/disabled_functions_local_var_array_not_array.phpt @@ -2,6 +2,7 @@ Disable functions --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/disabled_function_local_var_array_not_array.ini --FILE-- diff --git a/src/tests/disable_function/disabled_functions_method.phpt b/src/tests/disable_function/disabled_functions_method.phpt index 5f287ad..b41c74d 100644 --- a/src/tests/disable_function/disabled_functions_method.phpt +++ b/src/tests/disable_function/disabled_functions_method.phpt @@ -2,6 +2,7 @@ Disable functions --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/config_disabled_functions_method.ini --FILE-- @@ -24,4 +25,4 @@ $c->method2("paf"); $c->method3("pouet"); ?> --EXPECTF-- -Fatal error: [snuffleupagus][0.0.0.0][disabled_function][drop] Aborted execution on call of the function 'AwesomeClass::method1' in %a/disabled_functions_method.php on line 4 \ No newline at end of file +Fatal error: [snuffleupagus][0.0.0.0][disabled_function][drop] Aborted execution on call of the function 'AwesomeClass::method1' in %a/disabled_functions_method.php on line 4 diff --git a/src/tests/disable_function/disabled_functions_name_r.phpt b/src/tests/disable_function/disabled_functions_name_r.phpt index db2efbf..b910e65 100644 --- a/src/tests/disable_function/disabled_functions_name_r.phpt +++ b/src/tests/disable_function/disabled_functions_name_r.phpt @@ -2,6 +2,7 @@ Disable functions --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/config_disabled_functions_name_r.ini --FILE-- @@ -13,4 +14,4 @@ system("echo 1337"); 42 1337 -Fatal error: [snuffleupagus][0.0.0.0][disabled_function][drop] Aborted execution on return of the function 'system', because the function returned '1337', which matched a rule in %a/disabled_functions_name_r.php on line 3 \ No newline at end of file +Fatal error: [snuffleupagus][0.0.0.0][disabled_function][drop] Aborted execution on return of the function 'system', because the function returned '1337', which matched a rule in %a/disabled_functions_name_r.php on line 3 diff --git a/src/tests/disable_function/disabled_functions_name_regexp_type.phpt b/src/tests/disable_function/disabled_functions_name_regexp_type.phpt index bf916d2..25ac2b3 100644 --- a/src/tests/disable_function/disabled_functions_name_regexp_type.phpt +++ b/src/tests/disable_function/disabled_functions_name_regexp_type.phpt @@ -2,6 +2,7 @@ Disable functions --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/config_disabled_functions_name_regexp_type.ini --FILE-- @@ -14,4 +15,4 @@ echo strcmp([1], "pouet") . "\n"; 0 -1 -Fatal error: [snuffleupagus][0.0.0.0][disabled_function][drop] Aborted execution on call of the function 'strcmp', because its argument 'str1' content (?) matched a rule in %a/disabled_functions_name_regexp_type.php on line 4 \ No newline at end of file +Fatal error: [snuffleupagus][0.0.0.0][disabled_function][drop] Aborted execution on call of the function 'strcmp', because its argument 'str1' content (?) matched a rule in %a/disabled_functions_name_regexp_type.php on line 4 diff --git a/src/tests/disable_function/disabled_functions_name_type.phpt b/src/tests/disable_function/disabled_functions_name_type.phpt index c7971ee..8d70eaa 100644 --- a/src/tests/disable_function/disabled_functions_name_type.phpt +++ b/src/tests/disable_function/disabled_functions_name_type.phpt @@ -2,6 +2,7 @@ Disable functions --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/config_disabled_functions_name_type.ini --FILE-- @@ -12,4 +13,4 @@ echo strcmp([1,23], "pouet") . "\n"; --EXPECTF-- 0 -Fatal error: [snuffleupagus][0.0.0.0][disabled_function][drop] Aborted execution on call of the function 'strcmp', because its argument '$str1' content (ARRAY) matched a rule in %a/disabled_functions_name_type.php on line 3 \ No newline at end of file +Fatal error: [snuffleupagus][0.0.0.0][disabled_function][drop] Aborted execution on call of the function 'strcmp', because its argument '$str1' content (ARRAY) matched a rule in %a/disabled_functions_name_type.php on line 3 diff --git a/src/tests/disable_function/disabled_functions_nul_byte.phpt b/src/tests/disable_function/disabled_functions_nul_byte.phpt index ae9ead2..2bf26ab 100644 --- a/src/tests/disable_function/disabled_functions_nul_byte.phpt +++ b/src/tests/disable_function/disabled_functions_nul_byte.phpt @@ -2,6 +2,7 @@ Disable functions with nul byte --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/config_disabled_functions_nul_byte.ini --FILE-- @@ -11,4 +12,4 @@ system("id"); ?> --EXPECTF-- -Fatal error: [snuffleupagus][0.0.0.0][disabled_function][drop] Aborted execution on call of the function 'system', because its argument '$command' content (0id) matched a rule in %a/disabled_functions_nul_byte.php on line 2 \ No newline at end of file +Fatal error: [snuffleupagus][0.0.0.0][disabled_function][drop] Aborted execution on call of the function 'system', because its argument '$command' content (0id) matched a rule in %a/disabled_functions_nul_byte.php on line 2 diff --git a/src/tests/disable_function/disabled_functions_param.phpt b/src/tests/disable_function/disabled_functions_param.phpt index aa661e2..f384401 100644 --- a/src/tests/disable_function/disabled_functions_param.phpt +++ b/src/tests/disable_function/disabled_functions_param.phpt @@ -2,6 +2,7 @@ Disable functions --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/config_disabled_functions_param.ini --FILE-- @@ -15,4 +16,4 @@ strcmp("bla", "ble"); strncmp("bla", "ble", 2); ?> --EXPECTF-- -Fatal error: [snuffleupagus][0.0.0.0][disabled_function][drop] Aborted execution on call of the function 'system', because its argument '$command' content (id) matched the rule '1' in %a/disabled_functions_param.php on line 2 \ No newline at end of file +Fatal error: [snuffleupagus][0.0.0.0][disabled_function][drop] Aborted execution on call of the function 'system', because its argument '$command' content (id) matched the rule '1' in %a/disabled_functions_param.php on line 2 diff --git a/src/tests/disable_function/disabled_functions_param_allow.phpt b/src/tests/disable_function/disabled_functions_param_allow.phpt index cba8455..ac257e4 100644 --- a/src/tests/disable_function/disabled_functions_param_allow.phpt +++ b/src/tests/disable_function/disabled_functions_param_allow.phpt @@ -2,6 +2,7 @@ Disable functions - allow --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/config_disabled_functions_param_allow.ini --FILE-- @@ -12,4 +13,4 @@ system("id"); --EXPECTF-- win -Fatal error: [snuffleupagus][0.0.0.0][disabled_function][drop] Aborted execution on call of the function 'system' in %a/disabled_functions_param_allow.php on line 3 \ No newline at end of file +Fatal error: [snuffleupagus][0.0.0.0][disabled_function][drop] Aborted execution on call of the function 'system' in %a/disabled_functions_param_allow.php on line 3 diff --git a/src/tests/disable_function/disabled_functions_param_array.phpt b/src/tests/disable_function/disabled_functions_param_array.phpt index 30b11c1..7194548 100644 --- a/src/tests/disable_function/disabled_functions_param_array.phpt +++ b/src/tests/disable_function/disabled_functions_param_array.phpt @@ -2,6 +2,7 @@ Disable functions --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/config_disabled_functions_param_array.ini --FILE-- @@ -22,4 +23,4 @@ foo($a); test1 abcde -Fatal error: [snuffleupagus][0.0.0.0][disabled_function][drop] Aborted execution on call of the function 'foo', because its argument '$arr' content (abcd) matched the rule '1' in %a/disabled_functions_param_array.php on line 3 \ No newline at end of file +Fatal error: [snuffleupagus][0.0.0.0][disabled_function][drop] Aborted execution on call of the function 'foo', because its argument '$arr' content (abcd) matched the rule '1' in %a/disabled_functions_param_array.php on line 3 diff --git a/src/tests/disable_function/disabled_functions_param_array_deref.phpt b/src/tests/disable_function/disabled_functions_param_array_deref.phpt index a10c648..c8c9732 100644 --- a/src/tests/disable_function/disabled_functions_param_array_deref.phpt +++ b/src/tests/disable_function/disabled_functions_param_array_deref.phpt @@ -2,6 +2,7 @@ Disable functions --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/config_disabled_functions_param_array.ini --FILE-- @@ -23,4 +24,4 @@ foo($a); eee abcdef -Fatal error: [snuffleupagus][0.0.0.0][disabled_function][drop] Aborted execution on call of the function 'foo', because its argument '$arr' content (abcdef) matched the rule '2' in %a/disabled_functions_param_array_deref.php on line 3 \ No newline at end of file +Fatal error: [snuffleupagus][0.0.0.0][disabled_function][drop] Aborted execution on call of the function 'foo', because its argument '$arr' content (abcdef) matched the rule '2' in %a/disabled_functions_param_array_deref.php on line 3 diff --git a/src/tests/disable_function/disabled_functions_param_array_no_value.phpt b/src/tests/disable_function/disabled_functions_param_array_no_value.phpt index 778ec24..d31cef9 100644 --- a/src/tests/disable_function/disabled_functions_param_array_no_value.phpt +++ b/src/tests/disable_function/disabled_functions_param_array_no_value.phpt @@ -2,6 +2,7 @@ Disable functions - matching on an array's variable only --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/config_disabled_functions_param_array.ini --FILE-- @@ -20,4 +21,4 @@ foo($a); --EXPECTF-- cccc -Fatal error: [snuffleupagus][0.0.0.0][disabled_function][drop] Aborted execution on call of the function 'foo', because its argument '$arr' content (aaa) matched the rule '3' in %a/disabled_functions_param_array_no_value.php on line 3 \ No newline at end of file +Fatal error: [snuffleupagus][0.0.0.0][disabled_function][drop] Aborted execution on call of the function 'foo', because its argument '$arr' content (aaa) matched the rule '3' in %a/disabled_functions_param_array_no_value.php on line 3 diff --git a/src/tests/disable_function/disabled_functions_param_array_r.phpt b/src/tests/disable_function/disabled_functions_param_array_r.phpt index ceace9c..89ecb75 100644 --- a/src/tests/disable_function/disabled_functions_param_array_r.phpt +++ b/src/tests/disable_function/disabled_functions_param_array_r.phpt @@ -2,6 +2,7 @@ Disable functions - match on an array using regexp --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/config_disabled_functions_param_r_array.ini --FILE-- @@ -18,4 +19,4 @@ foo($a); --EXPECTF-- cccc -Fatal error: [snuffleupagus][0.0.0.0][disabled_function][drop] Aborted execution on call of the function 'foo', because its argument 'arr' content (ARRAY) matched the rule '1' in %a/disabled_functions_param_array_r.php on line 3 \ No newline at end of file +Fatal error: [snuffleupagus][0.0.0.0][disabled_function][drop] Aborted execution on call of the function 'foo', because its argument 'arr' content (ARRAY) matched the rule '1' in %a/disabled_functions_param_array_r.php on line 3 diff --git a/src/tests/disable_function/disabled_functions_param_array_several_levels.phpt b/src/tests/disable_function/disabled_functions_param_array_several_levels.phpt index 3f713ad..7d0adeb 100644 --- a/src/tests/disable_function/disabled_functions_param_array_several_levels.phpt +++ b/src/tests/disable_function/disabled_functions_param_array_several_levels.phpt @@ -2,6 +2,7 @@ Disable functions - match on an array value buried in several levels --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/config_disabled_functions_param_array.ini --FILE-- @@ -18,4 +19,4 @@ foo($a); --EXPECTF-- cccc -Fatal error: [snuffleupagus][0.0.0.0][disabled_function][drop] Aborted execution on call of the function 'foo', because its argument '$arr' content (ARRAY) matched the rule '4' in %a/disabled_functions_param_array_several_levels.php on line 3 \ No newline at end of file +Fatal error: [snuffleupagus][0.0.0.0][disabled_function][drop] Aborted execution on call of the function 'foo', because its argument '$arr' content (ARRAY) matched the rule '4' in %a/disabled_functions_param_array_several_levels.php on line 3 diff --git a/src/tests/disable_function/disabled_functions_param_array_several_levels_int.phpt b/src/tests/disable_function/disabled_functions_param_array_several_levels_int.phpt index 3f35444..ecf1fb1 100644 --- a/src/tests/disable_function/disabled_functions_param_array_several_levels_int.phpt +++ b/src/tests/disable_function/disabled_functions_param_array_several_levels_int.phpt @@ -2,6 +2,7 @@ Disable functions - match on an array value buried in several levels --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/config_disabled_functions_param_array.ini --FILE-- @@ -18,4 +19,4 @@ foo($a); --EXPECTF-- cccc -Fatal error: [snuffleupagus][0.0.0.0][disabled_function][drop] Aborted execution on call of the function 'foo', because its argument '$arr' content (ARRAY) matched the rule '4' in %a/disabled_functions_param_array_several_levels_int.php on line 3 \ No newline at end of file +Fatal error: [snuffleupagus][0.0.0.0][disabled_function][drop] Aborted execution on call of the function 'foo', because its argument '$arr' content (ARRAY) matched the rule '4' in %a/disabled_functions_param_array_several_levels_int.php on line 3 diff --git a/src/tests/disable_function/disabled_functions_param_array_several_levels_keys.phpt b/src/tests/disable_function/disabled_functions_param_array_several_levels_keys.phpt index af6731b..6d8cbb0 100644 --- a/src/tests/disable_function/disabled_functions_param_array_several_levels_keys.phpt +++ b/src/tests/disable_function/disabled_functions_param_array_several_levels_keys.phpt @@ -2,6 +2,7 @@ Disable functions - match on an array value buried in several levels --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/config_disabled_functions_param_array.ini --FILE-- @@ -18,4 +19,4 @@ foo($a); --EXPECTF-- cccc -Fatal error: [snuffleupagus][0.0.0.0][disabled_function][drop] Aborted execution on call of the function 'foo', because its argument '$arr' content (ARRAY) matched the rule '5' in %a/disabled_functions_param_array_several_levels_keys.php on line 3 \ No newline at end of file +Fatal error: [snuffleupagus][0.0.0.0][disabled_function][drop] Aborted execution on call of the function 'foo', because its argument '$arr' content (ARRAY) matched the rule '5' in %a/disabled_functions_param_array_several_levels_keys.php on line 3 diff --git a/src/tests/disable_function/disabled_functions_param_array_several_levels_keys_int.phpt b/src/tests/disable_function/disabled_functions_param_array_several_levels_keys_int.phpt index 7e9627e..fef5364 100644 --- a/src/tests/disable_function/disabled_functions_param_array_several_levels_keys_int.phpt +++ b/src/tests/disable_function/disabled_functions_param_array_several_levels_keys_int.phpt @@ -2,6 +2,7 @@ Disable functions - match on an array value buried in several levels --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/config_disabled_functions_param_array.ini --FILE-- @@ -18,4 +19,4 @@ foo($a); --EXPECTF-- cccc -Fatal error: [snuffleupagus][0.0.0.0][disabled_function][drop] Aborted execution on call of the function 'foo', because its argument '$arr' content (ARRAY) matched the rule '6' in %a/disabled_functions_param_array_several_levels_keys_int.php on line 3 \ No newline at end of file +Fatal error: [snuffleupagus][0.0.0.0][disabled_function][drop] Aborted execution on call of the function 'foo', because its argument '$arr' content (ARRAY) matched the rule '6' in %a/disabled_functions_param_array_several_levels_keys_int.php on line 3 diff --git a/src/tests/disable_function/disabled_functions_param_broken_line.phpt b/src/tests/disable_function/disabled_functions_param_broken_line.phpt index a372314..806816d 100644 --- a/src/tests/disable_function/disabled_functions_param_broken_line.phpt +++ b/src/tests/disable_function/disabled_functions_param_broken_line.phpt @@ -2,6 +2,7 @@ Disable functions - match on a specific line - broken configuration --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/disabled_functions_broken_line.ini --FILE-- diff --git a/src/tests/disable_function/disabled_functions_param_int.phpt b/src/tests/disable_function/disabled_functions_param_int.phpt index c49e25e..d681b3e 100644 --- a/src/tests/disable_function/disabled_functions_param_int.phpt +++ b/src/tests/disable_function/disabled_functions_param_int.phpt @@ -2,6 +2,7 @@ Disable functions --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/config_disabled_functions_param_int.ini --FILE-- @@ -19,4 +20,4 @@ foobar("10"); --EXPECTF-- 1 -Fatal error: [snuffleupagus][0.0.0.0][disabled_function][drop] Aborted execution on call of the function 'foobar', because its argument '$id' content (42) matched a rule in %a/disabled_functions_param_int.php on line 3 \ No newline at end of file +Fatal error: [snuffleupagus][0.0.0.0][disabled_function][drop] Aborted execution on call of the function 'foobar', because its argument '$id' content (42) matched a rule in %a/disabled_functions_param_int.php on line 3 diff --git a/src/tests/disable_function/disabled_functions_param_invalid_pos.phpt b/src/tests/disable_function/disabled_functions_param_invalid_pos.phpt index bafe50a..e409300 100644 --- a/src/tests/disable_function/disabled_functions_param_invalid_pos.phpt +++ b/src/tests/disable_function/disabled_functions_param_invalid_pos.phpt @@ -2,6 +2,7 @@ Disable functions - match on argument's position --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/disabled_functions_invalid_pos.ini --FILE-- diff --git a/src/tests/disable_function/disabled_functions_param_pos2.phpt b/src/tests/disable_function/disabled_functions_param_pos2.phpt index 6854147..bfe71ee 100644 --- a/src/tests/disable_function/disabled_functions_param_pos2.phpt +++ b/src/tests/disable_function/disabled_functions_param_pos2.phpt @@ -2,6 +2,7 @@ Disable functions - match on argument's position, not the first time --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/disabled_functions_pos.ini --FILE-- @@ -10,4 +11,4 @@ strtoupper("od"); strtoupper("id"); ?> --EXPECTF-- -Fatal error: [snuffleupagus][0.0.0.0][disabled_function][drop] Aborted execution on call of the function 'strtoupper', because its argument 'str' content (id) matched the rule 'strlen array' in %a/disabled_functions_param_pos2.php on line 3 \ No newline at end of file +Fatal error: [snuffleupagus][0.0.0.0][disabled_function][drop] Aborted execution on call of the function 'strtoupper', because its argument 'str' content (id) matched the rule 'strlen array' in %a/disabled_functions_param_pos2.php on line 3 diff --git a/src/tests/disable_function/disabled_functions_param_r.phpt b/src/tests/disable_function/disabled_functions_param_r.phpt index f919581..f30fca9 100644 --- a/src/tests/disable_function/disabled_functions_param_r.phpt +++ b/src/tests/disable_function/disabled_functions_param_r.phpt @@ -2,6 +2,7 @@ Disable functions --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/config_disabled_functions_param_r.ini --FILE-- @@ -10,4 +11,4 @@ system("id"); system("echo win"); ?> --EXPECTF-- -Fatal error: [snuffleupagus][0.0.0.0][disabled_function][drop] Aborted execution on call of the function 'system', because its argument 'command' content (id) matched a rule in %a/disabled_functions_param_r.php on line 2 \ No newline at end of file +Fatal error: [snuffleupagus][0.0.0.0][disabled_function][drop] Aborted execution on call of the function 'system', because its argument 'command' content (id) matched a rule in %a/disabled_functions_param_r.php on line 2 diff --git a/src/tests/disable_function/disabled_functions_param_str_representation.phpt b/src/tests/disable_function/disabled_functions_param_str_representation.phpt index f56c457..179ce93 100644 --- a/src/tests/disable_function/disabled_functions_param_str_representation.phpt +++ b/src/tests/disable_function/disabled_functions_param_str_representation.phpt @@ -2,6 +2,7 @@ Disable functions - casting various types to string internally --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/config_disabled_functions_param_str_representation.ini --FILE-- diff --git a/src/tests/disable_function/disabled_functions_parse_class.phpt b/src/tests/disable_function/disabled_functions_parse_class.phpt index e62fe40..487bd51 100644 --- a/src/tests/disable_function/disabled_functions_parse_class.phpt +++ b/src/tests/disable_function/disabled_functions_parse_class.phpt @@ -2,6 +2,7 @@ Disable functions - Parsing of an Object as a return value of a function --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/disabled_functions_ret.ini --FILE-- diff --git a/src/tests/disable_function/disabled_functions_regexp_multiple.phpt b/src/tests/disable_function/disabled_functions_regexp_multiple.phpt index 5f8b151..ca7263a 100644 --- a/src/tests/disable_function/disabled_functions_regexp_multiple.phpt +++ b/src/tests/disable_function/disabled_functions_regexp_multiple.phpt @@ -2,6 +2,7 @@ Disable functions --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/disabled_functions_regexp.ini --FILE-- diff --git a/src/tests/disable_function/disabled_functions_require.phpt b/src/tests/disable_function/disabled_functions_require.phpt index df2b2f0..0050d51 100644 --- a/src/tests/disable_function/disabled_functions_require.phpt +++ b/src/tests/disable_function/disabled_functions_require.phpt @@ -2,6 +2,7 @@ Disable functions - Require --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/config_disabled_functions_require.ini --FILE-- diff --git a/src/tests/disable_function/disabled_functions_require_allow.phpt b/src/tests/disable_function/disabled_functions_require_allow.phpt index 7ab29aa..dac7a1e 100644 --- a/src/tests/disable_function/disabled_functions_require_allow.phpt +++ b/src/tests/disable_function/disabled_functions_require_allow.phpt @@ -2,6 +2,7 @@ Disable functions - Require (allow) --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/config_disabled_functions_require_allow.ini --FILE-- diff --git a/src/tests/disable_function/disabled_functions_require_once.phpt b/src/tests/disable_function/disabled_functions_require_once.phpt index 7356c08..f6ed729 100644 --- a/src/tests/disable_function/disabled_functions_require_once.phpt +++ b/src/tests/disable_function/disabled_functions_require_once.phpt @@ -2,6 +2,7 @@ Disable functions - require_once --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/config_disabled_functions_require.ini --FILE-- diff --git a/src/tests/disable_function/disabled_functions_require_simulation.phpt b/src/tests/disable_function/disabled_functions_require_simulation.phpt index fa1523c..625feee 100644 --- a/src/tests/disable_function/disabled_functions_require_simulation.phpt +++ b/src/tests/disable_function/disabled_functions_require_simulation.phpt @@ -2,6 +2,7 @@ Disable functions - Require (simulation) --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/config_disabled_functions_require.ini --FILE-- diff --git a/src/tests/disable_function/disabled_functions_ret.phpt b/src/tests/disable_function/disabled_functions_ret.phpt index be5e946..56da217 100644 --- a/src/tests/disable_function/disabled_functions_ret.phpt +++ b/src/tests/disable_function/disabled_functions_ret.phpt @@ -2,6 +2,7 @@ Disable functions check on `ret`. --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/disabled_functions_ret.ini --FILE-- @@ -10,4 +11,4 @@ echo strpos("pouet", "p"); echo stripos("pouet", "p"); ?> --EXPECTF-- -Fatal error: [snuffleupagus][0.0.0.0][disabled_function][drop] Aborted execution on return of the function 'strpos', because the function returned '0', which matched a rule in %a/disabled_functions_ret.php on line 2 \ No newline at end of file +Fatal error: [snuffleupagus][0.0.0.0][disabled_function][drop] Aborted execution on return of the function 'strpos', because the function returned '0', which matched a rule in %a/disabled_functions_ret.php on line 2 diff --git a/src/tests/disable_function/disabled_functions_ret2.phpt b/src/tests/disable_function/disabled_functions_ret2.phpt index 8070b08..ede465d 100644 --- a/src/tests/disable_function/disabled_functions_ret2.phpt +++ b/src/tests/disable_function/disabled_functions_ret2.phpt @@ -2,6 +2,7 @@ Disable functions check on `ret`. --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/disabled_functions_ret.ini --FILE-- @@ -9,4 +10,4 @@ sp.configuration_file={PWD}/config/disabled_functions_ret.ini echo stripos("pouet", "p"); ?> --EXPECTF-- -Fatal error: [snuffleupagus][0.0.0.0][disabled_function][drop] Aborted execution on return of the function 'stripos', because the function returned '0', which matched a rule in %a/disabled_functions_ret2.php on line 2 \ No newline at end of file +Fatal error: [snuffleupagus][0.0.0.0][disabled_function][drop] Aborted execution on return of the function 'stripos', because the function returned '0', which matched a rule in %a/disabled_functions_ret2.php on line 2 diff --git a/src/tests/disable_function/disabled_functions_ret3.phpt b/src/tests/disable_function/disabled_functions_ret3.phpt index 744ec78..fd97694 100644 --- a/src/tests/disable_function/disabled_functions_ret3.phpt +++ b/src/tests/disable_function/disabled_functions_ret3.phpt @@ -2,6 +2,7 @@ Disable functions check on `ret`. --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/disabled_functions_ret.ini memory_limit=-1 @@ -20,4 +21,4 @@ echo("We're at the end of the execution.\n"); --EXPECTF-- We're in function `a`. -Fatal error: [snuffleupagus][0.0.0.0][disabled_function][drop] Aborted execution on return of the function 'Bob::a', because the function returned '2', which matched a rule in %a/disabled_functions_ret3.php on line 9 \ No newline at end of file +Fatal error: [snuffleupagus][0.0.0.0][disabled_function][drop] Aborted execution on return of the function 'Bob::a', because the function returned '2', which matched a rule in %a/disabled_functions_ret3.php on line 9 diff --git a/src/tests/disable_function/disabled_functions_ret_val_rx.phpt b/src/tests/disable_function/disabled_functions_ret_val_rx.phpt index e756d30..e575af9 100644 --- a/src/tests/disable_function/disabled_functions_ret_val_rx.phpt +++ b/src/tests/disable_function/disabled_functions_ret_val_rx.phpt @@ -2,6 +2,7 @@ Disable functions ret val rx --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/disabled_functions_retval_rx.ini --FILE-- @@ -12,4 +13,4 @@ echo str_repeat("fufufu",1); --EXPECTF-- fufu -Fatal error: [snuffleupagus][0.0.0.0][disabled_function][drop] Aborted execution on return of the function 'str_repeat', because the function returned 'fufufu', which matched a rule in %a/disabled_functions_ret_val_rx.php on line 3 \ No newline at end of file +Fatal error: [snuffleupagus][0.0.0.0][disabled_function][drop] Aborted execution on return of the function 'str_repeat', because the function returned 'fufufu', which matched a rule in %a/disabled_functions_ret_val_rx.php on line 3 diff --git a/src/tests/disable_function/disabled_functions_runtime.phpt b/src/tests/disable_function/disabled_functions_runtime.phpt index 3d74b40..60c5697 100644 --- a/src/tests/disable_function/disabled_functions_runtime.phpt +++ b/src/tests/disable_function/disabled_functions_runtime.phpt @@ -2,6 +2,7 @@ Disable functions - runtime inclusion --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/config_disabled_functions_param_runtime.ini --FILE-- diff --git a/src/tests/disable_function/disabled_functions_upper.phpt b/src/tests/disable_function/disabled_functions_upper.phpt index e3878f0..cdc998a 100644 --- a/src/tests/disable_function/disabled_functions_upper.phpt +++ b/src/tests/disable_function/disabled_functions_upper.phpt @@ -2,6 +2,7 @@ Disable functions - uppercase --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/disabled_functions.ini --FILE-- @@ -13,4 +14,4 @@ vaR_DUmp("this is a super test"); echo sTRPOs("pouet", "o"); ?> --EXPECTF-- -Fatal error: [snuffleupagus][0.0.0.0][disabled_function][drop] Aborted execution on call of the function 'system' in %a/disabled_functions_upper.php on line 2 \ No newline at end of file +Fatal error: [snuffleupagus][0.0.0.0][disabled_function][drop] Aborted execution on call of the function 'system' in %a/disabled_functions_upper.php on line 2 diff --git a/src/tests/disable_function/disabled_functions_variadic.phpt b/src/tests/disable_function/disabled_functions_variadic.phpt index 7658ec8..f364ea3 100644 --- a/src/tests/disable_function/disabled_functions_variadic.phpt +++ b/src/tests/disable_function/disabled_functions_variadic.phpt @@ -2,6 +2,7 @@ Disable functions - support for variadic functions --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/config_disabled_functions_variadic.ini --FILE-- diff --git a/src/tests/disable_function/disabled_native_functions_indirect.phpt b/src/tests/disable_function/disabled_native_functions_indirect.phpt index 1539db3..df585c7 100644 --- a/src/tests/disable_function/disabled_native_functions_indirect.phpt +++ b/src/tests/disable_function/disabled_native_functions_indirect.phpt @@ -2,6 +2,7 @@ Disabled native functions, called indirectly --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/disabled_functions.ini --FILE-- @@ -9,4 +10,4 @@ sp.configuration_file={PWD}/config/disabled_functions.ini array_map('system', [1,2,3,4]); ?> --EXPECTF-- -Fatal error: [snuffleupagus][0.0.0.0][disabled_function][drop] Aborted execution on call of the function 'system' in %a/disabled_native_functions_indirect.php on line 2 \ No newline at end of file +Fatal error: [snuffleupagus][0.0.0.0][disabled_function][drop] Aborted execution on call of the function 'system' in %a/disabled_native_functions_indirect.php on line 2 diff --git a/src/tests/global_strict/global_strict.phpt b/src/tests/global_strict/global_strict.phpt index e06721c..07dc979 100644 --- a/src/tests/global_strict/global_strict.phpt +++ b/src/tests/global_strict/global_strict.phpt @@ -2,6 +2,7 @@ Global strict mode --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/global_strict.ini --FILE-- diff --git a/src/tests/global_strict/global_strict_disabled.phpt b/src/tests/global_strict/global_strict_disabled.phpt index ca3ddfa..c948444 100644 --- a/src/tests/global_strict/global_strict_disabled.phpt +++ b/src/tests/global_strict/global_strict_disabled.phpt @@ -2,6 +2,7 @@ Global strict mode --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/global_strict_disabled.ini --FILE-- diff --git a/src/tests/harden_rand/harden_rand_noargs.phpt b/src/tests/harden_rand/harden_rand_noargs.phpt index dc7d832..9abbffa 100644 --- a/src/tests/harden_rand/harden_rand_noargs.phpt +++ b/src/tests/harden_rand/harden_rand_noargs.phpt @@ -2,6 +2,7 @@ Harden rand without any arguments --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/harden_rand.ini We should fix this diff --git a/src/tests/inexistent_conf_file.phpt b/src/tests/inexistent_conf_file.phpt index 78f37a6..cd10665 100644 --- a/src/tests/inexistent_conf_file.phpt +++ b/src/tests/inexistent_conf_file.phpt @@ -2,6 +2,7 @@ Check for snuffleupagus presence --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/unexistent_configuration_file.ini --FILE-- @@ -12,4 +13,4 @@ PHP Fatal error: [snuffleupagus][0.0.0.0][config][log] Could not open configura Fatal error: [snuffleupagus][0.0.0.0][config][log] Could not open configuration file %a/config/unexistent_configuration_file.ini : No such file or directory in Unknown on line 0 Fatal error: [snuffleupagus][0.0.0.0][config][log] Invalid configuration file in Unknown on line 0 -Could not startup. \ No newline at end of file +Could not startup. diff --git a/src/tests/inexistent_conf_file_list.phpt b/src/tests/inexistent_conf_file_list.phpt index 705fcbf..6cac934 100644 --- a/src/tests/inexistent_conf_file_list.phpt +++ b/src/tests/inexistent_conf_file_list.phpt @@ -2,6 +2,7 @@ Non-existent configuration file in a list --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/../../config/default.rules,{PWD}/non_existent_configuration_file --FILE-- @@ -12,4 +13,4 @@ PHP Fatal error: [snuffleupagus][0.0.0.0][config][log] Could not open configura Fatal error: [snuffleupagus][0.0.0.0][config][log] Could not open configuration file %a/non_existent_configuration_file : No such file or directory in Unknown on line 0 Fatal error: [snuffleupagus][0.0.0.0][config][log] Invalid configuration file in Unknown on line 0 -Could not startup. \ No newline at end of file +Could not startup. diff --git a/src/tests/phpinfo_presence.phpt b/src/tests/phpinfo_presence.phpt index c1388ed..7ac9d10 100644 --- a/src/tests/phpinfo_presence.phpt +++ b/src/tests/phpinfo_presence.phpt @@ -2,6 +2,7 @@ Unserialize fail --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/../../config/default.rules --FILE-- diff --git a/src/tests/rips_configuration.phpt b/src/tests/rips_configuration.phpt index 7c197e5..f0930ee 100644 --- a/src/tests/rips_configuration.phpt +++ b/src/tests/rips_configuration.phpt @@ -2,6 +2,7 @@ Shipped configuration (rips) --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/../../config/rips.rules --FILE-- diff --git a/src/tests/shipped_configuration.phpt b/src/tests/shipped_configuration.phpt index b171304..f567b08 100644 --- a/src/tests/shipped_configuration.phpt +++ b/src/tests/shipped_configuration.phpt @@ -2,6 +2,7 @@ Shipped configuration --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/../../config/default.rules --FILE-- diff --git a/src/tests/sloppy_comparison/sloppy_comparison_array_disabled.phpt b/src/tests/sloppy_comparison/sloppy_comparison_array_disabled.phpt index e8cd77b..e292f5e 100644 --- a/src/tests/sloppy_comparison/sloppy_comparison_array_disabled.phpt +++ b/src/tests/sloppy_comparison/sloppy_comparison_array_disabled.phpt @@ -2,6 +2,7 @@ Sloppy comparison in_array disabled --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.allow_broken_configuration=On --FILE-- diff --git a/src/tests/sloppy_comparison/sloppy_comparison_array_keys_disabled.phpt b/src/tests/sloppy_comparison/sloppy_comparison_array_keys_disabled.phpt index 8841b4c..3cc02c2 100644 --- a/src/tests/sloppy_comparison/sloppy_comparison_array_keys_disabled.phpt +++ b/src/tests/sloppy_comparison/sloppy_comparison_array_keys_disabled.phpt @@ -2,6 +2,7 @@ Sloppy comparison array_keys disabled --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.allow_broken_configuration=On --FILE-- diff --git a/src/tests/sloppy_comparison/sloppy_comparison_array_search_disabled.phpt b/src/tests/sloppy_comparison/sloppy_comparison_array_search_disabled.phpt index bee3752..2da4a17 100644 --- a/src/tests/sloppy_comparison/sloppy_comparison_array_search_disabled.phpt +++ b/src/tests/sloppy_comparison/sloppy_comparison_array_search_disabled.phpt @@ -2,6 +2,7 @@ Sloppy comparison array_search disabled --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.allow_broken_configuration=On --FILE-- diff --git a/src/tests/sloppy_comparison/sloppy_comparison_disable.phpt b/src/tests/sloppy_comparison/sloppy_comparison_disable.phpt index e42c919..cdcd9a8 100644 --- a/src/tests/sloppy_comparison/sloppy_comparison_disable.phpt +++ b/src/tests/sloppy_comparison/sloppy_comparison_disable.phpt @@ -2,6 +2,7 @@ Sloppy comparison --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.allow_broken_configuration=On --FILE-- diff --git a/src/tests/stream_wrapper/stream_wrapper.phpt b/src/tests/stream_wrapper/stream_wrapper.phpt index 3336ef6..5a1dab7 100644 --- a/src/tests/stream_wrapper/stream_wrapper.phpt +++ b/src/tests/stream_wrapper/stream_wrapper.phpt @@ -5,6 +5,7 @@ Stream wrapper if (!extension_loaded("snuffleupagus")) print "skip snuffleupagus extension missing"; if (!extension_loaded("openssl")) print "skip openssl extension missing"; ?> += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/config_stream_wrapper.ini --FILE-- diff --git a/src/tests/stream_wrapper/stream_wrapper_register.phpt b/src/tests/stream_wrapper/stream_wrapper_register.phpt index 39514e9..a3ffb2e 100644 --- a/src/tests/stream_wrapper/stream_wrapper_register.phpt +++ b/src/tests/stream_wrapper/stream_wrapper_register.phpt @@ -2,6 +2,7 @@ Stream wrapper --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/config_stream_wrapper_register.ini --FILE-- diff --git a/src/tests/stream_wrapper/stream_wrapper_without_openssl.phpt b/src/tests/stream_wrapper/stream_wrapper_without_openssl.phpt index 5a11c8f..73090ff 100644 --- a/src/tests/stream_wrapper/stream_wrapper_without_openssl.phpt +++ b/src/tests/stream_wrapper/stream_wrapper_without_openssl.phpt @@ -2,6 +2,7 @@ Stream wrapper, without a dependency on openssl --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/config_stream_wrapper.ini --FILE-- diff --git a/src/tests/strict_mode/strict_mode_enabled.phpt b/src/tests/strict_mode/strict_mode_enabled.phpt index c511f9a..a986987 100644 --- a/src/tests/strict_mode/strict_mode_enabled.phpt +++ b/src/tests/strict_mode/strict_mode_enabled.phpt @@ -11,7 +11,7 @@ sp.configuration_file={PWD}/config/config_strict_mode_enabled.ini ini_set('display_errors', 1); ?> --EXPECTF-- -Fatal error: Uncaught TypeError: ini_set() expects parameter 2 to be string, %s given in %s/tests/strict_mode/strict_mode_enabled.php:%d +Fatal error: Uncaught TypeError: ini_set()%s given in %s/tests/strict_mode/strict_mode_enabled.php:%d Stack trace: #0 %s/tests/strict_mode/strict_mode_enabled.php(2): ini_set('display_errors', 1) #1 {main} diff --git a/src/tests/unserialize/unserialize_wrong_call.phpt b/src/tests/unserialize/unserialize_wrong_call.phpt index 729d020..a6fe140 100644 --- a/src/tests/unserialize/unserialize_wrong_call.phpt +++ b/src/tests/unserialize/unserialize_wrong_call.phpt @@ -2,6 +2,7 @@ Unserialize ok, but called with the wrong numeber of aguments --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/config_serialize.ini --FILE-- diff --git a/src/tests/xxe/disable_xxe_dom.phpt b/src/tests/xxe/disable_xxe_dom.phpt index 58467f7..99ed572 100644 --- a/src/tests/xxe/disable_xxe_dom.phpt +++ b/src/tests/xxe/disable_xxe_dom.phpt @@ -1,7 +1,8 @@ --TEST-- -Disable XXE +Disable XXE, in php8 --SKIPIF-- + --INI-- sp.configuration_file={PWD}/config/disable_xxe.ini --EXTENSIONS-- @@ -41,29 +42,34 @@ $dom = new DOMDocument('1.0'); $dom->loadXML($xml, LIBXML_DTDATTR|LIBXML_DTDLOAD|LIBXML_NOENT); printf("without xxe: %s", $dom->getElementsByTagName('testing')->item(0)->nodeValue); +?> +--CLEAN-- + --EXPECTF-- -Warning: DOMDocument::loadXML(): I/O warning : failed to load external entity "file://%a/content.txt" in %a/disable_xxe_dom.php on line %d +Deprecated: Function libxml_disable_entity_loader() is deprecated in %s/tests/xxe/disable_xxe_dom.php on line %d -Warning: DOMDocument::loadXML(): Failure to process entity foo in Entity, line: %d in %a/disable_xxe_dom.php on line %d +Warning: DOMDocument::loadXML(): I/O warning : failed to load external entity "file://%s/tests/xxe/content.txt" in /var/www/html/snuffleupagus/src/tests/xxe/disable_xxe_dom.php on line %d -Warning: DOMDocument::loadXML(): Entity 'foo' not defined in Entity, line: %d in %a/disable_xxe_dom.php on line %d +Warning: DOMDocument::loadXML(): Failure to process entity foo in Entity, line: 6 in %s/tests/xxe/disable_xxe_dom.php on line %d -Notice: Trying to get property %a in %a/disable_xxe_dom.php on line %d +Warning: DOMDocument::loadXML(): Entity 'foo' not defined in Entity, line: 6 in %s/tests/xxe/disable_xxe_dom.php on line %d + +Warning: Attempt to read property "nodeValue" on null in %s/tests/xxe/disable_xxe_dom.php on line %d libxml_disable_entity to true: -Warning: DOMDocument::loadXML(): I/O warning : failed to load external entity "file://%a/content.txt" in %a/disable_xxe_dom.php on line %d +Deprecated: Function libxml_disable_entity_loader() is deprecated in %s/tests/xxe/disable_xxe_dom.php on line %d + +Warning: DOMDocument::loadXML(): I/O warning : failed to load external entity "file://%s/tests/xxe/content.txt" in /var/www/html/snuffleupagus/src/tests/xxe/disable_xxe_dom.php on line %d -Warning: DOMDocument::loadXML(): Failure to process entity foo in Entity, line: %d in %a/disable_xxe_dom.php on line %d +Warning: DOMDocument::loadXML(): Failure to process entity foo in Entity, line: 6 in %s/tests/xxe/disable_xxe_dom.php on line %d -Warning: DOMDocument::loadXML(): Entity 'foo' not defined in Entity, line: %d in %a/disable_xxe_dom.php on line %d +Warning: DOMDocument::loadXML(): Entity 'foo' not defined in Entity, line: 6 in %s/tests/xxe/disable_xxe_dom.php on line %d -Notice: Trying to get property %a in %a/disable_xxe_dom.php on line %d +Warning: Attempt to read property "nodeValue" on null in %s/tests/xxe/disable_xxe_dom.php on line %d libxml_disable_entity to false: -without xxe: foo ---CLEAN-- - + +Deprecated: Function libxml_disable_entity_loader() is deprecated in %s/tests/xxe/disable_xxe_dom.php on line %d diff --git a/src/tests/xxe/disable_xxe_dom_disabled.phpt b/src/tests/xxe/disable_xxe_dom_disabled.phpt index fe88d76..493f5a3 100644 --- a/src/tests/xxe/disable_xxe_dom_disabled.phpt +++ b/src/tests/xxe/disable_xxe_dom_disabled.phpt @@ -2,6 +2,7 @@ Disable XXE --SKIPIF-- += 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/disable_xxe_disable.ini --EXTENSIONS-- diff --git a/src/tests/xxe/disable_xxe_dom_disabled_php8.phpt b/src/tests/xxe/disable_xxe_dom_disabled_php8.phpt new file mode 100644 index 0000000..c0db7fc --- /dev/null +++ b/src/tests/xxe/disable_xxe_dom_disabled_php8.phpt @@ -0,0 +1,60 @@ +--TEST-- +Disable XXE in php8 +--SKIPIF-- + + +--INI-- +sp.configuration_file={PWD}/config/disable_xxe_disable.ini +--EXTENSIONS-- +dom +--FILE-- +WARNING, external entity loaded!'; +file_put_contents($dir . '/content.txt', $content); + +$xml = << + +]> +&foo; +EOD; + +file_put_contents($dir . '/content.xml', $xml); + +libxml_disable_entity_loader(true); +$dom = new DOMDocument('1.0'); +$dom->loadXML($xml, LIBXML_DTDATTR|LIBXML_DTDLOAD|LIBXML_NOENT); +printf("libxml_disable_entity to true: %s\n", $dom->getElementsByTagName('testing')->item(0)->nodeValue); + +libxml_disable_entity_loader(false); +$dom = new DOMDocument('1.0'); +$dom->loadXML($xml, LIBXML_DTDATTR|LIBXML_DTDLOAD|LIBXML_NOENT); +printf("libxml_disable_entity to false: %s\n", $dom->getElementsByTagName('testing')->item(0)->nodeValue); + +$xml = "foo"; +file_put_contents('content.xml', $xml); + +libxml_disable_entity_loader(false); +$dom = new DOMDocument('1.0'); +$dom->loadXML($xml, LIBXML_DTDATTR|LIBXML_DTDLOAD|LIBXML_NOENT); +printf("without xxe: %s", $dom->getElementsByTagName('testing')->item(0)->nodeValue); + +?> +--CLEAN-- + +--EXPECTF-- +Deprecated: Function libxml_disable_entity_loader() is deprecated in %s/tests/xxe/disable_xxe_dom_disabled.php on line %d +libxml_disable_entity to true: WARNING, external entity loaded! + +Deprecated: Function libxml_disable_entity_loader() is deprecated in %s/tests/xxe/disable_xxe_dom_disabled.php on line %d +libxml_disable_entity to false: WARNING, external entity loaded! + +Deprecated: Function libxml_disable_entity_loader() is deprecated in %s/tests/xxe/disable_xxe_dom_disabled.php on line %d + diff --git a/src/tests/xxe/disable_xxe_xml_parse.phpt b/src/tests/xxe/disable_xxe_xml_parse.phpt index b6dec2d..6b48bea 100644 --- a/src/tests/xxe/disable_xxe_xml_parse.phpt +++ b/src/tests/xxe/disable_xxe_xml_parse.phpt @@ -8,6 +8,7 @@ Disable XXE in xml_parse echo "skip because the `xml` extension isn't loaded"; } ?> += 80000) print "skip"; ?> --EXTENSIONS-- xml --INI-- diff --git a/src/tests/xxe/disable_xxe_xml_parse_php8.phpt b/src/tests/xxe/disable_xxe_xml_parse_php8.phpt new file mode 100644 index 0000000..4a8622a --- /dev/null +++ b/src/tests/xxe/disable_xxe_xml_parse_php8.phpt @@ -0,0 +1,106 @@ +--TEST-- +Disable XXE in xml_parse, in php8 +--SKIPIF-- + + +--EXTENSIONS-- +xml +--INI-- +sp.configuration_file={PWD}/config/disable_xxe.ini +--FILE-- + + +]> +&foo; +EOD; + +file_put_contents('content.xml', $xml); + +function create_parser() { + $parser = xml_parser_create(); + xml_set_element_handler( + $parser, + function($parser, $name, array $attributes) { + var_dump($name); + echo "\n"; + var_dump($attributes); + }, + function($parser, $name) { + var_dump($name); + } + ); + + xml_set_character_data_handler( + $parser, + function ($parser, $text){ + echo 'text' . $text; + } + ); + + return $parser; +} + +libxml_disable_entity_loader(true); +$parser = create_parser(); +$doc = xml_parse($parser, $xml, true); +xml_parser_free($parser); + +libxml_disable_entity_loader(false); +$parser = create_parser(); +$doc = xml_parse($parser, $xml, true); +xml_parser_free($parser); + +$xml = "foo"; +file_put_contents('content.xml', $xml); +$parser = create_parser(); +$doc = xml_parse($parser, $xml, true); +xml_parser_free($parser); + +--EXPECTF-- + Deprecated: Function libxml_disable_entity_loader() is deprecated in %s/tests/xxe/disable_xxe_xml_parse.php on line 41 +string(4) "TEST" + +array(0) { +} +string(7) "TESTING" + +array(0) { +} +string(7) "TESTING" +string(4) "TEST" + +Deprecated: Function libxml_disable_entity_loader() is deprecated in %s/tests/xxe/disable_xxe_xml_parse.php on line 46 +string(4) "TEST" + +array(0) { +} +string(7) "TESTING" + +array(0) { +} +string(7) "TESTING" +string(4) "TEST" +string(4) "TEST" + +array(0) { +} +string(7) "TESTING" + +array(0) { +} +textfoostring(7) "TESTING" + -- cgit v1.3 From 5923eb1c6b9bcf4a9ee7c4486e5901d2cfc42754 Mon Sep 17 00:00:00 2001 From: jvoisin Date: Mon, 28 Dec 2020 18:53:50 +0100 Subject: Enable 2 more tests --- src/tests/disable_function/disabled_functions_param.phpt | 1 - src/tests/disable_function/disabled_functions_param_pos2.phpt | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) (limited to 'src/tests/disable_function/disabled_functions_param_pos2.phpt') diff --git a/src/tests/disable_function/disabled_functions_param.phpt b/src/tests/disable_function/disabled_functions_param.phpt index f384401..0a9e8eb 100644 --- a/src/tests/disable_function/disabled_functions_param.phpt +++ b/src/tests/disable_function/disabled_functions_param.phpt @@ -2,7 +2,6 @@ Disable functions --SKIPIF-- -= 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/config_disabled_functions_param.ini --FILE-- diff --git a/src/tests/disable_function/disabled_functions_param_pos2.phpt b/src/tests/disable_function/disabled_functions_param_pos2.phpt index bfe71ee..06ab5aa 100644 --- a/src/tests/disable_function/disabled_functions_param_pos2.phpt +++ b/src/tests/disable_function/disabled_functions_param_pos2.phpt @@ -2,7 +2,6 @@ Disable functions - match on argument's position, not the first time --SKIPIF-- -= 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/disabled_functions_pos.ini --FILE-- @@ -11,4 +10,4 @@ strtoupper("od"); strtoupper("id"); ?> --EXPECTF-- -Fatal error: [snuffleupagus][0.0.0.0][disabled_function][drop] Aborted execution on call of the function 'strtoupper', because its argument 'str' content (id) matched the rule 'strlen array' in %a/disabled_functions_param_pos2.php on line 3 +Fatal error: [snuffleupagus][0.0.0.0][disabled_function][drop] Aborted execution on call of the function 'strtoupper', because its argument %s content (id) matched the rule 'strlen array' in %a/disabled_functions_param_pos2.php on line 3 -- cgit v1.3