summaryrefslogtreecommitdiffstats
path: root/testsuite/dwz.tests/pr24341.sh
blob: 4f044f6d9b005d6901b4c2ba5b4372f3906c792d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
cp $execs/min 1
cp 1 2

dwz -m 3 1 2

cnt=$(readelf -S 3 | grep "\.debug_info" | wc -l)
if [ $cnt -ne 0 ]; then
    exit 77
fi

smaller-than.sh 1 $execs/min
smaller-than.sh 2 $execs/min

[ "$(gnu-debugaltlink-name.sh 1)" = "3" ]
[ "$(gnu-debugaltlink-name.sh 2)" = "3" ]

rm -f 1 2 3