You've already forked pgbackrest
mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2025-11-06 08:49:29 +02:00
Create TEST_PATH define in test.c.
This allows paths to be constructed without using sprintf(), which makes the tests simpler and faster.
This commit is contained in:
@@ -27,6 +27,9 @@ The test code is included directly so it can freely interact with the included C
|
||||
#include "common/error.h"
|
||||
#endif
|
||||
|
||||
// Path where the test is running
|
||||
#define TEST_PATH "{[C_TEST_PATH]}"
|
||||
|
||||
#include "common/harnessDebug.h"
|
||||
#include "common/harnessTest.intern.h"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user