pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc Fix "test ==".



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e46e476d2013
branches:  trunk
changeset: 520124:e46e476d2013
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Mon Oct 16 00:37:56 2006 +0000

description:
Fix "test ==".

diffstat:

 devel/bzr/distinfo                        |   3 +-
 devel/bzr/patches/patch-aa                |  21 +++++++++++++++++++
 devel/cogito/distinfo                     |   3 +-
 devel/cogito/patches/patch-aa             |  33 +++++++++++++++++++++++++++++++
 textproc/gnome-doc-utils/distinfo         |   3 +-
 textproc/gnome-doc-utils/patches/patch-aa |  13 ++++++++++++
 6 files changed, 73 insertions(+), 3 deletions(-)

diffs (112 lines):

diff -r 5a7193f66681 -r e46e476d2013 devel/bzr/distinfo
--- a/devel/bzr/distinfo        Sun Oct 15 22:54:26 2006 +0000
+++ b/devel/bzr/distinfo        Mon Oct 16 00:37:56 2006 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.5 2006/10/04 20:55:14 wiz Exp $
+$NetBSD: distinfo,v 1.6 2006/10/16 00:45:25 wiz Exp $
 
 SHA1 (bzr-0.11.tar.gz) = ce629bba4594bb15ab996caa3d7dc12680ee49dd
 RMD160 (bzr-0.11.tar.gz) = 3e6b283669587455d1c59af614a6a7e5eba15c0c
 Size (bzr-0.11.tar.gz) = 1040731 bytes
+SHA1 (patch-aa) = 8eda90885b3127525330cd3432538fb2b4df98c1
diff -r 5a7193f66681 -r e46e476d2013 devel/bzr/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/bzr/patches/patch-aa        Mon Oct 16 00:37:56 2006 +0000
@@ -0,0 +1,21 @@
+$NetBSD: patch-aa,v 1.1 2006/10/16 00:45:25 wiz Exp $
+
+--- contrib/fortune.orig       2006-10-01 23:39:28.000000000 +0000
++++ contrib/fortune
+@@ -3,14 +3,14 @@
+ # Put this on your $BZRPATH to use it to demonstrate bzr external plugins
+ 
+ 
+-if [ x$1 == x--bzr-usage ]
++if [ x$1 = x--bzr-usage ]
+ then
+     # options
+     echo ""
+     # arguments
+     echo ""
+     exit 0
+-elif [ x$1 == x--bzr-help ]
++elif [ x$1 = x--bzr-help ]
+ then
+     echo "display a fortune cookie"
+     echo 
diff -r 5a7193f66681 -r e46e476d2013 devel/cogito/distinfo
--- a/devel/cogito/distinfo     Sun Oct 15 22:54:26 2006 +0000
+++ b/devel/cogito/distinfo     Mon Oct 16 00:37:56 2006 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.1.1.1 2006/09/02 20:58:22 rillig Exp $
+$NetBSD: distinfo,v 1.2 2006/10/16 00:44:15 wiz Exp $
 
 SHA1 (cogito-0.16.tar.bz2) = c2f05217a6f9e1bd4233d2a101bb6bbacf0521b7
 RMD160 (cogito-0.16.tar.bz2) = ca92effa6d313b430b9f15f238c187a3318a50ef
 Size (cogito-0.16.tar.bz2) = 80407 bytes
+SHA1 (patch-aa) = 45f08d99399f698a196469b6dec78bc4277089fa
diff -r 5a7193f66681 -r e46e476d2013 devel/cogito/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/cogito/patches/patch-aa     Mon Oct 16 00:37:56 2006 +0000
@@ -0,0 +1,33 @@
+$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_ () {
+       say "FAIL $test_count: $1"
+       shift
+       echo "$@" | sed -e 's/^/        /'
+-      test "$immediate" == "" || exit 1
++      test "$immediate" = "" || exit 1
+ }
+ 
+ 
+ test_debug () {
+-      test "$debug" == "" || eval "$1"
++      test "$debug" = "" || eval "$1"
+ }
+ 
+ test_expect_failure () {
+-      test "$#" == 2 ||
++      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 () {
+ }
+ 
+ test_expect_success () {
+-      test "$#" == 2 ||
++      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"
diff -r 5a7193f66681 -r e46e476d2013 textproc/gnome-doc-utils/distinfo
--- a/textproc/gnome-doc-utils/distinfo Sun Oct 15 22:54:26 2006 +0000
+++ b/textproc/gnome-doc-utils/distinfo Mon Oct 16 00:37:56 2006 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.8 2006/09/15 15:05:52 jmmv Exp $
+$NetBSD: distinfo,v 1.9 2006/10/16 00:37:56 wiz Exp $
 
 SHA1 (gnome-doc-utils-0.8.0.tar.bz2) = d134ae18e4fd3a4de3aa6879a67fb93e23e860db
 RMD160 (gnome-doc-utils-0.8.0.tar.bz2) = f09b22cfefaba8e38072f829b3f8b064fceb5657
 Size (gnome-doc-utils-0.8.0.tar.bz2) = 412273 bytes
+SHA1 (patch-aa) = 18162b7257845f243bce698d945985c08bdd0a5e
diff -r 5a7193f66681 -r e46e476d2013 textproc/gnome-doc-utils/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/gnome-doc-utils/patches/patch-aa Mon Oct 16 00:37:56 2006 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1 2006/10/16 00:37:56 wiz Exp $
+
+--- gnome-doc-prepare.in.orig  2005-09-13 13:40:59.000000000 +0000
++++ gnome-doc-prepare.in
+@@ -139,7 +139,7 @@ EOF
+     ;;
+ 
+   *)
+-    if [ "x$docname" == "xyes" ]
++    if [ "x$docname" = "xyes" ]
+     then
+       newdocument="$arg" 
+       docname=no



Home | Main Index | Thread Index | Old Index