unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Nikita Karetnikov <nikita@karetnikov.org>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: bug-guix@gnu.org
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	[thread overview]
Message-ID: <8738unvoe1.fsf@karetnikov.org> (raw)
In-Reply-To: <878v4h8736.fsf@gnu.org> ("Ludovic Courtès"'s message of "Wed, 17 Apr 2013 18:17:33 +0200")


[-- Attachment #1.1: Type: text/plain, Size: 53 bytes --]

Is it fine?

(I removed tabs using 'M-x untabify'.)


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.2: 0001-tests-Use-a-new-synopsis-of-GNU-Hello.patch --]
[-- Type: text/x-diff, Size: 1959 bytes --]

From 2d0563884dd6d0633dd34419512c49cdeb114e1b Mon Sep 17 00:00:00 2001
From: Nikita Karetnikov <nikita@karetnikov.org>
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.
---
 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
--- a/tests/guix-package.sh
+++ b/tests/guix-package.sh
@@ -62,18 +62,19 @@ then
     # name and version string.
     installed="`guix package -p "$profile" --list-installed | cut -f1 | xargs echo | sort`"
     case "x$installed" in
-	"guile-bootstrap make-boot0")
-	    true;;
-	"make-boot0 guile-bootstrap")
-	    true;;
-	"*")
+        "guile-bootstrap make-boot0")
+            true;;
+        "make-boot0 guile-bootstrap")
+            true;;
+        "*")
             false;;
     esac
 
     test "`guix package -p "$profile" -I 'g.*e' | cut -f1`" = "guile-bootstrap"
 
     # Search.
-    test "`guix package -s "GNU Hello" | grep ^name:`" = "name: hello"
+    test "`guix package -s "An example GNU package" | grep ^name:`" = \
+        "name: hello"
     test "`guix package -s "n0t4r341p4ck4g3"`" = ""
 
     # Remove a package.
@@ -92,10 +93,10 @@ then
     # Move to the empty profile.
     for i in `seq 1 3`
     do
-	guix package --bootstrap --roll-back -p "$profile"
-	! test -f "$profile/bin"
-	! test -f "$profile/lib"
-	test "`readlink_base "$profile"`" = "$profile-0-link"
+        guix package --bootstrap --roll-back -p "$profile"
+        ! test -f "$profile/bin"
+        ! test -f "$profile/lib"
+        test "`readlink_base "$profile"`" = "$profile-0-link"
     done
 
     # Reinstall after roll-back to the empty profile.
-- 
1.7.5.4


[-- Attachment #2: Type: application/pgp-signature, Size: 835 bytes --]

  reply	other threads:[~2013-04-18 15:37 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-17 16:17 Synchronizing synopses with the Womb Ludovic Courtès
2013-04-18 15:39 ` Nikita Karetnikov [this message]
2013-04-18 15:46   ` [PATCH] tests: Use a new synopsis of GNU Hello Ludovic Courtès
2013-04-18 22:39 ` Synchronizing synopses with the Womb Karl Berry
2013-04-19  9:59   ` Ludovic Courtès
2013-04-19 14:30     ` Brandon Invergo
2013-04-20  9:02       ` Ludovic Courtès
2013-04-20 10:58         ` Brandon Invergo
2013-04-20 11:00           ` Brandon Invergo
2013-04-20 13:46             ` Ludovic Courtès
2013-04-20 15:12               ` Brandon Invergo
2013-04-20 15:34                 ` Brandon Invergo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8738unvoe1.fsf@karetnikov.org \
    --to=nikita@karetnikov.org \
    --cc=bug-guix@gnu.org \
    --cc=ludo@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).