kyua: update to 0.4.

This commit is contained in:
Juan RP 2012-06-07 06:58:56 +02:00
parent 8768fe25de
commit 46937a7730
2 changed files with 5 additions and 22 deletions

View File

@ -1,16 +0,0 @@
diff --git a/utils/fs/operations.cpp b/utils/fs/operations.cpp
index a4461c1..bdc23b9 100644
--- utils/fs/operations.cpp
+++ utils/fs/operations.cpp
@@ -356,7 +356,10 @@ recursive_cleanup(const fs::path& current_path, const struct ::stat& parent_sb)
{
bool ok = true;
- ok &= try_unprotect(current_path);
+ // Weakening the protections of a file is just a best-effort operation.
+ // If this fails, we may still be able to do the file/directory removal
+ // later on, so ignore any failures from try_unprotect().
+ (void)try_unprotect(current_path);
const optional< struct ::stat > current_sb = try_stat(current_path);
if (!current_sb)

View File

@ -1,20 +1,19 @@
# Template file for 'kyua'
pkgname=kyua
version=0.3
revision=2
version=0.4
revision=1
wrksrc="kyua-cli-${version}"
homepage="http://code.google.com/p/kyua"
distfiles="https://kyua.googlecode.com/files/kyua-cli-$version.tar.gz"
build_style=gnu-configure
makedepends="pkg-config doxygen atf-devel lutok-devel sqlite-devel"
short_desc="Automated Testing Framework (a replacement for ATF)"
maintainer="Juan RP <xtraeme@gmail.com>"
license="BSD"
checksum=46c35bc425535d79092e14d1d20890f2ef6d677e9efe333beecfa4e18805e872
homepage="http://code.google.com/p/kyua"
distfiles="https://kyua.googlecode.com/files/kyua-cli-$version.tar.gz"
checksum=9ba7392ef55c73d0163f94f361470f88d5ddec53fa85c328d94c1edc0cce174a
long_desc="
Kyua (pronounced Q.A.) is a testing framework for both developers and users.
Kyua is different from most other testing frameworks in that it puts the end
user experience before anything else. There are multiple reasons for users to
run the tests themselves, and Kyua ensures that they can do so in the most
convenient way."