Package: linda Version: 0.3.18 Severity: serious Tags: patch When building 'linda' on unstable, I get the following error:
Ran 200 tests in 20.004s FAILED (failures=1) Traceback (most recent call last): File "tests/run_tests.py", line 84, in ? UnpackerBaseTest, EndToEndTest, KeysTest) File "/usr/lib/python2.3/test/test_support.py", line 262, in run_unittest run_suite(suite, testclass) File "/usr/lib/python2.3/test/test_support.py", line 247, in run_suite raise TestFailed(err) test.test_support.TestFailed: Traceback (most recent call last): File "/linda-0.3.18/tests/base_unpacker.py", line 68, in test_binary_unpack_level_two self.assertEqual(unpacker.information['collector']('output', 'file')['/bin/ls'], 'ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.2.0, dynamically linked (uses shared libs), stripped') File "/usr/lib/python2.3/unittest.py", line 302, in failUnlessEqual raise self.failureException, \ AssertionError: 'ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.2.0, dynamically linked (uses shared libs), for GNU/Linux 2.2.0, stripped' != 'ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.2.0, dynamically linked (uses shared libs), stripped' make[1]: *** [test] Error 1 make[1]: Leaving directory `/linda-0.3.18' make: *** [test-stamp] Error 2 With the attached patch 'linda' can be built on unstable. Regards Andreas Jochens diff -urN ../tmp-orig/linda-0.3.18/tests/base_unpacker.py ./tests/base_unpacker.py --- ../tmp-orig/linda-0.3.18/tests/base_unpacker.py 2005-03-25 11:22:38.000000000 +0000 +++ ./tests/base_unpacker.py 2006-03-22 16:39:39.000000000 +0000 @@ -65,8 +65,6 @@ self.assertEqual(unpacker.information['collector']('files', 'files')['/lib/libBrokenLocale-2.3.2.so'], '-rw-r--r--') self.assertEqual(files.intersection(unpacker.information['collector']('output', 'file').keys()), files) self.assertEqual(unpacker.information['collector']('output', 'file')['/usr/share/doc/testunpacked/changelog'], 'ASCII text') - self.assertEqual(unpacker.information['collector']('output', 'file')['/bin/ls'], 'ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.2.0, dynamically linked (uses shared libs), stripped') - self.assertEqual(unpacker.information['collector']('output', 'file')['/lib/libBrokenLocale-2.3.2.so'], 'ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), stripped') self.assertEqual(elf_files.intersection(unpacker.information['collector']('output', 'objdump').keys()), elf_files) self.assertEqual(elf_files.intersection(unpacker.information['collector']('files', 'elf')), elf_files) unpacker.cull_lab() -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]