summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/guix-package.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/guix-package.sh b/tests/guix-package.sh
index fd778f4f4f..fc80939646 100644
--- a/tests/guix-package.sh
+++ b/tests/guix-package.sh
@@ -95,6 +95,12 @@ then
     guix-package --bootstrap -p "$profile" --roll-back -i "$boot_guile"
     test "`readlink_base "$profile"`" = "$profile-5-link"
     test -x "$profile/bin/guile" && test -x "$profile/bin/make"
+
+    # Make a "hole" in the list of generations, and make sure we can
+    # roll back "over" it.
+    rm "$profile-4-link"
+    guix-package --bootstrap -p "$profile" --roll-back
+    test "`readlink_base "$profile"`" = "$profile-3-link"
 fi
 
 # Make sure the `:' syntax works.