[EMAIL PROTECTED]:~# /usr/share/apport/testsuite/run-tests 2>&1 | tee
+ python -tt /usr/lib/python2.5/site-packages/problem_report.py -v
Test adding information to an existing report. ... ok
Test basic creation and operation. ... ok
Test writing and re-decoding a big random file. ... ok
Test handling of CompressedValue values. ... ok
Test non-default constructor arguments. ... ok
Test importing a dictionary with update(). ... ok
Test ProblemReport iteration. ... ok
Test load() with various formatting. ... ok
Test reading, modifying fields, and writing back. ... ok
Test reading a report with binary data. ... ok
Test reading a report with binary data in legacy format without gzip ... ok
Test various error conditions. ... ok
Test writing and a big random file with a size limit key. ... ok
Test new_keys() and write() with only_new=True. ... ok
Test write() and proper formatting. ... ok
Test write() with appending to an existing file. ... ok
Test writing a report with file pointers and delayed data. ... ok
Test writing a report with a pointer to a file-like object with enforcing
non-emptyness. ... ok
Test writing a report with binary file data. ... ok
Test writing a report with a pointer to a file-like object. ... ok
Test write_mime() for binary values and file references. ... ok
Test write_mime() with extra headers. ... ok
Test write_mime() for text values. ... ok
----------------------------------------------------------------------
Ran 23 tests in 8.808s
OK
+ python -tt /usr/lib/python2.5/site-packages/apport/fileutils.py -v
Test check_files_md5(). ... ok
Test delete_report(). ... ok
Test find_file_package(). ... ok
Test find_package_desktopfile(). ... ok
Test get_all_reports(). ... ok
Test get_recent_crashes(). ... ok
Test get_all_system_reports() and get_new_system_reports(). ... ok
Test likely_packaged(). ... ok
Test make_report_path(). ... ok
Test get_new_reports() and seen_report(). ... ok
----------------------------------------------------------------------
Ran 10 tests in 4.300s
OK
+ python -tt /usr/lib/python2.5/site-packages/apport/report.py -v
Test add_gdb_info() with core dump file reference. ... /usr/bin/ld: crt1.o: No
such file: No such file or directory
collect2: ld returned 1 exit status
FAIL
Test add_gdb_info() with inline core dump. ... /usr/bin/ld: crt1.o: No such
file: No such file or directory
collect2: ld returned 1 exit status
FAIL
Test add_gdb_info() with a script. ... ok
Test add_hooks_info(). ... ok
Test add_os_info(). ... ok
Test add_package_info(). ... ok
Test add_proc_info(). ... FAIL
Test add_user_info(). ... ok
Test that methods get along with binary data. ... ok
Test check_ignored() for system-wise blacklist. ... ok
Test _check_interpreted(). ... FAIL
Test crash_signature(). ... ok
Test _gen_stacktrace_top(). ... ok
Test has_useful_stacktrace(). ... ok
Test mark_ignore() and check_ignored(). ... ok
Test obsolete_packages(). ... ok
Test search_bug_patterns(). ... ok
Test standard_title(). ... ok
======================================================================
FAIL: Test add_gdb_info() with core dump file reference.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/apport/report.py", line 1181, in
test_add_gdb_info
pr = self._generate_sigsegv_report()
File "/usr/lib/python2.5/site-packages/apport/report.py", line 1135, in
_generate_sigsegv_report
assert subprocess.call(['gcc', '-g', 'crash.c', '-o', 'crash']) == 0
AssertionError
======================================================================
FAIL: Test add_gdb_info() with inline core dump.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/apport/report.py", line 1189, in
test_add_gdb_info_load
self._generate_sigsegv_report(rep)
File "/usr/lib/python2.5/site-packages/apport/report.py", line 1135, in
_generate_sigsegv_report
assert subprocess.call(['gcc', '-g', 'crash.c', '-o', 'crash']) == 0
AssertionError
======================================================================
FAIL: Test add_proc_info().
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/apport/report.py", line 909, in
test_add_proc_info
assert os.getuid() != 0, 'please do not run this test as root for this
check.'
AssertionError: please do not run this test as root for this check.
======================================================================
FAIL: Test _check_interpreted().
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/apport/report.py", line 1055, in
test_check_interpreted
self.assertEqual(pr['ExecutablePath'], '/usr/bin/python')
AssertionError: '/etc/shadow' != '/usr/bin/python'
----------------------------------------------------------------------
Ran 18 tests in 25.936s
FAILED (failures=4)
[EMAIL PROTECTED]:~# /tmp/apport-test.out
bash: /tmp/apport-test.out: No such file or directory
[EMAIL PROTECTED]:~#
--
gnome-mount crashed with SIGSEGV
https://bugs.launchpad.net/bugs/122471
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs