3 # This tests checks that the libjansson.so exports the correct
6 # The list of symbols that the shared object should export
7 sort >$test_log/exports <<EOF
16 json_string_set_nocheck
37 json_object_set_new_nocheck
44 json_object_iter_value
56 # The list of functions are not exported in the library because they
57 # are macros or static inline functions. This is only the make the
58 # list complete, there are not used by the test.
59 sort >$test_log/macros_or_inline <<EOF
78 json_object_set_nocheck
81 SOFILE="../src/.libs/libjansson.so"
83 nm -D $SOFILE | grep ' T ' | cut -d' ' -f3 | sort >$test_log/output
85 if ! cmp -s $test_log/exports $test_log/output; then
86 diff -u $test_log/exports $test_log/output >&2