From 6c9ff45e5c70d35ae717a51053fa87eb87144088 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Sat, 1 Jul 2023 09:52:02 +0200 Subject: [PATCH] tests: fix hdata tests failure on Alpine 3.18 --- ChangeLog.adoc | 1 + tests/unit/core/test-core-hdata.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ChangeLog.adoc b/ChangeLog.adoc index f142bc2a8..7bd50b4c3 100644 --- a/ChangeLog.adoc +++ b/ChangeLog.adoc @@ -15,6 +15,7 @@ For a list of important changes that require manual actions, please look at rele Tests:: + * core: fix hdata tests failure on Alpine 3.18 * relay: fix crash in tests on Alpine 3.18 Build:: diff --git a/tests/unit/core/test-core-hdata.cpp b/tests/unit/core/test-core-hdata.cpp index 941582ebb..40a874818 100644 --- a/tests/unit/core/test-core-hdata.cpp +++ b/tests/unit/core/test-core-hdata.cpp @@ -526,7 +526,7 @@ TEST_GROUP(CoreHdataWithList) item->test_string = strdup ("item2"); item->test_string2 = strdup ("string2"); item->test_string3 = NULL; - ptr_item1->test_string_null = NULL; + item->test_string_null = NULL; item->test_shared_string = string_shared_get ("item2_shared"); strcpy (item->test_array_2_words_fixed_size[0], "item2-word1"); strcpy (item->test_array_2_words_fixed_size[1], "item2-word2");