Package: hello Version: 2.10-3 Ohai,
while looking for a simple package to test something with autopkgtest, I noticed that hello's debian/tests/upstream-tests will try to execute *all* files from the tests/ directory (skipping greeting-2). This works correctly when the tests are executed from a clean source tree, but not if the same source was previously used to build hello (like it happens if you pass the .dsc to autopkgtest). In this case, the tests/ directory contains more files: hello-2.10# ls tests/ greeting-1 greeting-1.log greeting-1.trs greeting-2 greeting-2.log greeting-2.trs hello-1 hello-1.log hello-1.trs last-1 last-1.log last-1.trs traditional-1 traditional-1.log traditional-1.trs And execution of the test-suite fails: … autopkgtest [10:47:35]: test upstream-tests: [----------------------- Testing greeting-1 ... Testing greeting-1.log ... /tmp/autopkgtest.qGAtSW/build.n6t/src/debian/tests/upstream-tests: 8: tests/greeting-1.log: Permission denied autopkgtest [10:47:35]: test upstream-tests: -----------------------] autopkgtest [10:47:36]: test upstream-tests: - - - - - - - - - - results - - - - - - - - - - upstream-tests FAIL non-zero exit status 126 autopkgtest [10:47:36]: test upstream-tests: - - - - - - - - - - stderr - - - - - - - - - - /tmp/autopkgtest.qGAtSW/build.n6t/src/debian/tests/upstream-tests: 8: tests/greeting-1.log: Permission denied autopkgtest [10:47:36]: @@@@@@@@@@@@@@@@@@@@ summary command1 PASS upstream-tests FAIL non-zero exit status 126 While passing an unbuilt source to autopkgtest is not optimal, I think this is something that should still work. Thanks for maintaining hello! Evgeni