From bf72a3fb54d042b95f513a3e95358c6a3cf5bd90 Mon Sep 17 00:00:00 2001 From: jmmv Date: Sun, 7 Nov 2010 13:41:14 +0000 Subject: 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. --- devel/atf/PLIST | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'devel/atf/PLIST') 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 -- cgit v1.2.3