diff options
author | rillig <rillig@pkgsrc.org> | 2006-11-05 08:06:40 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2006-11-05 08:06:40 +0000 |
commit | 1ef9db96e7287d00e97a1525c58470aec98143c3 (patch) | |
tree | 12de09ff46858e39f1aab20f56cbebe770353bd9 /devel/cogito/patches | |
parent | 7104495b24e9bbc714b3acb5bfaac23fbafa46f2 (diff) | |
download | pkgsrc-1ef9db96e7287d00e97a1525c58470aec98143c3.tar.gz |
Updated cogito to 0.18.
Patch provided in PR 34862 by Anthony Mallet.
No ChangeLog available, I've sent a mail to the developers complaining
about that.
Diffstat (limited to 'devel/cogito/patches')
-rw-r--r-- | devel/cogito/patches/patch-aa | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/devel/cogito/patches/patch-aa b/devel/cogito/patches/patch-aa index e01c89850b3..a282eae8344 100644 --- a/devel/cogito/patches/patch-aa +++ b/devel/cogito/patches/patch-aa @@ -1,8 +1,7 @@ -$NetBSD: patch-aa,v 1.1 2006/10/16 00:44:15 wiz Exp $ - ---- t/test-lib.sh.orig 2005-11-27 16:26:16.000000000 +0000 -+++ t/test-lib.sh -@@ -87,16 +87,16 @@ test_failure_ () { +$NetBSD: patch-aa,v 1.2 2006/11/05 08:06:40 rillig Exp $ +--- t/test-lib.sh~ 2006-10-19 18:24:07.000000000 +0200 ++++ t/test-lib.sh 2006-10-19 18:26:02.000000000 +0200 +@@ -87,16 +87,16 @@ say "FAIL $test_count: $1" shift echo "$@" | sed -e 's/^/ /' @@ -21,8 +20,8 @@ $NetBSD: patch-aa,v 1.1 2006/10/16 00:44:15 wiz Exp $ + test "$#" = 2 || error "bug in the test script: not 2 parameters to test-expect-failure" say >&3 "expecting failure: $2" - if eval >&3 2>&4 "$2" -@@ -108,7 +108,7 @@ test_expect_failure () { + if eval </dev/null >&3 2>&4 "$2" +@@ -108,7 +108,7 @@ } test_expect_success () { @@ -30,4 +29,4 @@ $NetBSD: patch-aa,v 1.1 2006/10/16 00:44:15 wiz Exp $ + test "$#" = 2 || error "bug in the test script: not 2 parameters to test-expect-success" say >&3 "expecting success: $2" - if eval >&3 2>&4 "$2" + if eval </dev/null >&3 2>&4 "$2" |