diff options
Diffstat (limited to 'tests/test_helper.cpp')
| -rw-r--r-- | tests/test_helper.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/test_helper.cpp b/tests/test_helper.cpp index d9d2335..ada084b 100644 --- a/tests/test_helper.cpp +++ b/tests/test_helper.cpp @@ -10,10 +10,10 @@ #include "administration_reader.hpp" #include "administration_writer.hpp" -char* test_file_path = "build\\test.openbook"; -char* validation_file = "libs\\PEPPOL-EN16931-UBL.sch"; -char* result_file = "build\\invoice_report.xml"; -char* extract_dir = "build\\extracted"; +char* test_file_path = "build/test.openbook"; +char* validation_file = "libs/PEPPOL-EN16931-UBL.sch"; +char* result_file = "build/invoice_report.xml"; +char* extract_dir = "build/extracted"; static contact _create_nl_business() { @@ -177,7 +177,7 @@ static bool _test_peppol_file(char* id) zip_extract(test_file_path, extract_dir, 0, 0); char command[200]; - strops::format(command, 200, "java -jar libs\\schxslt-cli.jar -d %s\\%s.xml -s %s -o %s > NUL 2>&1", + strops::format(command, 200, "java -jar libs/schxslt-cli.jar -d %s/%s.xml -s %s -o %s > /dev/null 2>&1", extract_dir, id, validation_file, result_file); system(command); |
