com php-src: fixed tests: ext/standard/tests/array/array_fill _variation1.phpt ext/standard/tests/file/touch_variat ion3-win32.phpt
ext/standard/tests/file/touch_varia tion4-win32.phpt
| From: | Anatol Belski | Date: | Fri, 19 Dec 2014 09:24:57 +0000 |
| Subject: | com php-src: fixed tests: ext/standard/tests/array/array_fill _variation1.phpt ext/standard/tests/file/touch_variat ion3-win32.phpt ext/standard/tests/file/touch_varia tion4-win32.phpt |
||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-83800@lists.php.net to get a copy of this message | ||
Commit: 373a7a4a753a9db07559b8f3ca8318b36cbb4edc
Author: Anatol Belski <ab@php.net> Fri, 19 Dec 2014 10:24:57 +0100
Parents: 6b59b276fd066e1bef5d2217c8004549895bfa6a
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=373a7a4a753a9db07559b8f3ca8318b36cbb4edc
Log:
fixed tests
Changed paths:
M ext/standard/tests/array/array_fill_variation1.phpt
M ext/standard/tests/file/touch_variation3-win32.phpt
M ext/standard/tests/file/touch_variation4-win32.phpt
Diff:
diff --git a/ext/standard/tests/array/array_fill_variation1.phpt
b/ext/standard/tests/array/array_fill_variation1.phpt
index 0bedf4a..03972c3 100644
--- a/ext/standard/tests/array/array_fill_variation1.phpt
+++ b/ext/standard/tests/array/array_fill_variation1.phpt
@@ -125,7 +125,7 @@ array(2) {
}
-- Iteration 3 --
-Warning: array_fill() expects parameter 1 to be long, double given in
%s/ext/standard/tests/array/array_fill_variation1.php on line 92
+Warning: array_fill() expects parameter 1 to be long, double given in
%s%eext%estandard%etests%earray%earray_fill_variation1.php on line 92
NULL
-- Iteration 4 --
array(2) {
diff --git a/ext/standard/tests/file/touch_variation3-win32.phpt
b/ext/standard/tests/file/touch_variation3-win32.phpt
index 43556b8..0aa4a3a 100644
--- a/ext/standard/tests/file/touch_variation3-win32.phpt
+++ b/ext/standard/tests/file/touch_variation3-win32.phpt
@@ -4,6 +4,7 @@ Test touch() function : usage variation - different types for time
Dave Kelsey <d_kelsey@uk.ibm.com>
--SKIPIF--
<?php
+if (PHP_INT_SIZE != 8) die("skip this test is for 64-bit only");
if (substr(PHP_OS, 0, 3) != 'WIN') {
die('skip.. only for Windows');
}
diff --git a/ext/standard/tests/file/touch_variation4-win32.phpt
b/ext/standard/tests/file/touch_variation4-win32.phpt
index ee2639a..77a8918 100644
--- a/ext/standard/tests/file/touch_variation4-win32.phpt
+++ b/ext/standard/tests/file/touch_variation4-win32.phpt
@@ -4,6 +4,7 @@ Test touch() function : usage variation - different types for atime
Dave Kelsey <d_kelsey@uk..ibm.com>
--SKIPIF--
<?php
+if (PHP_INT_SIZE != 8) die("skip this test is for 64-bit only");
if (substr(PHP_OS, 0, 3) != 'WIN') {
die('skip.. only for Windows');
}