summaryrefslogtreecommitdiffstats
path: root/testsuite/dwz.tests/multifile-relative.sh
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/dwz.tests/multifile-relative.sh')
-rw-r--r--testsuite/dwz.tests/multifile-relative.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/testsuite/dwz.tests/multifile-relative.sh b/testsuite/dwz.tests/multifile-relative.sh
new file mode 100644
index 0000000..7254206
--- /dev/null
+++ b/testsuite/dwz.tests/multifile-relative.sh
@@ -0,0 +1,12 @@
+cp $execs/hello 1
+cp $execs/hello 2
+
+dwz -m $(pwd -P)/3 -r 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