[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/03: tests: Adjust '--with-commit' test for tags.
From: |
guix-commits |
Subject: |
03/03: tests: Adjust '--with-commit' test for tags. |
Date: |
Sat, 4 Apr 2020 12:52:54 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 3cea55078857ecd8ca67fd7cf4eaebb13fb6d9d3
Author: Ludovic Courtès <address@hidden>
AuthorDate: Sat Apr 4 18:50:03 2020 +0200
tests: Adjust '--with-commit' test for tags.
This is a followup to efa578ecaece67366b4b0e2266de7c2faaa4ae54.
* tests/guix-build-branch.sh: Adjust '--with-commit=guile-gcrypt=v0.1.0'
test to expect the tag ID rather than the commit ID.
---
tests/guix-build-branch.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/guix-build-branch.sh b/tests/guix-build-branch.sh
index 2556a0c..c5b07e0 100644
--- a/tests/guix-build-branch.sh
+++ b/tests/guix-build-branch.sh
@@ -1,5 +1,5 @@
# GNU Guix --- Functional package management for GNU
-# Copyright © 2018, 2019 Ludovic Courtès <address@hidden>
+# Copyright © 2018, 2019, 2020 Ludovic Courtès <address@hidden>
#
# This file is part of GNU Guix.
#
@@ -54,7 +54,7 @@ test "$v0_1_0_drv" != "$orig_drv"
v0_1_0_drv="`guix build guix --with-commit=guile-gcrypt=v0.1.0 -d`"
guix gc -R "$v0_1_0_drv" | grep guile-gcrypt-0.1.0
-guix gc -R "$v0_1_0_drv" | grep guile-gcrypt-9e3eacd
+guix gc -R "$v0_1_0_drv" | grep guile-gcrypt-8fe64e8 # this is the tag ID
test "$v0_1_0_drv" != "$latest_drv"
test "$v0_1_0_drv" != "$orig_drv"