summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2013-07-10 01:00:19 +0200
committerLudovic Courtès <ludo@gnu.org>2013-07-10 01:00:19 +0200
commit03aedf8d7a05b8ce6793d1d4e0718d41c5a4c894 (patch)
treeec88738b5cd434292ef46784fb343f40b9fbd23c /tests
parentb592f7113edf6eccef8dcd5926616e09621e08c8 (diff)
downloadpatches-03aedf8d7a05b8ce6793d1d4e0718d41c5a4c894.tar
patches-03aedf8d7a05b8ce6793d1d4e0718d41c5a4c894.tar.gz
tests: Fix guix-package.sh in the presence of multiple-output `make'.
* tests/guix-package.sh: For $boot_make_drv, take only the "out" output. Reported by Nikita Karetnikov <nikita@karetnikov.org>.
Diffstat (limited to 'tests')
-rw-r--r--tests/guix-package.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/guix-package.sh b/tests/guix-package.sh
index 0eeec51e79..ee186ead83 100644
--- a/tests/guix-package.sh
+++ b/tests/guix-package.sh
@@ -55,7 +55,7 @@ test "`guix package --search-paths -p "$profile" | wc -l`" = 0
if guile -c '(getaddrinfo "www.gnu.org" "80" AI_NUMERICSERV)' 2> /dev/null
then
boot_make="(@@ (gnu packages base) gnu-make-boot0)"
- boot_make_drv="`guix build -e "$boot_make"`"
+ boot_make_drv="`guix build -e "$boot_make" | tail -1`"
guix package --bootstrap -p "$profile" -i "$boot_make_drv"
test -L "$profile-2-link"
test -f "$profile/bin/make" && test -f "$profile/bin/guile"