X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=test%2Fsanity%2Fchk.sh;h=849ab1004295e75b9768e5f7da68e4cf9896dc82;hb=HEAD;hp=cfe15d2c636b6bf46cad21c3c11c81983fbaf600;hpb=fc04675a09587031d5daebcb877b73976890b71d;p=libm 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