openbsd-ports

OpenBSD Ports customizations and WIP
git clone git://git.danielmoch.com/openbsd-ports.git
Log | Files | Refs

patch-test_T360-symbol-hiding_sh (654B)


      1 $OpenBSD$
      2 
      3 Index: test/T360-symbol-hiding.sh
      4 --- test/T360-symbol-hiding.sh.orig
      5 +++ test/T360-symbol-hiding.sh
      6 @@ -26,7 +26,7 @@ test_begin_subtest 'checking output'
      7  test_expect_equal "$result" "$output"
      8  
      9  test_begin_subtest 'comparing existing to exported symbols'
     10 -nm -P $NOTMUCH_BUILDDIR/lib/libnotmuch.so | awk '$2 == "T" && $1 ~ "^notmuch" {print $1}' | sort | uniq > ACTUAL
     11 +nm -P $NOTMUCH_BUILDDIR/lib/libnotmuch.so* | awk '$2 == "T" && $1 ~ "^notmuch" {print $1}' | sort | uniq > ACTUAL
     12  sed -n 's/^\(notmuch_[a-zA-Z0-9_]*\)[[:blank:]]*(.*/\1/p' $NOTMUCH_SRCDIR/lib/notmuch.h | sort | uniq > EXPORTED
     13  test_expect_equal_file EXPORTED ACTUAL
     14