From f7a951d79bc895eb2171c2570add9f4899794a10 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 4 May 2024 19:55:52 +0200 Subject: Adding upstream version 0.15. Signed-off-by: Daniel Baumann --- testsuite/dwz.tests/too-many-dies.sh | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 testsuite/dwz.tests/too-many-dies.sh (limited to 'testsuite/dwz.tests/too-many-dies.sh') diff --git a/testsuite/dwz.tests/too-many-dies.sh b/testsuite/dwz.tests/too-many-dies.sh new file mode 100644 index 0000000..53a0f4b --- /dev/null +++ b/testsuite/dwz.tests/too-many-dies.sh @@ -0,0 +1,16 @@ +cp $execs/hello 1 + +if dwz -L0 1 2>dwz.err; status=?; then + true +fi + +if ! grep -q "Too many DIEs, not optimizing" dwz.err; then + cat dwz.err + exit 1 +fi + +[ $status -eq 1 ] + +cmp 1 $execs/hello + +rm -f 1 dwz.err -- cgit v1.2.3