Issue 17046: test_subprocess test_executable_without_cwd fails when run with installed python (original) (raw)
./configure --enable-shared --with-pydebug --prefix=/py/root && make && make install cd export LD_LIBRARY_PATH=/py/root/lib /py/root/bin/python3.4 -m test -w -uall,-largefile test_subprocess
====================================================================== FAIL: test_executable_without_cwd (test.test_subprocess.ProcessTestCase)
Traceback (most recent call last): File "/py/root/lib/python3.4/test/test_subprocess.py", line 346, in test_executable_without_cwd self._assert_cwd('', "somethingyoudonthave", executable=sys.executable) File "/py/root/lib/python3.4/test/test_subprocess.py", line 274, in _assert_cwd normcase(p.stdout.read().decode("utf-8"))) AssertionError: '' != '/tmp/test_python_22505'
- /tmp/test_python_22505
====================================================================== FAIL: test_executable_without_cwd (test.test_subprocess.ProcessTestCaseNoPoll)
Traceback (most recent call last): File "/py/root/lib/python3.4/test/test_subprocess.py", line 346, in test_executable_without_cwd self._assert_cwd('', "somethingyoudonthave", executable=sys.executable) File "/py/root/lib/python3.4/test/test_subprocess.py", line 274, in _assert_cwd normcase(p.stdout.read().decode("utf-8"))) AssertionError: '' != '/tmp/test_python_22505'
- /tmp/test_python_22505
If we don't already have one, it would probably be a good idea to set up at least one buildbot that does a "make install" and runs the tests using the installed Python.