tests: fix fake_ntlm to run with a dynamic log directory

Ref: #10818
This commit is contained in:
Dan Fandrich 2023-03-29 12:20:02 -07:00
parent 8a298119f1
commit 0bdb95ecbf
8 changed files with 27 additions and 19 deletions

View file

@ -30,7 +30,7 @@ void logmsg(const char *msg, ...);
long timediff(struct timeval newer, struct timeval older);
#define TEST_DATA_PATH "%s/data/test%ld"
#define ALTTEST_DATA_PATH "%s/log/test%ld"
#define ALTTEST_DATA_PATH "%s/test%ld"
#define SERVERLOGS_LOCK "serverlogs.lock"
@ -57,7 +57,7 @@ void win32_cleanup(void);
#endif /* WIN32 */
/* fopens the test case file */
FILE *test2fopen(long testno);
FILE *test2fopen(long testno, const char *logdir);
int wait_ms(int timeout_ms);
curl_off_t our_getpid(void);