diff options
author | Petri Lehtinen <petri@digip.org> | 2021-09-09 21:53:11 +0300 |
---|---|---|
committer | Petri Lehtinen <petri@digip.org> | 2021-09-09 21:55:27 +0300 |
commit | 0677666f65b988b2dd44d02966a08fea490d5883 (patch) | |
tree | a73041c18d99474dd21e66f5a4d2fe6e624e3156 /test | |
parent | 684e18c927e89615c2d501737e90018f4930d6c5 (diff) | |
download | jansson-0677666f65b988b2dd44d02966a08fea490d5883.zip jansson-0677666f65b988b2dd44d02966a08fea490d5883.tar.gz jansson-0677666f65b988b2dd44d02966a08fea490d5883.tar.bz2 |
Fix the check-exports tests for versioned symbols
Diffstat (limited to 'test')
-rwxr-xr-x | test/suites/api/check-exports | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/suites/api/check-exports b/test/suites/api/check-exports index 2b6b3c7..5c82064 100755 --- a/test/suites/api/check-exports +++ b/test/suites/api/check-exports @@ -15,7 +15,7 @@ grep 'json_\|jansson_' $top_srcdir/src/jansson.def \ nm -D $SOFILE >/dev/null >$test_log/symbols 2>/dev/null \ || exit 77 # Skip if "nm -D" doesn't seem to work -grep ' [DT] ' $test_log/symbols | cut -d' ' -f3 | grep -v '^_' | sort >$test_log/output +grep ' [DT] ' $test_log/symbols | cut -d' ' -f3 | grep -v '^_' | sed 's/@@libjansson.*//' | sort >$test_log/output if ! cmp -s $test_log/exports $test_log/output; then diff -u $test_log/exports $test_log/output >&2 |