mirror of
https://github.com/curl/curl.git
synced 2026-08-24 16:33:33 +03: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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue