[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
09/10: tests: install: Add %test-gui-installed-os-encrypted.
From: |
guix-commits |
Subject: |
09/10: tests: install: Add %test-gui-installed-os-encrypted. |
Date: |
Thu, 27 Feb 2020 11:00:32 -0500 (EST) |
mothacehe pushed a commit to branch wip-installer-tests
in repository guix.
commit d1a0c28ab864a24b00e1103af18d560ed20f0f7b
Author: Mathieu Othacehe <address@hidden>
AuthorDate: Thu Feb 27 16:22:51 2020 +0100
tests: install: Add %test-gui-installed-os-encrypted.
* gnu/tests/install.scm (%test-gui-installed-os-encrypted): New variable,
(guided-installation-test): set a swap-device only if there is no
encryption.
---
gnu/tests/install.scm | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)
diff --git a/gnu/tests/install.scm b/gnu/tests/install.scm
index 8480c95..9ecc45c 100644
--- a/gnu/tests/install.scm
+++ b/gnu/tests/install.scm
@@ -50,7 +50,8 @@
%test-btrfs-root-os
%test-jfs-root-os
- %test-gui-installed-os))
+ %test-gui-installed-os
+ %test-gui-installed-os-encrypted))
;;; Commentary:
;;;
@@ -1045,7 +1046,9 @@ build (current-guix) and then store a couple of full
system images.")
(supplementary-groups
'("wheel" "audio" "video"))))
%base-user-accounts))
- (swap-devices '("/dev/vdb2"))
+ ;; The installer does not create a swap device in guided mode with
+ ;; encryption support.
+ (swap-devices (if encrypted? '() '("/dev/vdb2")))
(services (cons (service dhcp-client-service-type)
(operating-system-user-services %minimal-os)))))
@@ -1071,9 +1074,8 @@ build (current-guix) and then store a couple of full
system images.")
(guided-installation-test "gui-installed-os"
#:encrypted? #f))
-;; (define %test-gui-installed-os
-;; ;; FIXME: Fails due to <https://bugs.gnu.org/39712>.
-;; (guided-installation-test "gui-installed-os-encrypted"
-;; #:encrypted? #t))
+(define %test-gui-installed-os-encrypted
+ (guided-installation-test "gui-installed-os-encrypted"
+ #:encrypted? #t))
;;; install.scm ends here
- branch wip-installer-tests created (now 2fb51ba), guix-commits, 2020/02/27
- 04/10: installer: Bypass connectivity check when /tmp/installer-assume-online exists., guix-commits, 2020/02/27
- 05/10: installer: Run commands without hopping through the shell., guix-commits, 2020/02/27
- 10/10: services: herd: Add restart-service., guix-commits, 2020/02/27
- 01/10: tests: 'run-basic-test' can enter a root password., guix-commits, 2020/02/27
- 06/10: installer: Honor /tmp/installer-system-init-options., guix-commits, 2020/02/27
- 08/10: installer: Fix cow-store umount., guix-commits, 2020/02/27
- 09/10: tests: install: Add %test-gui-installed-os-encrypted.,
guix-commits <=
- 02/10: installer: Use a Guile-Newt snapshot that supports 'form-watch-fd'., guix-commits, 2020/02/27
- 07/10: tests: install: Add "gui-installed-os"., guix-commits, 2020/02/27
- 03/10: installer: Implement a dialog on /var/guix/installer-socket., guix-commits, 2020/02/27