Skip to content

Update run_001.phpt #2913

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from
Closed

Update run_001.phpt #2913

wants to merge 2 commits into from

Conversation

royopa
Copy link
Contributor

@royopa royopa commented Nov 13, 2017

update test to avoid that it freezes the test suite

update test to avoid that it freezes the test suite
@@ -52,5 +52,7 @@ prompt>
1 2 3
--FILE--
<?php

if is_null($argc) || is_null($argv) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Syntax error. :(

@@ -52,5 +52,7 @@ prompt>
1 2 3
--FILE--
<?php

if is_null($argc) || is_null($argv) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a parse error

Sorry for my fault!
I corrected the code.

In addition, the change in the phptt try resolve the error mentioned here:
https://bugs.php.net/bug.php?id=75499
@krakjoe
Copy link
Member

krakjoe commented Nov 16, 2017

It would be better to find out why that code freezes phpdbg ... /cc @bwoebi

@petk
Copy link
Member

petk commented Feb 14, 2019

Hello, where do we see that the code freezes here? I think it passes successfully. Is it something with gcov, travis somewhere or where is this happening? Thanks...

@royopa
Copy link
Contributor Author

royopa commented Feb 14, 2019

I had tested again and the test passed.


=====================================================================
PHP : /usr/src/php/sapi/cli/php
PHP_SAPI : cli
PHP_VERSION : 7.3.0-dev
ZEND_VERSION: 3.3.0-dev
PHP_OS : Linux - Linux c49fe82fd117 4.15.0-45-generic #48-Ubuntu SMP Tue Jan 29 16:28:13 UTC 2019 x86_64
INI actual : /usr/src/php/tmp-php.ini
More .INIs :

PHP : /usr/src/php/sapi/phpdbg/phpdbg
PHP_SAPI : phpdbg
PHP_VERSION : 7.3.0-dev
ZEND_VERSION: 3.3.0-dev
PHP_OS : Linux - Linux c49fe82fd117 4.15.0-45-generic #48-Ubuntu SMP Tue Jan 29 16:28:13 UTC 2019 x86_64
INI actual : /usr/src/php/tmp-php.ini
More .INIs :

CWD : /usr/src/php
Extra dirs :
VALGRIND : Not used

Running selected tests.
PASS Test for function posix_getlogin() basic functionality [/usr/src/phpt/posix_getlogin_basic.phpt]

Number of tests : 1 1
Tests skipped : 0 ( 0.0%) --------
Tests warned : 0 ( 0.0%) ( 0.0%)
Tests failed : 0 ( 0.0%) ( 0.0%)
Expected fail : 0 ( 0.0%) ( 0.0%)
Tests passed : 1 (100.0%) (100.0%)

Time taken : 1 seconds


So I will close this PR.
Thanks @petk and @carusogabriel

@royopa royopa closed this Feb 14, 2019
@petk
Copy link
Member

petk commented Feb 14, 2019

Great. Thank you @royopa too. 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants