From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 64182 invoked by alias); 27 Jun 2019 16:26:35 -0000 Mailing-List: contact dwz-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Post: List-Help: List-Subscribe: Sender: dwz-owner@sourceware.org Received: (qmail 63539 invoked by uid 89); 27 Jun 2019 16:26:35 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Checked: by ClamAV 0.100.3 on sourceware.org X-Virus-Found: No X-Spam-SWARE-Status: No, score=-24.7 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_0,GIT_PATCH_1,GIT_PATCH_2,GIT_PATCH_3,SPF_PASS autolearn=ham version=3.3.1 spammy= X-Spam-Status: No, score=-24.7 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_0,GIT_PATCH_1,GIT_PATCH_2,GIT_PATCH_3,SPF_PASS autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on sourceware.org X-Spam-Level: X-HELO: mx1.suse.de X-Virus-Scanned: by amavisd-new at test-mx.suse.de Date: Tue, 01 Jan 2019 00:00:00 -0000 From: Tom de Vries To: dwz@sourceware.org, jakub@redhat.com Subject: [committed] Add ld-2.26.1-multifile.sh Message-ID: <20190627162628.GA12697@delia> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) X-SW-Source: 2019-q2/txt/msg00085.txt.bz2 Hi, Add test-case for 3606ac3 "Make updating sections after section header string table order-independent". Committed to trunk. Thanks, - Tom Add ld-2.26.1-multifile.sh 2019-06-27 Tom de Vries * testsuite/dwz.tests/dwz-tests.exp: Require x86_64 for ld-2.26.1-multifile.sh. * testsuite/dwz.tests/ld-2.26.1-multifile.sh: New test. --- testsuite/dwz.tests/dwz-tests.exp | 4 ++++ testsuite/dwz.tests/execs.xz/hello-ld-2.26.1.xz | Bin 0 -> 2380 bytes testsuite/dwz.tests/ld-2.26.1-multifile.sh | 14 ++++++++++++++ 3 files changed, 18 insertions(+) diff --git a/testsuite/dwz.tests/dwz-tests.exp b/testsuite/dwz.tests/dwz-tests.exp index db5b581..e974e7d 100644 --- a/testsuite/dwz.tests/dwz-tests.exp +++ b/testsuite/dwz.tests/dwz-tests.exp @@ -54,6 +54,10 @@ foreach test $tests { unsupported "$test" continue } + if { $basename == "ld-2.26.1-multifile.sh" } { + unsupported "$test" + continue + } } set unsupported 0 diff --git a/testsuite/dwz.tests/execs.xz/hello-ld-2.26.1.xz b/testsuite/dwz.tests/execs.xz/hello-ld-2.26.1.xz new file mode 100755 index 0000000..3514195 Binary files /dev/null and b/testsuite/dwz.tests/execs.xz/hello-ld-2.26.1.xz differ diff --git a/testsuite/dwz.tests/ld-2.26.1-multifile.sh b/testsuite/dwz.tests/ld-2.26.1-multifile.sh new file mode 100644 index 0000000..a63253c --- /dev/null +++ b/testsuite/dwz.tests/ld-2.26.1-multifile.sh @@ -0,0 +1,14 @@ +exec=../testsuite/dwz.tests/execs/hello-ld-2.26.1 + +cp $exec 1 +cp 1 2 + +dwz -m 3 1 2 + +smaller-than.sh 1 $exec +smaller-than.sh 2 $exec + +[ "$(gnu-debugaltlink-name.sh 1)" = "3" ] +[ "$(gnu-debugaltlink-name.sh 2)" = "3" ] + +rm -f 1 2 3