Charles Celerier <[email protected]> writes:
>  test_begin_subtest 'comparing existing to exported symbols'
> -objdump -t $TEST_DIRECTORY/../lib/*.o | awk '$4 == ".text" && $6 ~ 
> "^notmuch" {print $6}' | sort | uniq > ACTUAL
> +nm -g $TEST_DIRECTORY/../lib/*.o | sed -n 
> 's/.*\s\+T\s\+_\(notmuch_.*\)/\1/p' | sort | uniq > ACTUAL
>  sed -n 's/[[:blank:]]*\(notmuch_[^;]*\);/\1/p' 
> $TEST_DIRECTORY/../notmuch.sym | sort | uniq > EXPORTED

Hmm. It seems like the _ there is wrong. It grabs all of the symbols
starting with _notmuch, which are symbols we _don't_ want exported.
It makes me wonder what ends up in "notmuch.sym" on MacOS, if that test
passes for you.

d
_______________________________________________
notmuch mailing list
[email protected]
http://notmuchmail.org/mailman/listinfo/notmuch

Reply via email to