mirror of
https://github.com/rui314/mold.git
synced 2024-12-25 17:34:02 +03:00
Fix test
This commit is contained in:
parent
7977909c0a
commit
5ec4ffced4
@ -22,9 +22,9 @@ EOF
|
||||
clang -fuse-ld=`pwd`/../mold $t/a.o $t/b.so -o $t/exe
|
||||
readelf -a $t/exe > $t/log
|
||||
|
||||
fgrep -q '[20] .dynbss.rel.ro' $t/log
|
||||
fgrep -q '[23] .dynbss' $t/log
|
||||
fgrep -q '100 OBJECT GLOBAL DEFAULT 20 readonly' $t/log
|
||||
fgrep -q '100 OBJECT GLOBAL DEFAULT 23 readwrite' $t/log
|
||||
fgrep -q '[21] .dynbss.rel.ro' $t/log
|
||||
fgrep -q '[24] .dynbss' $t/log
|
||||
fgrep -q '100 OBJECT GLOBAL DEFAULT 21 readonly' $t/log
|
||||
fgrep -q '100 OBJECT GLOBAL DEFAULT 24 readwrite' $t/log
|
||||
|
||||
echo OK
|
||||
|
Loading…
Reference in New Issue
Block a user