]> granicus.if.org Git - php/commitdiff
ok, let's make this test to work on all systems
authorAntony Dovgal <tony2001@php.net>
Fri, 14 Apr 2006 20:30:11 +0000 (20:30 +0000)
committerAntony Dovgal <tony2001@php.net>
Fri, 14 Apr 2006 20:30:11 +0000 (20:30 +0000)
currently it fails at least on Linux PPC and Solaris, probably because of different strncmp/strncasecmp implementations.

ext/standard/tests/strings/bug36944.phpt

index efe419a6a35e943ec7a92240b79388dddf199ac2..2a43d060e2f40b385b1eef135d6eefe0da4177e3 100644 (file)
@@ -16,11 +16,11 @@ echo "Done\n";
 --EXPECTF--    
 Warning: Length must be greater than or equal to 0 in %s on line %d
 bool(false)
-int(1)
+int(%d)
 int(0)
 
 Warning: Length must be greater than or equal to 0 in %s on line %d
 bool(false)
-int(15)
+int(%d)
 int(0)
 Done