summary refs log tree commit diff
path: root/tests/guix-build-branch.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/guix-build-branch.sh')
-rw-r--r--tests/guix-build-branch.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/guix-build-branch.sh b/tests/guix-build-branch.sh
index bc50d9c0ef..89c1a3cce0 100644
--- a/tests/guix-build-branch.sh
+++ b/tests/guix-build-branch.sh
@@ -46,3 +46,8 @@ orig_drv="`guix build guix -d`"
 latest_drv="`guix build guix --with-branch=guile-gcrypt=master -d`"
 guix gc -R "$latest_drv" | grep guile-gcrypt-git.master
 test "$orig_drv" != "$latest_drv"
+
+v0_1_0_drv="`guix build guix --with-commit=guile-gcrypt=9e3eacdec1d -d`"
+guix gc -R "$v0_1_0_drv" | grep guile-gcrypt-git.9e3eacd
+test "$v0_1_0_drv" != "$latest_drv"
+test "$v0_1_0_drv" != "$orig_drv"