X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=test%2FT360-symbol-hiding.sh;h=729b9d720a2c9e53d853e9c6b3436a352367a2cc;hb=133188837472dacef2ef72ca8416ccd12896c189;hp=3f00dd383b87f664fe1abac8eb632b88485deb9a;hpb=82faa059b8c98a3af016778734be329557d4217d;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