[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:24 UTC 2010


The following commit has been merged in the debian/unstable branch:
commit 7d5e0e1e5aaf0fb5e8a8641615b01d32675fc08f
Author: Török Edvin <edwin at clamav.net>
Date:   Mon Oct 26 19:10:26 2009 +0200

    Make error message more verbose.

diff --git a/unit_tests/check_jsnorm.c b/unit_tests/check_jsnorm.c
index 42bb568..583e3ea 100644
--- a/unit_tests/check_jsnorm.c
+++ b/unit_tests/check_jsnorm.c
@@ -212,7 +212,7 @@ static void jstest_setup(void)
 	fail_unless(!!state, "js init");
 	tmpdir = cli_gentemp(NULL);
 	fail_unless(!!tmpdir,"js tmp dir");
-	fail_unless(mkdir(tmpdir, 0700) == 0, "tempdir mkdir");
+	fail_unless_fmt(mkdir(tmpdir, 0700) == 0, "tempdir mkdir failed: %s", strerror(errno));
 }
 
 static void jstest_teardown(void)

-- 
Debian repository for ClamAV



More information about the Pkg-clamav-commits mailing list