test_shutil.TestWhich.test_non_matching_mode fails when run as root
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Python |
Fix Released
|
Unknown
|
|||
python3.3 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
python3.3 is run under autopkgtest as root which makes the testcase test_shutil.
To reproduce the failure run the command:
$ sudo python3.3 -E -Wd -tt /usr/lib/
[...]
=======
FAIL: test_non_
-------
Traceback (most recent call last):
File "/usr/lib/
self.
AssertionError: '/tmp/Tmpn3pl68
-------
Possible solutions:
- Change which invocation to search for a file with 'execute' bit set
- Set immutable attribute on the temporary file
- Skip the test when executed as root
ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: python3.3 3.3.1-1ubuntu2
ProcVersionSign
Uname: Linux 3.8.0-17-generic x86_64
ApportVersion: 2.9.2-0ubuntu8
Architecture: amd64
Date: Tue Apr 16 09:52:15 2013
MarkForUpload: True
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: python3.3
UpgradeStatus: Upgraded to raring on 2012-01-31 (440 days ago)
Changed in python: | |
status: | Unknown → New |
Changed in python: | |
status: | New → Fix Released |