about summary refs log tree commit diff
path: root/boot/tests
diff options
context:
space:
mode:
authorMel <mel@rnrd.eu>2025-07-04 19:00:54 +0200
committerMel <mel@rnrd.eu>2025-07-04 19:00:54 +0200
commit6d186ac284cf35ab42e21c2538947b8786373a21 (patch)
tree2f579f55bad94e2eb5a453cbfb88ed3cf28fbf95 /boot/tests
parent7817842632f27a8b894de724ecc1df590142455f (diff)
downloadcatskill-6d186ac284cf35ab42e21c2538947b8786373a21.tar.zst
catskill-6d186ac284cf35ab42e21c2538947b8786373a21.zip
Do not remove failed test artifact file for inspection
Signed-off-by: Mel <mel@rnrd.eu>
Diffstat (limited to 'boot/tests')
-rw-r--r--boot/tests/test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/boot/tests/test.c b/boot/tests/test.c
index 5c0eb90..18c0507 100644
--- a/boot/tests/test.c
+++ b/boot/tests/test.c
@@ -374,7 +374,7 @@ run_test(const ascii* test_definition_path, const ascii* base_command)
         struct Temporary_File wrong_output_file = temporary_file_from_string(output);
         fprintf(stderr, "'%s': completed with incorrect output. written to %s.\n",
                 test_definition_path, wrong_output_file.path);
-        temporary_file_delete(wrong_output_file);
+        free(wrong_output_file.path); // free but don't delete.
         success = false;
     }