From ff76d6848358fd991ed0ebfcb82fdbc7724e6b1a Mon Sep 17 00:00:00 2001 From: Ilya Sabelnikov Date: Tue, 23 Apr 2013 18:27:09 +0300 Subject: [PATCH] Fixes all tests to pass on most machines Everyone who runs the "make test" may have different default Yaf`s INI settings. * in case the yaf.use_namespace=1 almost all tests fails * in case the yaf.environ=dev around 5 tests fails * in case the yaf.use_spl_autoload=1 one test fails This fix specifies necessary INI values to pass all the tests. --- tests/002.phpt | 2 ++ tests/003.phpt | 1 + tests/004.phpt | 2 ++ tests/005.phpt | 2 ++ tests/006.phpt | 2 ++ tests/007.phpt | 2 ++ tests/008.phpt | 2 ++ tests/009.phpt | 2 ++ tests/010.phpt | 2 ++ tests/011.phpt | 2 ++ tests/012.phpt | 2 ++ tests/013.phpt | 2 ++ tests/014.phpt | 3 ++- tests/015.phpt | 2 ++ tests/016.phpt | 2 ++ tests/017.phpt | 2 ++ tests/018.phpt | 2 ++ tests/019.phpt | 2 ++ tests/020.phpt | 1 + tests/021.phpt | 1 + tests/022.phpt | 1 + tests/023.phpt | 1 + tests/024.phpt | 1 + tests/025.phpt | 1 + tests/026.phpt | 1 + tests/027.phpt | 3 ++- tests/028.phpt | 1 + tests/029.phpt | 1 + tests/030.phpt | 1 + tests/031.phpt | 1 + tests/032.phpt | 1 + tests/033.phpt | 2 ++ tests/034.phpt | 2 ++ tests/035.phpt | 1 + tests/036.phpt | 1 + tests/037.phpt | 2 ++ tests/038.phpt | 1 + tests/039.phpt | 1 + tests/040.phpt | 1 + tests/041.phpt | 2 ++ tests/042.phpt | 2 ++ tests/043.phpt | 2 ++ tests/044.phpt | 2 ++ tests/045.phpt | 2 ++ tests/046.phpt | 1 + tests/047.phpt | 1 + tests/048.phpt | 1 + tests/049.phpt | 1 + tests/050.phpt | 1 + tests/051.phpt | 1 + tests/052.phpt | 1 + tests/053.phpt | 1 + tests/054.phpt | 1 + tests/055.phpt | 2 ++ tests/056.phpt | 2 ++ tests/057.phpt | 2 ++ tests/058.phpt | 2 ++ tests/059.phpt | 1 + tests/060.phpt | 1 + tests/061.phpt | 1 + tests/062.phpt | 1 + tests/063.phpt | 2 ++ tests/064.phpt | 2 ++ tests/065.phpt | 2 ++ tests/066.phpt | 2 ++ tests/067.phpt | 1 + tests/bug61493.phpt | 2 ++ tests/bug62702.phpt | 2 ++ tests/bug63381.phpt | 1 + tests/bug63438.phpt | 1 + tests/bug63900.phpt | 1 + 71 files changed, 107 insertions(+), 2 deletions(-) diff --git a/tests/002.phpt b/tests/002.phpt index 837ba814..9c9d4a04 100644 --- a/tests/002.phpt +++ b/tests/002.phpt @@ -2,6 +2,8 @@ Check for Yaf_Request_Simple --SKIPIF-- +--INI-- +yaf.use_namespace=0 --FILE-- +--INI-- +yaf.use_namespace=0 --FILE-- +--INI-- +yaf.use_namespace=0 --FILE-- +--INI-- +yaf.use_namespace=0 --FILE-- +--INI-- +yaf.use_namespace=0 --FILE-- +--INI-- +yaf.use_namespace=0 --FILE-- +--INI-- +yaf.use_namespace=0 --FILE-- +--INI-- +yaf.use_namespace=0 --FILE-- +--INI-- +yaf.use_namespace=0 --FILE-- +--INI-- +yaf.use_namespace=0 --FILE-- +--INI-- +yaf.use_namespace=0 --FILE-- --INI-- -yaf.environ=product +yaf.environ="product" +yaf.use_namespace=0 --FILE-- +--INI-- +yaf.use_namespace=0 --FILE-- +--INI-- +yaf.use_namespace=0 --FILE-- +--INI-- +yaf.use_namespace=0 --FILE-- +--INI-- +yaf.use_namespace=0 --FILE-- +--INI-- +yaf.use_namespace=0 --FILE-- --INI-- +yaf.use_namespace=0 --FILE-- --INI-- +yaf.use_namespace=0 --FILE-- --INI-- +yaf.use_namespace=0 --FILE-- --INI-- yaf.library="/php/global/dir" +yaf.use_namespace=0 --FILE-- --INI-- yaf.library="/php/global/dir" +yaf.use_namespace=0 --FILE-- --INI-- yaf.library="/php/global/dir" +yaf.use_namespace=0 --FILE-- --INI-- yaf.library="/php/global/dir" +yaf.use_namespace=0 --FILE-- --INI-- yaf.library="/php/global/dir" +yaf.use_namespace=0 --FILE-- --INI-- yaf.library="/php/global/dir" +yaf.use_namespace=0 --FILE-- --INI-- yaf.library="/php/global/dir" +yaf.use_namespace=0 --FILE-- --INI-- yaf.directory=/foo/bar +yaf.use_namespace=0 --FILE-- +--INI-- +yaf.use_namespace=0 --FILE-- +--INI-- +yaf.use_namespace=0 --FILE-- = 0) { ?> --INI-- short_open_tag = 0 +yaf.use_namespace=0 --FILE-- --INI-- +yaf.use_namespace=0 --FILE-- --INI-- yaf.lowcase_path=0 +yaf.use_spl_autoload=0 +yaf.use_namespace=0 --FILE-- --INI-- yaf.library="/php/global/dir" +yaf.use_namespace=0 --FILE-- +--INI-- +yaf.use_namespace=0 --FILE-- +--INI-- +yaf.use_namespace=0 --FILE-- --INI-- yaf.use_namespace=0 +yaf.environ="product" +yaf.use_namespace=0 --FILE-- +--INI-- +yaf.use_namespace=0 --FILE-- --INI-- yaf.use_spl_autoload=0 +yaf.use_namespace=0 --FILE-- --INI-- yaf.library="/php/global/dir" +yaf.use_namespace=0 --FILE-- +--INI-- +yaf.use_namespace=0 --FILE-- +--INI-- +yaf.use_namespace=0 --FILE-- +--INI-- +yaf.use_namespace=0 --FILE-- +--INI-- +yaf.use_namespace=0 --FILE-- +--INI-- +yaf.use_namespace=0 --FILE-- +--INI-- +yaf.use_namespace=0 --FILE--