[Pkg-clamav-commits] [SCM] Debian repository for ClamAV branch, debian/unstable, updated. debian/0.95+dfsg-1-6156-g094ec9b
Török Edvin
edwin at clamav.net
Sun Apr 4 01:08:25 UTC 2010
The following commit has been merged in the debian/unstable branch:
commit b3c69e92360bc7a9a0262669a339f48716eef334
Author: Török Edvin <edwin at clamav.net>
Date: Mon Oct 26 19:35:27 2009 +0200
More verbose error message in unit test.
diff --git a/unit_tests/check_jsnorm.c b/unit_tests/check_jsnorm.c
index 583e3ea..d24d5b0 100644
--- a/unit_tests/check_jsnorm.c
+++ b/unit_tests/check_jsnorm.c
@@ -31,6 +31,7 @@
#include <check.h>
#include <fcntl.h>
#include <ctype.h>
+#include <errno.h>
#include "../libclamav/clamav.h"
#include "../libclamav/others.h"
#include "../libclamav/dconf.h"
@@ -212,7 +213,7 @@ static void jstest_setup(void)
fail_unless(!!state, "js init");
tmpdir = cli_gentemp(NULL);
fail_unless(!!tmpdir,"js tmp dir");
- fail_unless_fmt(mkdir(tmpdir, 0700) == 0, "tempdir mkdir failed: %s", strerror(errno));
+ fail_unless_fmt(mkdir(tmpdir, 0700) == 0, "tempdir mkdir of %s failed: %s", tmpdir, strerror(errno));
}
static void jstest_teardown(void)
--
Debian repository for ClamAV
More information about the Pkg-clamav-commits
mailing list