diff options
author | Nikita Karetnikov <nikita@karetnikov.org> | 2013-09-24 22:18:09 +0000 |
---|---|---|
committer | Nikita Karetnikov <nikita@karetnikov.org> | 2013-09-25 16:08:39 +0000 |
commit | 4b2bc804d861ff5ba550dac0b56f1fe44f079847 (patch) | |
tree | 9f4ab9edd94e9dcd6e851e05588a58c3865152fd /tests | |
parent | 0ab212b9466d5aa3fe801c9137248703245d8513 (diff) | |
download | guix-4b2bc804d861ff5ba550dac0b56f1fe44f079847.tar.gz |
guix package: Do not list the zeroth generation.
* guix/scripts/package.scm (guix-package)[process-query]: Change 'list-generation' to not list the zeroth generation. * tests/guix-package.sh: Test it. * doc/guix.texi (Invoking guix package): Document it, and use the right term when talking about generations.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/guix-package.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/guix-package.sh b/tests/guix-package.sh index f1f7ee6c7d..7130926404 100644 --- a/tests/guix-package.sh +++ b/tests/guix-package.sh @@ -111,6 +111,9 @@ then test "`readlink_base "$profile"`" = "$profile-0-link" done + # Test that '--list-generations' does not output the zeroth generation. + test -z "`guix package -p "$profile" -l 0`" + # Reinstall after roll-back to the empty profile. guix package --bootstrap -p "$profile" -e "$boot_make" test "`readlink_base "$profile"`" = "$profile-1-link" |