From a80f4c7681757070bd1b11313e30ecf5254f5d3a 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 cb6303347..18ec8ab2c 100644 --- a/ChangeLog.adoc +++ b/ChangeLog.adoc @@ -25,6 +25,7 @@ Bug fixes:: 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");