diff options
author | Pierre Joye <pajoye@php.net> | 2011-12-12 14:03:24 +0000 |
---|---|---|
committer | Pierre Joye <pajoye@php.net> | 2011-12-12 14:03:24 +0000 |
commit | 52e77c9bc8aabb2cfff82e71e1f870c36c51356f (patch) | |
tree | da0a22cd98b09cd16d83324aa1c4ee6c28ae74e8 /ext/standard | |
parent | 7eee6fa759bb42d38a7262c59a828f98af41e7e7 (diff) | |
download | php-git-52e77c9bc8aabb2cfff82e71e1f870c36c51356f.tar.gz |
- skip on win
Diffstat (limited to 'ext/standard')
-rw-r--r-- | ext/standard/tests/array/sort_variation5.phpt | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/ext/standard/tests/array/sort_variation5.phpt b/ext/standard/tests/array/sort_variation5.phpt index 061a1cbac3..7384c74026 100644 --- a/ext/standard/tests/array/sort_variation5.phpt +++ b/ext/standard/tests/array/sort_variation5.phpt @@ -1,5 +1,10 @@ --TEST-- -Test sort() function : usage variations - sort strings +Test sort() function : usage variations - sort strings +--SKIPIF-- +<?php +if (substr(PHP_OS, 0, 3) == 'WIN') { + die("skip Output tested contains chars that are not shown the same on windows concole (ESC and co)"); +} --FILE-- <?php /* Prototype : bool sort ( array &$array [, int $sort_flags] ) @@ -74,7 +79,8 @@ array(12) { [5]=> string(1) "" [6]=> - string(1) "
" + string(1) " +" [7]=> string(2) "\a" [8]=> @@ -103,7 +109,8 @@ array(12) { [5]=> string(1) "" [6]=> - string(1) "
" + string(1) " +" [7]=> string(2) "\a" [8]=> @@ -132,7 +139,8 @@ array(12) { [5]=> string(1) "" [6]=> - string(1) "
" + string(1) " +" [7]=> string(2) "\a" [8]=> |