forked from php/php-src
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* PHP-5.6: fixup, both catched by nikic use another character device in this test as /dev/console seems that it is different for lxc containers the de_DE(iso-8859-1) locale is not available on ubuntu by default, but there is no reason to require that over the utf-8 one let's try running our testsuite without sudo
- Loading branch information
Showing
7 changed files
with
31 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,8 +7,8 @@ Dave Kelsey <[email protected]> | |
if (substr(PHP_OS, 0, 3) == 'WIN') { | ||
die('skip no /dev on Windows'); | ||
} | ||
if (!file_exists("/dev/console")) { | ||
die('skip /dev/console not available'); | ||
if (!file_exists("/dev/null")) { | ||
die('skip /dev/null not available'); | ||
} | ||
?> | ||
--FILE-- | ||
|
@@ -20,7 +20,7 @@ Description: Returns the type of the file. Possible values are fifo, char, | |
*/ | ||
|
||
echo "-- Checking for char --\n"; | ||
print( filetype("/dev/console") )."\n"; | ||
print( filetype("/dev/null") )."\n"; | ||
?> | ||
===DONE=== | ||
--EXPECTF-- | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
#!/bin/bash | ||
export PHP_CURL_HTTP_REMOTE_SERVER="http://localhost" | ||
export PHP_CURL_HTTP_REMOTE_SERVER="http://localhost:8080" | ||
cd ./ext/curl/tests/responder | ||
sudo php -S localhost:80 & | ||
cd - | ||
php -S localhost:8080 & | ||
cd - |
This file was deleted.
Oops, something went wrong.