]> git.notmuchmail.org Git - notmuch/commit
test: simplify T360-symbol-hiding, use nm instead of objdump
authorDavid Bremner <david@tethera.net>
Wed, 10 Sep 2014 06:41:11 +0000 (08:41 +0200)
committerDavid Bremner <david@tethera.net>
Sat, 25 Oct 2014 08:39:07 +0000 (10:39 +0200)
commitb4278d4e8e95663ce4bab346a1a9d47a3206bb4a
tree177d48b024bb96b38b2845a8bd786170de45201d
parent776684c7b6804388088cd787f7d5faff7cfbe4c2
test: simplify T360-symbol-hiding, use nm instead of objdump

After yet another variation in objdump output caused this test to fail
(on a Debian port, no less), I decided whatever putative benefit we
get from looking at the object files instead of the library isn't
worth the maintenence headache.

This version uses nm -P. nm -P should be portable, and fixed format.
It purposely doesn't use the -D argument, since that is non-POSIX and
nm on GNU/Linux seems do the right thing without it.

It still won't work out of the box on e.g. Mac OS/X. I think the right
thing to do there is to move some more configuration information into
sh.config.

(cherry picked from commit c34d6bad0f9da300eac2181e2073aee130432932)
test/T360-symbol-hiding.sh