summaryrefslogtreecommitdiff
path: root/ext/standard/tests/file/touch.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard/tests/file/touch.phpt')
-rw-r--r--ext/standard/tests/file/touch.phpt11
1 files changed, 1 insertions, 10 deletions
diff --git a/ext/standard/tests/file/touch.phpt b/ext/standard/tests/file/touch.phpt
index c6c270d065..aea68b0d44 100644
--- a/ext/standard/tests/file/touch.phpt
+++ b/ext/standard/tests/file/touch.phpt
@@ -1,16 +1,8 @@
--TEST--
touch() tests
---SKIPIF--
-<?php
-if (substr(PHP_OS, 0, 3) == 'WIN') {
- die('skip.. only for Non Windows.');
-}
-?>
--FILE--
<?php
-// This doesn't work for windows, time, atime usage results in very different
-// output to linux. This could be a php.net bug on windows or a windows querk.
$filename = dirname(__FILE__)."/touch.dat";
var_dump(touch());
@@ -52,7 +44,6 @@ int(100)
bool(true)
int(100)
-Warning: touch(): Unable to create file /no/such/file/or/directory because %s in %s on line %d
+Warning: touch(): Unable to create file /no/such/file/or/directory because No such file or directory in %s on line %d
bool(false)
Done
-