Source: pdf2djvu Version: 0.9.2-2 Tags: patch Dear Maintainer,
pdf2djvu autopkgtest currently fails with:
======================================================================
ERROR: Failure: IOError ([Errno 2] No such file or directory:
'/tmp/adttmp.snotn3/tests/../doc/changelog')
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/nose/loader.py", line 525, in
makeTest
return self._makeTest(obj, parent)
File "/usr/lib/python2.7/dist-packages/nose/loader.py", line 584, in
_makeTest
return MethodTestCase(obj)
File "/usr/lib/python2.7/dist-packages/nose/case.py", line 345, in __init__
self.inst = self.cls()
File "/tmp/adttmp.snotn3/tests/test-version.py", line 31, in __init__
with open(path) as file:
IOError: [Errno 2] No such file or directory:
'/tmp/adttmp.snotn3/tests/../doc/changelog'
This change fixes it:
--- pdf2djvu-0.9.2/debian/tests/pdf2djvu
+++ pdf2djvu-0.9.2/debian/tests/pdf2djvu
@@ -1,6 +1,6 @@
#!/bin/sh
set -e -u
-cp -a tests/ "$ADTTMP"
+cp -a tests/ doc/ "$ADTTMP"
cd "$ADTTMP/tests/"
export LC_MESSAGES=C
nosetests -v test-*.py 2>&1
--
Dmitry Shachnev
signature.asc
Description: OpenPGP digital signature

