Skip to content

Commit

Permalink
Fix the check-exports tests for versioned symbols
Browse files Browse the repository at this point in the history
  • Loading branch information
akheron committed Sep 9, 2021
1 parent 684e18c commit 0677666
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/suites/api/check-exports
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0677666

Please sign in to comment.