com php-src: ensure the test uses correct SAPI: Zend/tests/bug60978.phpt
| From: | Anatol Belski | Date: | Tue, 24 Mar 2015 21:02:28 +0000 |
| Subject: | com php-src: ensure the test uses correct SAPI: Zend/tests/bug60978.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-85848@lists.php.net to get a copy of this message | ||
Commit: 62b51668e2018be4bef0f3e730df537a3ffb8ac1
Author: Anatol Belski <ab@php.net> Tue, 24 Mar 2015 16:25:56 +0100
Parents: e1f706e3f483865b91ae2af55cfd7a5b83e4efc8
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=62b51668e2018be4bef0f3e730df537a3ffb8ac1
Log:
ensure the test uses correct SAPI
Changed paths:
M Zend/tests/bug60978.phpt
Diff:
diff --git a/Zend/tests/bug60978.phpt b/Zend/tests/bug60978.phpt
index 5dc6fe3..676808c 100644
--- a/Zend/tests/bug60978.phpt
+++ b/Zend/tests/bug60978.phpt
@@ -1,5 +1,11 @@
--TEST--
Bug #60978 (exit code incorrect)
+--SKIPIF--
+<?php
+ if ("cli" != php_sapi_name()) {
+ echo "skip CLI only";
+ }
+?>
--FILE--
<?php
$php = getenv('TEST_PHP_EXECUTABLE');