diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-04 17:55:52 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-04 17:55:52 +0000 |
commit | f7a951d79bc895eb2171c2570add9f4899794a10 (patch) | |
tree | cc0c7147f472fecbc93add134f5c0e5c1bb72529 /testsuite/dwz.tests/eu-strip-unstrip-multifile.sh | |
parent | Initial commit. (diff) | |
download | dwz-f7a951d79bc895eb2171c2570add9f4899794a10.tar.xz dwz-f7a951d79bc895eb2171c2570add9f4899794a10.zip |
Adding upstream version 0.15.upstream/0.15upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testsuite/dwz.tests/eu-strip-unstrip-multifile.sh')
-rw-r--r-- | testsuite/dwz.tests/eu-strip-unstrip-multifile.sh | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/testsuite/dwz.tests/eu-strip-unstrip-multifile.sh b/testsuite/dwz.tests/eu-strip-unstrip-multifile.sh new file mode 100644 index 0000000..afe0994 --- /dev/null +++ b/testsuite/dwz.tests/eu-strip-unstrip-multifile.sh @@ -0,0 +1,18 @@ +cp $execs/hello 1 +cp $execs/hello 2 + +eu-strip 1 -o 1.stripped -f 1.debug +eu-strip 2 -o 2.stripped -f 2.debug + +dwz -m 3 1.debug 2.debug + +eu-unstrip 1.stripped 1.debug -o 1.unstripped +eu-unstrip 2.stripped 2.debug -o 2.unstripped + +smaller-than.sh 1.unstripped 1 +smaller-than.sh 2.unstripped 2 + +[ "$(gnu-debugaltlink-name.sh 1.unstripped)" = "3" ] +[ "$(gnu-debugaltlink-name.sh 2.unstripped)" = "3" ] + +rm -f 1 1.debug 1.stripped 1.unstripped 2 2.debug 2.stripped 2.unstripped 3 |