public inbox for dwz@sourceware.org
 help / color / mirror / Atom feed
* [committed] Add ld-2.26.1-multifile.sh
@ 2019-01-01  0:00 Tom de Vries
  0 siblings, 0 replies; only message in thread
From: Tom de Vries @ 2019-01-01  0:00 UTC (permalink / raw)
  To: dwz, jakub

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  <tdevries@suse.de>

	* 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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-06-27 16:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-01  0:00 [committed] Add ld-2.26.1-multifile.sh Tom de Vries

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).