From 4358437e05c567da3226a5b7288de680d34fb523 Mon Sep 17 00:00:00 2001 From: jvoisin Date: Thu, 28 Dec 2017 18:17:41 +0100 Subject: Bump again the coverage --- Makefile | 2 +- src/sp_upload_validation.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 834d1f8..8c54f8c 100644 --- a/Makefile +++ b/Makefile @@ -35,7 +35,7 @@ else TEST_PHP_ARGS='-q' REPORT_EXIT_STATUS=1 make -C src test lcov --base-directory ./src --directory ./src -c -o ./src/COV.info --rc lcov_branch_coverage=1 lcov --remove src/COV.info '/usr/*' --remove src/COV.info '*tweetnacl.c' -o src/COV.info --rc lcov_branch_coverage=1 - genhtml -o src/COV.html ./src/COV.info --branch-coverage + genhtml --show-details -o src/COV.html ./src/COV.info --branch-coverage endif bench: joomla ## run the benchmark diff --git a/src/sp_upload_validation.c b/src/sp_upload_validation.c index 4d52266..73244ae 100644 --- a/src/sp_upload_validation.c +++ b/src/sp_upload_validation.c @@ -67,10 +67,12 @@ int sp_rfc1867_callback(unsigned int event, void *event_data, void **extra) { exit(1); } } else if (pid == -1) { + // LCOV_EXCL_START sp_log_err("upload_validation", "Could not fork process : %s\n", strerror(errno)); EFREE_3(env); continue; + // LCOV_EXCL_STOP } EFREE_3(env); -- cgit v1.3