You've already forked pgbackrest
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:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user