summaryrefslogtreecommitdiff
path: root/gnu/tests/install.scm
diff options
context:
space:
mode:
authorMathieu Othacehe <othacehe@gnu.org>2020-09-10 14:59:21 +0200
committerMathieu Othacehe <othacehe@gnu.org>2020-09-10 14:59:53 +0200
commit6e71514a2992eed1cfa2306f65ca750d65708bc4 (patch)
tree9d479c0ca994be8486a229b701ef60dc12fd41ab /gnu/tests/install.scm
parentd3fe4590de4597c6e15d9ca3916987c0a1b0f263 (diff)
downloadguix-patches-6e71514a2992eed1cfa2306f65ca750d65708bc4.tar
guix-patches-6e71514a2992eed1cfa2306f65ca750d65708bc4.tar.gz
tests: install: Fix gui-installed-desktop-os-encrypted test.
* gnu/tests/base.scm (run-basic-test): Add a 'desktop?' argument. Wait 30 seconds before trying to switch to TTY1 on desktop. * gnu/tests/install.scm (guided-installation-test): Use 512MiB of RAM and pass the desktop argument to "run-basic-test".
Diffstat (limited to 'gnu/tests/install.scm')
-rw-r--r--gnu/tests/install.scm5
1 files changed, 3 insertions, 2 deletions
diff --git a/gnu/tests/install.scm b/gnu/tests/install.scm
index 9656e5f41f..5b7f9bf671 100644
--- a/gnu/tests/install.scm
+++ b/gnu/tests/install.scm
@@ -1317,10 +1317,11 @@ build (current-guix) and then store a couple of full system images.")
marionette
#:desktop? desktop?
#:encrypted? encrypted?))))
- (command (qemu-command/writable-image image)))
+ (command (qemu-command/writable-image image #:memory-size 512)))
(run-basic-test target-os command name
#:initialization (and encrypted? enter-luks-passphrase)
- #:root-password %root-password)))))
+ #:root-password %root-password
+ #:desktop? desktop?)))))
(define %test-gui-installed-os
(guided-installation-test