summaryrefslogtreecommitdiff
path: root/sapi/cli/tests/002.phpt
diff options
context:
space:
mode:
authorGabriel Caruso <carusogabriel34@gmail.com>2018-07-26 21:12:21 -0300
committerGabriel Caruso <carusogabriel34@gmail.com>2018-08-28 21:20:00 -0300
commit2f7003847d3b48ea89fdec2bd5388085cf6b4d0e (patch)
treeeff844d0c3e0794916228369104fa3305a1cc0f7 /sapi/cli/tests/002.phpt
parent3748d8070ffd7750c73c327e212d6dc4fc76d427 (diff)
downloadphp-git-2f7003847d3b48ea89fdec2bd5388085cf6b4d0e.tar.gz
Make more tests run on Linux
Diffstat (limited to 'sapi/cli/tests/002.phpt')
-rw-r--r--sapi/cli/tests/002.phpt9
1 files changed, 3 insertions, 6 deletions
diff --git a/sapi/cli/tests/002.phpt b/sapi/cli/tests/002.phpt
index c67b93eba2..496715376e 100644
--- a/sapi/cli/tests/002.phpt
+++ b/sapi/cli/tests/002.phpt
@@ -1,18 +1,15 @@
--TEST--
running code with -r
--SKIPIF--
-<?php
-include "skipif.inc";
-if (substr(PHP_OS, 0, 3) == 'WIN') {
- die ("skip not for Windows");
-}
+<?php
+include "skipif.inc";
?>
--FILE--
<?php
$php = getenv('TEST_PHP_EXECUTABLE');
-var_dump(`$php -n -r 'var_dump("hello");'`);
+var_dump(`$php -n -r "var_dump('hello');"`);
echo "Done\n";
?>