Группа :: Разработка/Прочее
Пакет: php8.1
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: php8-8.0-alt-tests-fix.patch
Скачать
Скачать
diff --git a/ext/filter/tests/bug71063.phpt b/ext/filter/tests/bug71063.phpt
index 60c6a67cb9..8e512eaaf0 100644
--- a/ext/filter/tests/bug71063.phpt
+++ b/ext/filter/tests/bug71063.phpt
@@ -3,7 +3,7 @@ Bug #71063 (filter_input(INPUT_ENV, ..) does not work)
--SKIPIF--
<?php if (!extension_loaded("filter")) die("skip"); ?>
--ENV--
-PATH=/
+PATH=/usr/bin:/bin
--INI--
variables_order=E
--FILE--
@@ -12,5 +12,5 @@ var_dump($_ENV['PATH']);
var_dump(filter_input(INPUT_ENV, 'PATH'));
?>
--EXPECT--
-string(1) "/"
-string(1) "/"
+string(13) "/usr/bin:/bin"
+string(13) "/usr/bin:/bin"
diff --git a/ext/session/tests/bug74514.phpt b/ext/session/tests/bug74514.phpt
index f7c8d46998..38fb1dc276 100644
--- a/ext/session/tests/bug74514.phpt
+++ b/ext/session/tests/bug74514.phpt
@@ -28,7 +28,7 @@ var_dump(session_cache_expire());
string(9) "PHPSESSID"
string(3) "foo"
string(5) "files"
-string(0) ""
+string(4) "/tmp"
string(7) "nocache"
int(180)
===DONE===
diff --git a/ext/session/tests/bug74936.phpt b/ext/session/tests/bug74936.phpt
index aee7493c6c..b1f8cb4a8b 100644
--- a/ext/session/tests/bug74936.phpt
+++ b/ext/session/tests/bug74936.phpt
@@ -15,4 +15,4 @@
--EXPECT--
int(180)
string(7) "nocache"
-string(0) ""
+string(4) "/tmp"
diff --git a/ext/standard/tests/general_functions/proc_nice_basic.phpt b/ext/standard/tests/general_functions/proc_nice_basic.phpt
index d14a5f62a9..38fcc0ad69 100644