com php-src: Fixed bug #61637 ext\sockets\tests\socket_ sentto_recvfrom_unix.phpt: ext/sockets/tests/socket _sentto_recvfrom_unix.phpt
| From: | Anatoliy Belsky | Date: | Tue, 10 Apr 2012 11:54:22 +0000 |
| Subject: | com php-src: Fixed bug #61637 ext\sockets\tests\socket_ sentto_recvfrom_unix.phpt: ext/sockets/tests/socket _sentto_recvfrom_unix.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-68731@lists.php.net to get a copy of this message | ||
Commit: e9e468914523f46d8453078b116e4cfd0a5f18f9
Author: Anatoliy Belsky <ab@php.net> Tue, 10 Apr 2012 13:54:22 +0200
Parents: 882a3cf8a7f6aa7399c39f0dd616ac9a99c24049
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=e9e468914523f46d8453078b116e4cfd0a5f18f9
Log:
Fixed bug #61637 ext\sockets\tests\socket_sentto_recvfrom_unix.phpt
Bugs:
https://bugs.php.net/61637
Changed paths:
M ext/sockets/tests/socket_sentto_recvfrom_unix.phpt
Diff:
diff --git a/ext/sockets/tests/socket_sentto_recvfrom_unix.phpt
b/ext/sockets/tests/socket_sentto_recvfrom_unix.phpt
index ab11189..4cfdebb 100644
--- a/ext/sockets/tests/socket_sentto_recvfrom_unix.phpt
+++ b/ext/sockets/tests/socket_sentto_recvfrom_unix.phpt
@@ -2,6 +2,9 @@
Test if socket_recvfrom() receives data sent by socket_sendto() through a Unix domain socket
--SKIPIF--
<?php
+if (substr(PHP_OS, 0, 3) == 'WIN') {
+ die('skip.. Not valid for Windows');
+}
if (!extension_loaded('sockets')) {
die('SKIP The sockets extension is not loaded.');
}