View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001623 | Xdebug | Installation | public | 2019-02-03 21:43 | 2019-02-11 17:14 |
Reporter | noodles | Assigned To | derick | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | resolved | Resolution | no change required | ||
Platform | PHP 7.3.1 | OS | CentOS | OS Version | 7.6.1810 |
Product Version | 2.7.0rc1 | ||||
Summary | 0001623: Test fail on "Show an error if Xdebug can't open the remote debug log" | ||||
Description | When running the test suite it fails on: Test for bug 0000932: Show an error if Xdebug can't open the remote debug log. [tests/bug00932.phpt] | ||||
Steps To Reproduce | Build from git sha 22da0b156a15bd6954773bbb0ae9f94746faaf33, run test suite: SKIP_SLOW_TESTS=1 TEST_PHP_EXECUTABLE=/usr/bin/php TEST_PHP_ARGS="-n $modules -d zend_extension=/home/rpmbuild/php-pecl-xdebug/BUILDROOT/php-pecl-xdebug-2.7.0~rc2-0.8.20190204.22da0b1.el7.7.3.x86_64/usr/lib64/php/modules/xdebug.so -d xdebug.auto_trace=0" NO_INTERACTION=1 REPORT_EXIT_STATUS=1 /usr/bin/php -n run-tests.php --show-diff | ||||
Additional Information | ========DIFF======== | ||||
Tags | No tags attached. | ||||
Operating System | CentOS | ||||
PHP Version | 7.3.0-7.3.1 | ||||
|
Can the tests write to /tmp ? I don't see how this is a bug. |
|
I tracked this down to the file still being writeable when chmod 0. I added a patch here: https://github.com/xdebug/xdebug/pull/444 which makes the test run as expected. |
|
This ended up as the tests being run as root. As that's a really bad idea, I'm not going to change this. (The PR is already closed too). cheers, |
Date Modified | Username | Field | Change |
---|---|---|---|
2019-02-03 21:43 | noodles | New Issue | |
2019-02-04 14:23 | derick | Note Added: 0004873 | |
2019-02-04 14:23 | derick | Assigned To | => derick |
2019-02-04 14:23 | derick | Status | new => feedback |
2019-02-04 21:11 | noodles | Note Added: 0004875 | |
2019-02-04 21:11 | noodles | Status | feedback => assigned |
2019-02-11 17:14 | derick | Note Added: 0004884 | |
2019-02-11 17:14 | derick | Status | assigned => resolved |
2019-02-11 17:14 | derick | Resolution | open => no change required |