summaryrefslogtreecommitdiff
path: root/devel/atf
diff options
context:
space:
mode:
authorjmmv <jmmv@pkgsrc.org>2010-11-07 13:41:14 +0000
committerjmmv <jmmv@pkgsrc.org>2010-11-07 13:41:14 +0000
commit059d0a3386517813f1477c8b57e553e13ae9ad71 (patch)
treefb0d041d77eefd902507347d3da09d3b0147336a /devel/atf
parent4e6d09e3e78e9581f8e005baf3c74be30862e417 (diff)
downloadpkgsrc-059d0a3386517813f1477c8b57e553e13ae9ad71.tar.gz
Update atf to 0.12:
* Added the ATF_REQUIRE_THROW_RE to atf-c++, which is the same as ATF_REQUIRE_THROW but allows checking for the validity of the exception's error message by means of a regular expression. * Added the ATF_REQUIRE_MATCH to atf-c++, which allows checking for a regular expression match in a string. * Changed the default timeout for test cases from 5 minutes to 30 seconds. 30 seconds is long enough for virtually all tests to complete, and 5 minutes is a way too long pause in a test suite where a single test case stalls. * Deprecated the use.fs property. While this seemed like a good idea in the first place to impose more control on what test cases can do, it turns out to be bad. First, use.fs=false prevents bogus test cases from dumping core so after-the-fact debugging is harder. Second, supporting use.fs adds a lot of unnecessary complexity. atf-run will now ignore any value provided to use.fs and will allow test cases to freely access the file system if they wish to. * Added the atf_tc_get_config_var_as_{bool,long}{,_wd} functions to the atf-c library. The 'text' module became private in 0.11 but was being used externally to simplify the parsing of configuration variables. * Made atf-run recognize the 'unprivileged-user' configuration variable and automatically drop root privileges when a test case sets require.user=unprivileged. Note that this is, by no means, done for security purposes; this is just for user convenience; tests should, in general, not be blindly run as root in the first place.
Diffstat (limited to 'devel/atf')
-rw-r--r--devel/atf/Makefile6
-rw-r--r--devel/atf/PLIST3
-rw-r--r--devel/atf/distinfo8
3 files changed, 9 insertions, 8 deletions
diff --git a/devel/atf/Makefile b/devel/atf/Makefile
index 36d748462db..1db92b0b745 100644
--- a/devel/atf/Makefile
+++ b/devel/atf/Makefile
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.14 2010/10/20 08:21:07 jmmv Exp $
+# $NetBSD: Makefile,v 1.15 2010/11/07 13:41:14 jmmv Exp $
#
-DISTNAME= atf-0.11
+DISTNAME= atf-0.12
CATEGORIES= devel
-MASTER_SITES= ftp://ftp.NetBSD.org/pub/NetBSD/misc/jmmv/atf/0.11/
+MASTER_SITES= ftp://ftp.NetBSD.org/pub/NetBSD/misc/jmmv/atf/0.12/
MAINTAINER= jmmv@NetBSD.org
HOMEPAGE= http://www.NetBSD.org/~jmmv/atf/
diff --git a/devel/atf/PLIST b/devel/atf/PLIST
index a7ae91235c7..7b18bdca034 100644
--- a/devel/atf/PLIST
+++ b/devel/atf/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.13 2010/10/20 08:21:07 jmmv Exp $
+@comment $NetBSD: PLIST,v 1.14 2010/11/07 13:41:14 jmmv Exp $
bin/atf-config
bin/atf-report
bin/atf-run
@@ -47,6 +47,7 @@ share/doc/atf/COPYING
share/doc/atf/NEWS
share/doc/atf/README
share/examples/atf/atf-run.hooks
+share/examples/atf/common.conf
share/examples/atf/tests-results.css
share/xml/atf/tests-results.dtd
share/xsl/atf/tests-results.xsl
diff --git a/devel/atf/distinfo b/devel/atf/distinfo
index 57e83c7d12f..7961a363281 100644
--- a/devel/atf/distinfo
+++ b/devel/atf/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.11 2010/10/20 08:21:07 jmmv Exp $
+$NetBSD: distinfo,v 1.12 2010/11/07 13:41:14 jmmv Exp $
-SHA1 (atf-0.11.tar.gz) = 4fb4fd8f1b5d48713b969eae2e1392aa6eb0289f
-RMD160 (atf-0.11.tar.gz) = 1762c7f4dce14ba3ec48d470762af839ba53a881
-Size (atf-0.11.tar.gz) = 604699 bytes
+SHA1 (atf-0.12.tar.gz) = 6dd0988d44ed76b7d15e53978e7aec043baa9010
+RMD160 (atf-0.12.tar.gz) = 0fa6a840598c5eba89fc74ca69fca94b993244ea
+Size (atf-0.12.tar.gz) = 605664 bytes