1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2025-02-07 13:42:41 +02:00

Add missing FUNCTION_TEST*() macros.

This commit is contained in:
David Steele 2022-04-26 10:36:27 -04:00
parent 7eed9730aa
commit 3310decf8e

View File

@ -241,6 +241,10 @@ cryptoHashNew(const String *type)
IoFilter * IoFilter *
cryptoHashNewPack(const Pack *const paramList) cryptoHashNewPack(const Pack *const paramList)
{ {
FUNCTION_TEST_BEGIN();
FUNCTION_TEST_PARAM(PACK, paramList);
FUNCTION_TEST_END();
IoFilter *result = NULL; IoFilter *result = NULL;
MEM_CONTEXT_TEMP_BEGIN() MEM_CONTEXT_TEMP_BEGIN()
@ -249,7 +253,7 @@ cryptoHashNewPack(const Pack *const paramList)
} }
MEM_CONTEXT_TEMP_END(); MEM_CONTEXT_TEMP_END();
return result; FUNCTION_TEST_RETURN(IO_FILTER, result);
} }
/**********************************************************************************************************************************/ /**********************************************************************************************************************************/