From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nikita Karetnikov Subject: [PATCH] tests: Use a new synopsis of GNU Hello. (was: Synchronizing synopses with the Womb) Date: Thu, 18 Apr 2013 19:39:50 +0400 Message-ID: <8738unvoe1.fsf@karetnikov.org> References: <878v4h8736.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([208.118.235.92]:41952) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1USqtj-0001YV-1e for bug-guix@gnu.org; Thu, 18 Apr 2013 11:37:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1USqtg-0008CE-9w for bug-guix@gnu.org; Thu, 18 Apr 2013 11:37:18 -0400 In-Reply-To: <878v4h8736.fsf@gnu.org> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?= =?utf-8?Q?s?= message of "Wed, 17 Apr 2013 18:17:33 +0200") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: bug-guix@gnu.org --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Is it fine? (I removed tabs using 'M-x untabify'.) --=-=-= Content-Type: text/x-diff Content-Disposition: attachment; filename=0001-tests-Use-a-new-synopsis-of-GNU-Hello.patch Content-Transfer-Encoding: quoted-printable From=202d0563884dd6d0633dd34419512c49cdeb114e1b Mon Sep 17 00:00:00 2001 From: Nikita Karetnikov Date: Thu, 18 Apr 2013 15:22:40 +0000 Subject: [PATCH] tests: Use a new synopsis of GNU Hello. * tests/guix-package.sh: Use a new synopsis of GNU Hello, which was added in f50d2669e3e624365221cc81918ba55fdce94107. =2D-- tests/guix-package.sh | 21 +++++++++++---------- 1 files changed, 11 insertions(+), 10 deletions(-) diff --git a/tests/guix-package.sh b/tests/guix-package.sh index f84893b..7b101aa 100644 =2D-- a/tests/guix-package.sh +++ b/tests/guix-package.sh @@ -62,18 +62,19 @@ then # name and version string. installed=3D"`guix package -p "$profile" --list-installed | cut -f1 | = xargs echo | sort`" case "x$installed" in =2D "guile-bootstrap make-boot0") =2D true;; =2D "make-boot0 guile-bootstrap") =2D true;; =2D "*") + "guile-bootstrap make-boot0") + true;; + "make-boot0 guile-bootstrap") + true;; + "*") false;; esac =20 test "`guix package -p "$profile" -I 'g.*e' | cut -f1`" =3D "guile-boo= tstrap" =20 # Search. =2D test "`guix package -s "GNU Hello" | grep ^name:`" =3D "name: hello" + test "`guix package -s "An example GNU package" | grep ^name:`" =3D \ + "name: hello" test "`guix package -s "n0t4r341p4ck4g3"`" =3D "" =20 # Remove a package. @@ -92,10 +93,10 @@ then # Move to the empty profile. for i in `seq 1 3` do =2D guix package --bootstrap --roll-back -p "$profile" =2D ! test -f "$profile/bin" =2D ! test -f "$profile/lib" =2D test "`readlink_base "$profile"`" =3D "$profile-0-link" + guix package --bootstrap --roll-back -p "$profile" + ! test -f "$profile/bin" + ! test -f "$profile/lib" + test "`readlink_base "$profile"`" =3D "$profile-0-link" done =20 # Reinstall after roll-back to the empty profile. =2D-=20 1.7.5.4 --=-=-=-- --==-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iQIcBAEBAgAGBQJRcBPKAAoJEM+IQzI9IQ381J4P/2jJKtXR7mTlMWaJn8niVJj7 fFO3IrDTQQy1loUhzXxSWRgioipYuxvpFHFfTHkfVo9Mm5b7K1zQ0f+HBzzxPght tpgql0GEekpvt1Hl2+LIlFTewbgwlbHs7gCGG2GKtOgxrtS7PIQxo7GmZF3O3gVt wqsDZAu46iOJSwUbYft2jipwnPz+TeKoignM+kMavodjPaaZI7pHoHBpfMuBPqOQ qdLdiCt/woL4/GKG294gbuRLeKPiSRsqtHqqlicz4ISTNXouwq0u3iG5OiyTp5TG TIqvMZmgH66BtNwK3ZK0Ur3y7Maxudu/+4u9OVt35Agarq99qfz14ydeGHZRSG91 ULnqIAYDIh2ApKDI4GUQ7vRROXIMwpKry0cZ9pxkd3dwRARFFZIv4iEVTp8B0Glz WGd1z0fTfII2ARV3M/xZflcBH0AjPUDYiZb69r0BePmgqUcqegNe8u0CkAYYSzlO rHlqIK4Sv/OcWhuMU2LevFBaP6x3WC9u2Ypb1iAl86hc41ZatibAnW4Lq9Q+Jnw9 kMPDBH/kFUNGRlj1ms5zuVs7KZgfHWrXnxMVkgtfCbqvNweJbw6Y0yCDZzgzEE3y XPI3cEap5EOn/3NgFUDIR8Krkvy+JhEKNGiclBvCCQAEt6kSUp1fA5KlMWCgZfLi 1xxL873EDmidNU9E6+LD =AFl3 -----END PGP SIGNATURE----- --==-=-=--