fix check-exports test on ppc64
authorAlessandro Ghedini <al3xbio@gmail.com>
Sat, 11 Aug 2012 13:13:47 +0000 (15:13 +0200)
committerPetri Lehtinen <petri@digip.org>
Sat, 11 Aug 2012 17:42:21 +0000 (20:42 +0300)
test/suites/api/check-exports

index a7c87a9..fe393f5 100755 (executable)
@@ -96,7 +96,7 @@ SOFILE="../src/.libs/libjansson.so"
 nm -D $SOFILE >/dev/null >$test_log/symbols 2>/dev/null \
     || exit 77  # Skip if "nm -D" doesn't seem to work
 
-grep ' T ' $test_log/symbols | cut -d' ' -f3 | sort >$test_log/output
+grep ' [DT] ' $test_log/symbols | cut -d' ' -f3 | sort >$test_log/output
 
 if ! cmp -s $test_log/exports $test_log/output; then
     diff -u $test_log/exports $test_log/output >&2