summaryrefslogtreecommitdiffstats
path: root/testsuite/dwz.tests/multifile.sh
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/dwz.tests/multifile.sh')
-rw-r--r--testsuite/dwz.tests/multifile.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/testsuite/dwz.tests/multifile.sh b/testsuite/dwz.tests/multifile.sh
new file mode 100644
index 0000000..b5f6112
--- /dev/null
+++ b/testsuite/dwz.tests/multifile.sh
@@ -0,0 +1,12 @@
+cp $execs/hello 1
+cp $execs/hello 2
+
+dwz -m 3 1 2
+
+smaller-than.sh 1 $execs/hello
+smaller-than.sh 2 $execs/hello
+
+[ "$(gnu-debugaltlink-name.sh 1)" = "3" ]
+[ "$(gnu-debugaltlink-name.sh 2)" = "3" ]
+
+rm -f 1 2 3