mirror of
https://github.com/moparisthebest/curl
synced 2025-01-11 05:58:01 -05:00
tests: look for preprocessed tests in build directory
... which is not always the same directory as source directory Closes #5310
This commit is contained in:
parent
b4799e978e
commit
1066f5f0d4
@ -199,7 +199,7 @@ FILE *test2fopen(long testno)
|
||||
FILE *stream;
|
||||
char filename[256];
|
||||
/* first try the alternative, preprocessed, file */
|
||||
msnprintf(filename, sizeof(filename), ALTTEST_DATA_PATH, path, testno);
|
||||
msnprintf(filename, sizeof(filename), ALTTEST_DATA_PATH, ".", testno);
|
||||
stream = fopen(filename, "rb");
|
||||
if(stream)
|
||||
return stream;
|
||||
|
Loading…
Reference in New Issue
Block a user