]> granicus.if.org Git - php/commitdiff
Enable test on Windows
authorChristoph M. Becker <cmbecker69@gmx.de>
Thu, 7 May 2020 07:19:34 +0000 (09:19 +0200)
committerChristoph M. Becker <cmbecker69@gmx.de>
Thu, 7 May 2020 07:20:15 +0000 (09:20 +0200)
ext/shmop/tests/002.phpt

index c69c79391f368b90f46e5389ee23331e9ac684eb..e24f327ee7af3d03065b9c71e50b9b2be8e8ffae 100644 (file)
@@ -4,9 +4,6 @@ shmop extension error messages
 edgarsandi - <edgar.r.sandi@gmail.com>
 --SKIPIF--
 <?php
-       if( substr(PHP_OS, 0, 3) == "WIN") {
-               die('skip not for Windows');
-       }
        if (!extension_loaded("shmop")) {
                die("skip shmop() extension not available");
        }
@@ -55,7 +52,7 @@ bool(false)
 Warning: shmop_open(): Invalid access mode in %s on line %d
 bool(false)
 
-Warning: shmop_open(): Unable to attach or create shared memory segment 'Invalid argument' in %s on line %d
+Warning: shmop_open(): Unable to attach or create shared memory segment '%s' in %s on line %d
 bool(false)
 
 Warning: shmop_open(): Shared memory segment size must be greater than zero in %s on line %d