1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2026-06-20 01:17:49 +02:00

Fix errant STRDEF() in command/backup unit test.

Use strNewZ() so the value persists past the block where it is assigned.
This commit is contained in:
David Steele
2025-09-16 20:38:02 +02:00
parent 5cc9d25817
commit 76ee6861fb
+1 -1
View File
@@ -1705,7 +1705,7 @@ testRun(void)
{
manifest = manifestNewInternal();
manifest->pub.data.backupType = backupTypeFull;
manifest->pub.data.backrestVersion = STRDEF("BOGUS");
manifest->pub.data.backrestVersion = strNewZ("BOGUS");
}
OBJ_NEW_END();