From 5e7fd521b239ef461b5e7b74862151bc99b29008 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niels=20M=C3=B6ller?= <nisse@lysator.liu.se> Date: Thu, 4 Mar 2004 22:44:36 +0100 Subject: [PATCH] Pass -g flag to nm. Rev: src/nettle/testsuite/symbols-test:1.5 --- testsuite/symbols-test | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/testsuite/symbols-test b/testsuite/symbols-test index 5b84eb4e..71056438 100755 --- a/testsuite/symbols-test +++ b/testsuite/symbols-test @@ -6,7 +6,9 @@ if [ -z "$srcdir" ] ; then srcdir=`pwd` fi -nm ../libnettle.a | grep ' [DRT] ' | egrep -v '( |^)\.?_?(_?nettle_|memxor)' \ +# nm on aix seems to generate bogus outbut including random binary data. +# Using -g is a workaround to get rid of that. Hope nm -g is portable enough. +nm -g ../libnettle.a | grep ' [DRT] ' | egrep -v '( |^)\.?_?(_?nettle_|memxor)' \ | sort -k3 > test1.out if [ -s test1.out ] ; then -- GitLab