]> git.ipfire.org Git - thirdparty/elfutils.git/commitdiff
dwarflint: Fix test case
authorPetr Machata <pmachata@redhat.com>
Tue, 14 Sep 2010 12:35:25 +0000 (14:35 +0200)
committerPetr Machata <pmachata@redhat.com>
Tue, 14 Sep 2010 12:35:25 +0000 (14:35 +0200)
- now that we run the low-level checks as prerequisite of high-level ones,
  we also get low-level errors in testsuite passes.  One more reason to
  implement some sensible message filtering command line options.

dwarflint/tests/run-check_duplicate_DW_tag_variable.sh

index 6c47b02ef1c7866bfe1a83fc83ebc4136e9757e5..6e62f28015476df2f2f31cb4351b7d8a9148da0d 100755 (executable)
@@ -30,6 +30,9 @@ srcdir=$srcdir/tests
 testfiles crc7.ko.debug
 
 testrun_compare ./dwarflint --check check_duplicate_DW_tag_variable crc7.ko.debug <<EOF
+warning: .debug_line: offset 0x3c4: the include #6 \`XXXXXX' is not used.
+warning: .debug_line: table 967: the include #6 \`XXXXXX' is not used.
+error: .debug_line: table 967: sequence of opcodes not terminated with DW_LNE_end_sequence.
 error: .debug_info: DIE 0x3d21: Redeclaration of variable 'console_printk', originally seen at DIE 37f3.
 error: .debug_info: DIE 0x3d2e: Redeclaration of variable 'hex_asc', originally seen at DIE 380b.
 error: .debug_info: DIE 0x3d41: Redeclaration of variable '__per_cpu_offset', originally seen at DIE 382e.