X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=test%2FT360-symbol-hiding.sh;h=729b9d720a2c9e53d853e9c6b3436a352367a2cc;hb=6967dcbb025280d33c9cd08502de7a5cdb051ae7;hp=3f00dd383b87f664fe1abac8eb632b88485deb9a;hpb=ced341e82e8cb84dc2c90187d208838335511f6e;p=notmuch diff --git a/test/T360-symbol-hiding.sh b/test/T360-symbol-hiding.sh index 3f00dd38..729b9d72 100755 --- a/test/T360-symbol-hiding.sh +++ b/test/T360-symbol-hiding.sh @@ -26,7 +26,7 @@ test_begin_subtest 'checking output' test_expect_equal "$result" "$output" test_begin_subtest 'comparing existing to exported symbols' -readelf -Ws $NOTMUCH_BUILDDIR/lib/libnotmuch.so | \ +readelf -Ws $NOTMUCH_BUILDDIR/lib/libnotmuch.so | sed -e 's/\[[^]]*\]//' |\ awk '$4 == "FUNC" && $5 == "GLOBAL" && $7 != "UND" {print $8}' | sort -u > ACTUAL sed -n 's/^\(notmuch_[a-zA-Z0-9_]*\)[[:blank:]]*(.*/\1/p' $NOTMUCH_SRCDIR/lib/notmuch.h | sort -u > EXPORTED test_expect_equal_file EXPORTED ACTUAL