From 4f2a1cbfe44893c9753cd4ae0fa9a3917c1b5bb1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Niels=20M=C3=B6ller?= <nisse@lysator.liu.se>
Date: Tue, 27 May 2003 08:50:56 +0200
Subject: [PATCH] And allow symbols that start at the beginning of the line, as
 output by AIX nm.

Rev: src/nettle/testsuite/symbols-test:1.3
---
 testsuite/symbols-test | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/testsuite/symbols-test b/testsuite/symbols-test
index a49e6943..073a04db 100755
--- a/testsuite/symbols-test
+++ b/testsuite/symbols-test
@@ -6,7 +6,7 @@ if [ -z "$srcdir" ] ; then
   srcdir=`pwd`
 fi
 
-nm ../libnettle.a | grep ' [DRT] ' | egrep -v ' \.?(_?nettle_|memxor)' \
+nm ../libnettle.a | grep ' [DRT] ' | egrep -v '( |^)\.?(_?nettle_|memxor)' \
     | sort -k3 > test1.out
 
 if [ -s test1.out ] ; then
-- 
GitLab