X-Git-Url: http://nsz.repo.hu/git/?p=libm;a=blobdiff_plain;f=test%2Fsanity%2Fchk.sh;h=849ab1004295e75b9768e5f7da68e4cf9896dc82;hp=cfe15d2c636b6bf46cad21c3c11c81983fbaf600;hb=4a920e05bd4f1b3bdd6b85447fd2ca4e6d0c35f6;hpb=ed769c6bef21cd704a53b2eecfb3d13a338a6a5d diff --git a/test/sanity/chk.sh b/test/sanity/chk.sh index cfe15d2..849ab10 100755 --- a/test/sanity/chk.sh +++ b/test/sanity/chk.sh @@ -1,7 +1,7 @@ #!/bin/sh export LC_ALL=C -nm ../../lib/libm.a |awk '/ [TW] / && !/__/ && !/ fe/{print $3}' |sort >f.sym +nm ../../lib/libm.a |awk '$2 ~ /^[A-Z]$/ && $3 !~ /^__/ && $3 !~ /^fe/{print $3}' |sort >f.sym awk '/^\t[PQ]/{ sub(/[^(]*\(/,""); sub(/^\([^(]*\)/,""); sub(/\(.*/,""); print}' t.c |sort >f.t diff f.t f.sym