aboutsummaryrefslogtreecommitdiff
path: root/tests/guix-build-branch.sh
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2019-07-26 11:16:10 +0200
committerLudovic Courtès <ludo@gnu.org>2019-07-26 11:21:36 +0200
commit10a8c2bbc6754bddb0e5d668b3ecc9050efd820b (patch)
treea858fad2771128017dbf531cc35b1af72c77976d /tests/guix-build-branch.sh
parent177fecb57c0c9e15249bf6a49244c9dc6eb8439c (diff)
downloadguix-10a8c2bbc6754bddb0e5d668b3ecc9050efd820b.tar
guix-10a8c2bbc6754bddb0e5d668b3ecc9050efd820b.tar.gz
git: 'switch-to-ref' resolves tag targets.
* guix/git.scm (switch-to-ref): In the 'tag' case, resolve the target of the tag. * tests/guix-build-branch.sh: Adjust test accordingly.
Diffstat (limited to 'tests/guix-build-branch.sh')
-rw-r--r--tests/guix-build-branch.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/guix-build-branch.sh b/tests/guix-build-branch.sh
index 0cec7c75db..3d2a7dddf5 100644
--- a/tests/guix-build-branch.sh
+++ b/tests/guix-build-branch.sh
@@ -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-git.v0.1.0
-guix gc -R "$v0_1_0_drv" | grep guile-gcrypt-8fe64e8 # this is the *tag* ID
+guix gc -R "$v0_1_0_drv" | grep guile-gcrypt-9e3eacd
test "$v0_1_0_drv" != "$latest_drv"
test "$v0_1_0_drv" != "$orig_drv"