srcdir=$srcdir/tests
-testfiles check_debug_info_refs-1
+testfiles check_debug_info_refs-{1,2}
testrun_compare ./dwarflint --check=check_debug_info_refs check_debug_info_refs-1 <<EOF
error: .debug_aranges: table 48 (CU DIE 95): there has already been arange section for this CU.
error: .debug_aranges: table 48 (CU DIE 95): there has already been arange section for this CU.
warning: .debug_info: CU 0: no aranges table is associated with this CU.
EOF
+
+testrun_compare ./dwarflint --strict --check=check_debug_info_refs check_debug_info_refs-2 <<EOF
+warning: .debug_line: table 0: empty line number program.
+error: .debug_line: table 0: sequence of opcodes not terminated with DW_LNE_end_sequence.
+warning: .debug_info: CU 0: no aranges table is associated with this CU.
+EOF