mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-28 13:44:12 +01:00
test: use source and build paths in T360-symbol-hiding.sh
Make a distinction between source and build directories.
This commit is contained in:
parent
bc349ad316
commit
0364a6d74b
1 changed files with 2 additions and 2 deletions
|
@ -26,8 +26,8 @@ test_begin_subtest 'checking output'
|
|||
test_expect_equal "$result" "$output"
|
||||
|
||||
test_begin_subtest 'comparing existing to exported symbols'
|
||||
nm -P $TEST_DIRECTORY/../lib/libnotmuch.so | awk '$2 == "T" && $1 ~ "^notmuch" {print $1}' | sort | uniq > ACTUAL
|
||||
sed -n 's/^\(notmuch_[a-zA-Z0-9_]*\)[[:blank:]]*(.*/\1/p' $TEST_DIRECTORY/../lib/notmuch.h | sort | uniq > EXPORTED
|
||||
nm -P $NOTMUCH_BUILDDIR/lib/libnotmuch.so | awk '$2 == "T" && $1 ~ "^notmuch" {print $1}' | sort | uniq > ACTUAL
|
||||
sed -n 's/^\(notmuch_[a-zA-Z0-9_]*\)[[:blank:]]*(.*/\1/p' $NOTMUCH_SRCDIR/lib/notmuch.h | sort | uniq > EXPORTED
|
||||
test_expect_equal_file EXPORTED ACTUAL
|
||||
|
||||
test_done
|
||||
|
|
Loading…
Reference in a new issue