This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vajrasky
Recipients vajrasky
Date 2014-01-14.09:39:21
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1389692362.24.0.80510230142.issue20257@psf.upfronthosting.co.za>
In-reply-to
Content
Enable SELinux (by default it is already enabled). Then load tipc module.

# modprobe tipc

Then using whatever account, execute Lib/test/test_socket.py. You'll get:
FAILED (errors=1, skipped=4)
Traceback (most recent call last):
  File "Lib/test/test_socket.py", line 1740, in <module>
    test_main()
  File "Lib/test/test_socket.py", line 1736, in test_main
    test_support.run_unittest(*tests)
  File "/home/sky/Code/python/cpython2.7/Lib/test/test_support.py", line 1251, in run_unittest
    _run_suite(suite)
  File "/home/sky/Code/python/cpython2.7/Lib/test/test_support.py", line 1234, in _run_suite
    raise TestFailed(err)
test.test_support.TestFailed: Traceback (most recent call last):
  File "Lib/test/test_socket.py", line 1705, in testStream
    msg = self.conn.recv(1024)
error: [Errno 13] Permission denied

Attached the patch to skip the test if we don't have sufficient permission to execute the test.
History
Date User Action Args
2014-01-14 09:39:22vajraskysetrecipients: + vajrasky
2014-01-14 09:39:22vajraskysetmessageid: <1389692362.24.0.80510230142.issue20257@psf.upfronthosting.co.za>
2014-01-14 09:39:22vajraskylinkissue20257 messages
2014-01-14 09:39:21vajraskycreate