diff options
author | Mark H Weaver <mhw@netris.org> | 2016-05-11 13:37:47 -0400 |
---|---|---|
committer | Mark H Weaver <mhw@netris.org> | 2016-05-11 13:37:47 -0400 |
commit | 9f5e79675367aedd6be89e07edbc08a6e3695fab (patch) | |
tree | 2679dfc572b7173ba6fe52611047a47283af119d /gnu/tests | |
parent | e2b89203db6c2056c9658be40ab1be471769d9eb (diff) | |
parent | cf60e76a9503156a8c1047fa446525b28842f7e8 (diff) |
Merge branch 'master' into gnome-updates
Diffstat (limited to 'gnu/tests')
-rw-r--r-- | gnu/tests/base.scm | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/gnu/tests/base.scm b/gnu/tests/base.scm index bf2d095709..0f19449508 100644 --- a/gnu/tests/base.scm +++ b/gnu/tests/base.scm @@ -128,17 +128,13 @@ info --version") "root\n" (begin (marionette-control "sendkey ctrl-alt-f1" marionette) - ;; Wait for the 'term-tty1' service to be running + ;; Wait for the 'term-tty1' service to be running (using + ;; 'start-service' is the simplest and most reliable way to do + ;; that.) (marionette-eval '(begin (use-modules (gnu services herd)) - - (let loop ((i 0)) - (when (> i 10) - (error "terminal service not running" (current-services))) - (unless (memq 'term-tty1 (current-services)) - (sleep 1) - (loop (+ i 1))))) + (start-service 'term-tty1)) marionette) ;; Now we can type. |