summaryrefslogtreecommitdiffstats
path: root/tests/run-dwarf-getmacros.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/run-dwarf-getmacros.sh')
-rwxr-xr-xtests/run-dwarf-getmacros.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/run-dwarf-getmacros.sh b/tests/run-dwarf-getmacros.sh
index 8f7c4a80..0a488fa3 100755
--- a/tests/run-dwarf-getmacros.sh
+++ b/tests/run-dwarf-getmacros.sh
@@ -696,4 +696,15 @@ file /home/mark/src/tests/macro.c
/file
EOF
+testfiles testfile-macros-0xff
+testrun_compare ${abs_builddir}/dwarf-getmacros testfile-macros-0xff 0xb <<\EOF
+invalid opcode
+EOF
+testrun_compare ${abs_builddir}/dwarf-getmacros testfile-macros-0xff 0xb '' <<\EOF
+opcode 255 with 0 arguments
+file /home/petr/proj/elfutils/master/elfutils/x.c
+ FOO 0
+/file
+EOF
+
exit 0