From 796a5c0a9acb06a498e6835605bd52e26d3e0841 Mon Sep 17 00:00:00 2001 From: kodebach <23529132+kodebach@users.noreply.github.com> Date: Thu, 18 Feb 2021 18:02:47 +0100 Subject: [PATCH] Fix keyNew calls --- tests/abi/testabi_key.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/abi/testabi_key.c b/tests/abi/testabi_key.c index 3354a3eb326..b191cc22d5f 100644 --- a/tests/abi/testabi_key.c +++ b/tests/abi/testabi_key.c @@ -1476,11 +1476,11 @@ static void test_keyCopy (void) // check KEY_CP_NAME - orig = keyNew ("user:/orig"); + orig = keyNew ("user:/orig", KEY_END); keySetString (orig, "orig"); keySetMeta (orig, "orig", "orig"); - copy = keyNew ("user:/copy"); + copy = keyNew ("user:/copy", KEY_END); keySetString (copy, "copy"); keySetMeta (copy, "copy", "copy"); @@ -1500,11 +1500,11 @@ static void test_keyCopy (void) keyDel (copy); // check KEY_CP_VALUE - orig = keyNew ("user:/orig"); + orig = keyNew ("user:/orig", KEY_END); keySetString (orig, "orig"); keySetMeta (orig, "orig", "orig"); - copy = keyNew ("user:/copy"); + copy = keyNew ("user:/copy", KEY_END); keySetString (copy, "copy"); keySetMeta (copy, "copy", "copy"); @@ -1524,11 +1524,11 @@ static void test_keyCopy (void) keyDel (copy); // check KEY_CP_META - orig = keyNew ("user:/orig"); + orig = keyNew ("user:/orig", KEY_END); keySetString (orig, "orig"); keySetMeta (orig, "orig", "orig"); - copy = keyNew ("user:/copy"); + copy = keyNew ("user:/copy", KEY_END); keySetString (copy, "copy"); keySetMeta (copy, "copy", "copy");