diff options
author | Antony Dovgal <tony2001@php.net> | 2006-12-19 14:16:08 +0000 |
---|---|---|
committer | Antony Dovgal <tony2001@php.net> | 2006-12-19 14:16:08 +0000 |
commit | 7a965d5b5fcb8de1b101bdae133122500a269c1f (patch) | |
tree | 453cc179c9761371fefba11c6558c8c2d81d608f | |
parent | 884fb55a297d1f5489f9f861f176fa439499891e (diff) | |
download | php-git-7a965d5b5fcb8de1b101bdae133122500a269c1f.tar.gz |
add missing SKIPIF sections
45 files changed, 92 insertions, 2 deletions
diff --git a/ext/filter/tests/004.phpt b/ext/filter/tests/004.phpt index aa767c93d4..b899124936 100644 --- a/ext/filter/tests/004.phpt +++ b/ext/filter/tests/004.phpt @@ -1,5 +1,7 @@ --TEST-- GET/POST/REQUEST Test with filtered data +--SKIPIF-- +<?php if (!extension_loaded("filter")) die("skip"); ?> --INI-- filter.default=special_chars --POST-- diff --git a/ext/filter/tests/006.phpt b/ext/filter/tests/006.phpt index aa612d73d3..9439e471c2 100644 --- a/ext/filter/tests/006.phpt +++ b/ext/filter/tests/006.phpt @@ -1,5 +1,7 @@ --TEST-- filter() test +--SKIPIF-- +<?php if (!extension_loaded("filter")) die("skip"); ?> --POST-- foo=<b>abc</b> --FILE-- diff --git a/ext/filter/tests/007.phpt b/ext/filter/tests/007.phpt index 8012bd36cf..1e2d16b45a 100644 --- a/ext/filter/tests/007.phpt +++ b/ext/filter/tests/007.phpt @@ -1,5 +1,7 @@ --TEST-- filter_has_var() +--SKIPIF-- +<?php if (!extension_loaded("filter")) die("skip"); ?> --GET-- a=qwe&abc=<a>href</a> --POST-- diff --git a/ext/filter/tests/008.phpt b/ext/filter/tests/008.phpt index 5f89910d79..e6c646d675 100644 --- a/ext/filter/tests/008.phpt +++ b/ext/filter/tests/008.phpt @@ -1,5 +1,7 @@ --TEST-- filter_list() +--SKIPIF-- +<?php if (!extension_loaded("filter")) die("skip"); ?> --FILE-- <?php diff --git a/ext/filter/tests/009.phpt b/ext/filter/tests/009.phpt index 764f855835..a071c7e8bc 100644 --- a/ext/filter/tests/009.phpt +++ b/ext/filter/tests/009.phpt @@ -1,5 +1,7 @@ --TEST-- filter_id() +--SKIPIF-- +<?php if (!extension_loaded("filter")) die("skip"); ?> --FILE-- <?php diff --git a/ext/filter/tests/010.phpt b/ext/filter/tests/010.phpt index ba6dea19ea..0ebf66f231 100644 --- a/ext/filter/tests/010.phpt +++ b/ext/filter/tests/010.phpt @@ -1,5 +1,7 @@ --TEST-- filter_var() +--SKIPIF-- +<?php if (!extension_loaded("filter")) die("skip"); ?> --FILE-- <?php diff --git a/ext/filter/tests/011.phpt b/ext/filter/tests/011.phpt index f0d4892ebc..bd8f1f17a4 100644 --- a/ext/filter/tests/011.phpt +++ b/ext/filter/tests/011.phpt @@ -1,5 +1,7 @@ --TEST-- input_get() +--SKIPIF-- +<?php if (!extension_loaded("filter")) die("skip"); ?> --GET-- a=<b>test</b>&b=http://example.com --POST-- diff --git a/ext/filter/tests/012.phpt b/ext/filter/tests/012.phpt index ef0525489f..9a8ead944d 100644 --- a/ext/filter/tests/012.phpt +++ b/ext/filter/tests/012.phpt @@ -1,5 +1,7 @@ --TEST-- filter_input() +--SKIPIF-- +<?php if (!extension_loaded("filter")) die("skip"); ?> --FILE-- <?php diff --git a/ext/filter/tests/013.phpt b/ext/filter/tests/013.phpt index 55c71e3535..421c5d55bf 100644 --- a/ext/filter/tests/013.phpt +++ b/ext/filter/tests/013.phpt @@ -1,5 +1,7 @@ --TEST-- filter_var() and flags +--SKIPIF-- +<?php if (!extension_loaded("filter")) die("skip"); ?> --FILE-- <?php var_dump(filter_var(" 234", FILTER_VALIDATE_INT)); diff --git a/ext/filter/tests/014.phpt b/ext/filter/tests/014.phpt index 77e4d25575..8837457147 100644 --- a/ext/filter/tests/014.phpt +++ b/ext/filter/tests/014.phpt @@ -1,5 +1,7 @@ --TEST-- filter_var() and FILTER_VALIDATE_BOOLEAN +--SKIPIF-- +<?php if (!extension_loaded("filter")) die("skip"); ?> --FILE-- <?php diff --git a/ext/filter/tests/015.phpt b/ext/filter/tests/015.phpt index edde095e75..7024df4e24 100644 --- a/ext/filter/tests/015.phpt +++ b/ext/filter/tests/015.phpt @@ -1,5 +1,7 @@ --TEST-- filter_var() and FILTER_VALIDATE_URL +--SKIPIF-- +<?php if (!extension_loaded("filter")) die("skip"); ?> --FILE-- <?php diff --git a/ext/filter/tests/016.phpt b/ext/filter/tests/016.phpt index 67921f0188..e013c550a6 100644 --- a/ext/filter/tests/016.phpt +++ b/ext/filter/tests/016.phpt @@ -1,5 +1,7 @@ --TEST-- filter_var() and FILTER_VALIDATE_EMAIL +--SKIPIF-- +<?php if (!extension_loaded("filter")) die("skip"); ?> --FILE-- <?php $values = Array( diff --git a/ext/filter/tests/017.phpt b/ext/filter/tests/017.phpt index 661dfe40ff..518ee79256 100644 --- a/ext/filter/tests/017.phpt +++ b/ext/filter/tests/017.phpt @@ -1,5 +1,7 @@ --TEST-- filter_var() and FILTER_VALIDATE_REGEXP +--SKIPIF-- +<?php if (!extension_loaded("filter")) die("skip"); ?> --FILE-- <?php diff --git a/ext/filter/tests/018.phpt b/ext/filter/tests/018.phpt index 7ea17b329c..10840aae74 100644 --- a/ext/filter/tests/018.phpt +++ b/ext/filter/tests/018.phpt @@ -1,5 +1,7 @@ --TEST-- filter_var() and FILTER_VALIDATE_IP +--SKIPIF-- +<?php if (!extension_loaded("filter")) die("skip"); ?> --FILE-- <?php var_dump(filter_var("192.168.0.1", FILTER_VALIDATE_IP)); diff --git a/ext/filter/tests/019.phpt b/ext/filter/tests/019.phpt index 5a20ff8211..1665181cd2 100644 --- a/ext/filter/tests/019.phpt +++ b/ext/filter/tests/019.phpt @@ -1,5 +1,7 @@ --TEST-- filter_var() & FILTER_VALIDATE_IP and weird data +--SKIPIF-- +<?php if (!extension_loaded("filter")) die("skip"); ?> --FILE-- <?php diff --git a/ext/filter/tests/020.phpt b/ext/filter/tests/020.phpt index d39ee55e9d..c2ab6096d5 100644 --- a/ext/filter/tests/020.phpt +++ b/ext/filter/tests/020.phpt @@ -1,5 +1,7 @@ --TEST-- filter_var() and FILTER_SANITIZE_MAGIC_QUOTES +--SKIPIF-- +<?php if (!extension_loaded("filter")) die("skip"); ?> --FILE-- <?php diff --git a/ext/filter/tests/021.phpt b/ext/filter/tests/021.phpt index 1dffc9f7a5..994dac282b 100644 --- a/ext/filter/tests/021.phpt +++ b/ext/filter/tests/021.phpt @@ -1,5 +1,7 @@ --TEST-- filter_var() and FILTER_SANITIZE_NUMBER_* +--SKIPIF-- +<?php if (!extension_loaded("filter")) die("skip"); ?> --FILE-- <?php diff --git a/ext/filter/tests/022.phpt b/ext/filter/tests/022.phpt index a2ad5a4c3f..649c6e409d 100644 --- a/ext/filter/tests/022.phpt +++ b/ext/filter/tests/022.phpt @@ -1,5 +1,7 @@ --TEST-- filter_var() and FILTER_SANITIZE_EMAIL +--SKIPIF-- +<?php if (!extension_loaded("filter")) die("skip"); ?> --FILE-- <?php diff --git a/ext/filter/tests/023.phpt b/ext/filter/tests/023.phpt index b9761a5b77..f8d4137bf0 100644 --- a/ext/filter/tests/023.phpt +++ b/ext/filter/tests/023.phpt @@ -1,5 +1,7 @@ --TEST-- filter_var() and FILTER_UNSAFE_RAW +--SKIPIF-- +<?php if (!extension_loaded("filter")) die("skip"); ?> --FILE-- <?php diff --git a/ext/filter/tests/024.phpt b/ext/filter/tests/024.phpt index bc2cdb400c..7d7349fcd4 100644 --- a/ext/filter/tests/024.phpt +++ b/ext/filter/tests/024.phpt @@ -1,5 +1,7 @@ --TEST-- filter_var() and FILTER_SANITIZE_ENCODED +--SKIPIF-- +<?php if (!extension_loaded("filter")) die("skip"); ?> --FILE-- <?php diff --git a/ext/filter/tests/025.phpt b/ext/filter/tests/025.phpt index bf85e36071..df8c3737bf 100644 --- a/ext/filter/tests/025.phpt +++ b/ext/filter/tests/025.phpt @@ -1,5 +1,7 @@ --TEST-- filter_var() and FILTER_SANITIZE_STRING +--SKIPIF-- +<?php if (!extension_loaded("filter")) die("skip"); ?> --FILE-- <?php diff --git a/ext/filter/tests/026.phpt b/ext/filter/tests/026.phpt index 9d66f11447..38d15e7d0a 100644 --- a/ext/filter/tests/026.phpt +++ b/ext/filter/tests/026.phpt @@ -1,5 +1,7 @@ --TEST-- filter_var() and FILTER_SANITIZE_STRIPPED +--SKIPIF-- +<?php if (!extension_loaded("filter")) die("skip"); ?> --FILE-- <?php diff --git a/ext/filter/tests/027.phpt b/ext/filter/tests/027.phpt index c187960a06..759030a643 100644 --- a/ext/filter/tests/027.phpt +++ b/ext/filter/tests/027.phpt @@ -1,5 +1,7 @@ --TEST-- filter_var() and FILTER_SANITIZE_ENCODED +--SKIPIF-- +<?php if (!extension_loaded("filter")) die("skip"); ?> --FILE-- <?php diff --git a/ext/filter/tests/028.phpt b/ext/filter/tests/028.phpt index 4ffb0fd1fa..c0ab16fe83 100644 --- a/ext/filter/tests/028.phpt +++ b/ext/filter/tests/028.phpt @@ -1,5 +1,7 @@ --TEST-- filter_var() and FILTER_SANITIZE_SPECIAL_CHARS +--SKIPIF-- +<?php if (!extension_loaded("filter")) die("skip"); ?> --FILE-- <?php diff --git a/ext/filter/tests/029.phpt b/ext/filter/tests/029.phpt index d0979f1e3e..c1ede74ab0 100644 --- a/ext/filter/tests/029.phpt +++ b/ext/filter/tests/029.phpt @@ -1,5 +1,7 @@ --TEST-- filter_var() and FILTER_CALLBACK +--SKIPIF-- +<?php if (!extension_loaded("filter")) die("skip"); ?> --FILE-- <?php diff --git a/ext/filter/tests/030.phpt b/ext/filter/tests/030.phpt index 97b62b9e26..3163bb34c0 100644 --- a/ext/filter/tests/030.phpt +++ b/ext/filter/tests/030.phpt @@ -1,5 +1,7 @@ --TEST-- filter_var() and IPv6 +--SKIPIF-- +<?php if (!extension_loaded("filter")) die("skip"); ?> --FILE-- <?php $ipv6_test = array( diff --git a/ext/filter/tests/031.phpt b/ext/filter/tests/031.phpt index 74883b8b26..02ef90a34e 100644 --- a/ext/filter/tests/031.phpt +++ b/ext/filter/tests/031.phpt @@ -1,5 +1,7 @@ --TEST-- filter_var() and FLOAT +--SKIPIF-- +<?php if (!extension_loaded("filter")) die("skip"); ?> --FILE-- <?php diff --git a/ext/filter/tests/032.phpt b/ext/filter/tests/032.phpt index cc6abd4f0e..d88d502792 100644 --- a/ext/filter/tests/032.phpt +++ b/ext/filter/tests/032.phpt @@ -1,5 +1,7 @@ --TEST-- input_get_args() +--SKIPIF-- +<?php if (!extension_loaded("filter")) die("skip"); ?> --FILE-- <?php $data = array( diff --git a/ext/filter/tests/033.phpt b/ext/filter/tests/033.phpt index 2a679d50c1..fc0bd2687d 100644 --- a/ext/filter/tests/033.phpt +++ b/ext/filter/tests/033.phpt @@ -1,5 +1,7 @@ --TEST-- Test all filters returned by filter_list() +--SKIPIF-- +<?php if (!extension_loaded("filter")) die("skip"); ?> --FILE-- <?php include dirname(__FILE__) . '/033_run.inc'; diff --git a/ext/filter/tests/034.phpt b/ext/filter/tests/034.phpt index f96596d7c3..364f9024f1 100644 --- a/ext/filter/tests/034.phpt +++ b/ext/filter/tests/034.phpt @@ -1,5 +1,7 @@ --TEST-- Logical filter: boolean +--SKIPIF-- +<?php if (!extension_loaded("filter")) die("skip"); ?> --FILE-- <?php $booleans = array( diff --git a/ext/filter/tests/035.phpt b/ext/filter/tests/035.phpt index e85444322d..e2d3325270 100644 --- a/ext/filter/tests/035.phpt +++ b/ext/filter/tests/035.phpt @@ -1,5 +1,7 @@ --TEST-- GET/POST/REQUEST Test with input_filter +--SKIPIF-- +<?php if (!extension_loaded("filter")) die("skip"); ?> --POST-- d=379 --GET-- diff --git a/ext/filter/tests/037.phpt b/ext/filter/tests/037.phpt index 9e91288cb8..f8497c63b0 100644 --- a/ext/filter/tests/037.phpt +++ b/ext/filter/tests/037.phpt @@ -1,5 +1,7 @@ --TEST-- GET and data callback tests +--SKIPIF-- +<?php if (!extension_loaded("filter")) die("skip"); ?> --GET-- a=1&b=2 --FILE-- diff --git a/ext/filter/tests/038.phpt b/ext/filter/tests/038.phpt index d74e5f27ec..998c80fe8b 100644 --- a/ext/filter/tests/038.phpt +++ b/ext/filter/tests/038.phpt @@ -1,5 +1,7 @@ --TEST-- Test scalar, array +--SKIPIF-- +<?php if (!extension_loaded("filter")) die("skip"); ?> --FILE-- <?php diff --git a/ext/filter/tests/040.phpt b/ext/filter/tests/040.phpt index 7ebb12e996..fd39b369d6 100644 --- a/ext/filter/tests/040.phpt +++ b/ext/filter/tests/040.phpt @@ -1,5 +1,7 @@ --TEST-- filter_has_var() tests +--SKIPIF-- +<?php if (!extension_loaded("filter")) die("skip"); ?> --GET-- a=1&b=2&c=0 --POST-- diff --git a/ext/filter/tests/041.phpt b/ext/filter/tests/041.phpt index e313cb30df..0a2e3f0a11 100644 --- a/ext/filter/tests/041.phpt +++ b/ext/filter/tests/041.phpt @@ -1,5 +1,7 @@ --TEST-- COOKIE multiple cookie test +--SKIPIF-- +<?php if (!extension_loaded("filter")) die("skip"); ?> --INI-- filter.default=stripped filter.default_flags=0 diff --git a/ext/filter/tests/042.phpt b/ext/filter/tests/042.phpt index 62d0d81887..08f4dd633a 100644 --- a/ext/filter/tests/042.phpt +++ b/ext/filter/tests/042.phpt @@ -1,5 +1,7 @@ --TEST-- Combination of strip & sanitize filters +--SKIPIF-- +<?php if (!extension_loaded("filter")) die("skip"); ?> --FILE-- <?php $var = 'XYZ< script>alert(/ext/filter+bypass/);< /script>ABC'; diff --git a/ext/filter/tests/043.phpt b/ext/filter/tests/043.phpt index b8d0eec7be..92ac0517d1 100644 --- a/ext/filter/tests/043.phpt +++ b/ext/filter/tests/043.phpt @@ -1,5 +1,7 @@ --TEST-- Character encoding test +--SKIPIF-- +<?php if (!extension_loaded("filter")) die("skip"); ?> --FILE-- <?php $flags = FILTER_FLAG_ENCODE_AMP|FILTER_FLAG_ENCODE_LOW|FILTER_FLAG_ENCODE_HIGH; @@ -264,4 +266,4 @@ string(6) "û" string(6) "ü" string(6) "ý" string(6) "þ" -string(6) "ÿ"
\ No newline at end of file +string(6) "ÿ" diff --git a/ext/filter/tests/044.phpt b/ext/filter/tests/044.phpt index 6aa1114d34..6fa6c2e304 100644 --- a/ext/filter/tests/044.phpt +++ b/ext/filter/tests/044.phpt @@ -1,5 +1,7 @@ --TEST-- Integer validation with spaces +--SKIPIF-- +<?php if (!extension_loaded("filter")) die("skip"); ?> --FILE-- <?php $vals = array( @@ -18,4 +20,4 @@ foreach ($vals as $var) { bool(false) bool(false) float(123) -float(123.01)
\ No newline at end of file +float(123.01) diff --git a/ext/filter/tests/bug39846.phpt b/ext/filter/tests/bug39846.phpt index 685b93a280..99b68e8b03 100644 --- a/ext/filter/tests/bug39846.phpt +++ b/ext/filter/tests/bug39846.phpt @@ -1,5 +1,7 @@ --TEST-- Bug #39846 ipv4 trailing data validation +--SKIPIF-- +<?php if (!extension_loaded("filter")) die("skip"); ?> --FILE-- <?php var_dump(filter_var('192.168.1.100random-text-here', FILTER_VALIDATE_IP)); diff --git a/ext/filter/tests/bug7586.phpt b/ext/filter/tests/bug7586.phpt index d9ea723f4c..74e55ff71b 100644 --- a/ext/filter/tests/bug7586.phpt +++ b/ext/filter/tests/bug7586.phpt @@ -1,5 +1,7 @@ --TEST-- input_get_args() filter not reseted between elements +--SKIPIF-- +<?php if (!extension_loaded("filter")) die("skip"); ?> --FILE-- <?php $data = array( diff --git a/ext/filter/tests/bug7715.phpt b/ext/filter/tests/bug7715.phpt index 3372f756d6..6a39d1f749 100644 --- a/ext/filter/tests/bug7715.phpt +++ b/ext/filter/tests/bug7715.phpt @@ -1,5 +1,7 @@ --TEST-- bug 7715, floats value with integer or incomplete input +--SKIPIF-- +<?php if (!extension_loaded("filter")) die("skip"); ?> --FILE-- <?php $data = array( diff --git a/ext/filter/tests/bug7733.phpt b/ext/filter/tests/bug7733.phpt index 07b4b0c722..4fe82cc918 100644 --- a/ext/filter/tests/bug7733.phpt +++ b/ext/filter/tests/bug7733.phpt @@ -1,5 +1,7 @@ --TEST-- filter_data() Float exponential weird result +--SKIPIF-- +<?php if (!extension_loaded("filter")) die("skip"); ?> --FILE-- <?php $data = array( diff --git a/ext/filter/tests/bug8315.phpt b/ext/filter/tests/bug8315.phpt index ab1a0937ed..094d82f210 100644 --- a/ext/filter/tests/bug8315.phpt +++ b/ext/filter/tests/bug8315.phpt @@ -1,5 +1,7 @@ --TEST-- bug 8315, NULL values halt the validation +--SKIPIF-- +<?php if (!extension_loaded("filter")) die("skip"); ?> --FILE-- <?php diff --git a/ext/filter/tests/callback_non_modified_var.phpt b/ext/filter/tests/callback_non_modified_var.phpt index 6f1f8bf3d5..f0d557577b 100644 --- a/ext/filter/tests/callback_non_modified_var.phpt +++ b/ext/filter/tests/callback_non_modified_var.phpt @@ -1,5 +1,7 @@ --TEST-- callback function returns non modified value +--SKIPIF-- +<?php if (!extension_loaded("filter")) die("skip"); ?> --FILE-- <?php function callback($var) { diff --git a/ext/filter/tests/filter_data.phpt b/ext/filter/tests/filter_data.phpt index 14e8545c9b..6926a88512 100644 --- a/ext/filter/tests/filter_data.phpt +++ b/ext/filter/tests/filter_data.phpt @@ -1,5 +1,7 @@ --TEST-- Simple filter_var() tests +--SKIPIF-- +<?php if (!extension_loaded("filter")) die("skip"); ?> --FILE-- <?php |