Your message dated Fri, 30 May 2014 23:05:24 +0200
with message-id <20140530210524.GD5582@pegase>
and subject line Re: Bug#749729: autopkgtest: cannot make tests executable in
read only directory
has caused the Debian Bug report #749729,
regarding autopkgtest: cannot make tests executable in read only directory
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
749729: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=749729
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: autopkgtest
Severity: minor
Control: affects -1 sadt
Hello. doc/README.package-tests states:
The cwd of each test is guaranteed to be the root of the source
package. [...] Tests may not modify the source tree [...].
If the file to be executed has no execute bits set, chmod a+x is
applied to it. [...]
Adt-run uses a temporary copy of the tests, while sadt uses the
original ones from the source directory. Both call chown, and the
latter will fail if ever used in a read-only source directory.
These statements should be clarified to avoid contradictory
interpretations before sadt is considered buggy.
I would appreciate a solution keeping both benefits, by requiring the
tests to be copied in a temp dir for example.
--- End Message ---
--- Begin Message ---
Thanks for the explanation. Tests are not allowed to write into the
source tree, but test runners are.
However, I suggest that sadt skips non executable tests with a warning
and documents this behaviour (as it does with missing dependencies),
or displays a warning when modifying the permissions. It took me some
time to find who was interfering with my version control system.
--- End Message ---