mirror of
https://git.code.sf.net/p/zint/code
synced 2025-12-18 10:27:09 +00:00
Move only downwards in the filesystem hierarchy
This will pick up the local copies of the test data by default, without needing to create a subdirectory in the backend/tests path and executing the tests from there. The Current Working Directory can be set if this proves to be insufficient
This commit is contained in:
@@ -41,8 +41,8 @@ static void test_csv(int index, int debug) {
|
||||
|
||||
testStart("");
|
||||
|
||||
FILE *fd = fopen("../data/imail/usps/uspsIMbEncoderTestCases.csv", "r");
|
||||
assert_nonnull(fd, "open ../data/imail/usps/uspsIMbEncoderTestCases.csv");
|
||||
FILE *fd = fopen("data/imail/usps/uspsIMbEncoderTestCases.csv", "r");
|
||||
assert_nonnull(fd, "open data/imail/usps/uspsIMbEncoderTestCases.csv");
|
||||
|
||||
char buffer[1024];
|
||||
char id[10];
|
||||
|
||||
Reference in New Issue
Block a user