Blame SOURCES/Fix-the-check-exports-tests-for-versioned-symbols.patch

6bfc32
From 0677666f65b988b2dd44d02966a08fea490d5883 Mon Sep 17 00:00:00 2001
6bfc32
From: Petri Lehtinen <petri@digip.org>
6bfc32
Date: Thu, 9 Sep 2021 21:53:11 +0300
6bfc32
Subject: [PATCH] Fix the check-exports tests for versioned symbols
6bfc32
6bfc32
---
6bfc32
 test/suites/api/check-exports | 2 +-
6bfc32
 1 file changed, 1 insertion(+), 1 deletion(-)
6bfc32
6bfc32
diff --git a/test/suites/api/check-exports b/test/suites/api/check-exports
6bfc32
index 2b6b3c7..5c82064 100755
6bfc32
--- a/test/suites/api/check-exports
6bfc32
+++ b/test/suites/api/check-exports
6bfc32
@@ -15,7 +15,7 @@ grep 'json_\|jansson_' $top_srcdir/src/jansson.def \
6bfc32
 nm -D $SOFILE >/dev/null >$test_log/symbols 2>/dev/null \
6bfc32
     || exit 77  # Skip if "nm -D" doesn't seem to work
6bfc32
 
6bfc32
-grep ' [DT] ' $test_log/symbols | cut -d' ' -f3 | grep -v '^_' | sort >$test_log/output
6bfc32
+grep ' [DT] ' $test_log/symbols | cut -d' ' -f3 | grep -v '^_' | sed 's/@@libjansson.*//' | sort >$test_log/output
6bfc32
 
6bfc32
 if ! cmp -s $test_log/exports $test_log/output; then
6bfc32
     diff -u $test_log/exports $test_log/output >&2
6bfc32
-- 
6bfc32
2.27.0
6bfc32