diff options
| author | Ludovic Courtès <ludo@gnu.org> | 2023-09-16 23:02:37 +0200 |
|---|---|---|
| committer | Ludovic Courtès <ludo@gnu.org> | 2023-09-17 15:31:03 +0200 |
| commit | db014e394e4fe256d2413d8316c85119828dc2f2 (patch) | |
| tree | 60bc247d35b5fd81777b3047b5d303364090ef5e /gnu/tests | |
| parent | af08de2b2d8bee54bd2664e3da3c8470a046e352 (diff) | |
tests: childhurd: Add missing module imports.
Fixes a regression introduced in
a09c7da8f8d8e732f969cf0a09aaa78f87032ab1.
* gnu/tests/virtualization.scm (run-childhurd-test)[test]: Import (ice-9
textual-ports) and (ice-9 match) in the marionette when needed.
Diffstat (limited to 'gnu/tests')
| -rw-r--r-- | gnu/tests/virtualization.scm | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/gnu/tests/virtualization.scm b/gnu/tests/virtualization.scm index effdeb4cfa7..73c8099b794 100644 --- a/gnu/tests/virtualization.scm +++ b/gnu/tests/virtualization.scm | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; GNU Guix --- Functional package management for GNU | 1 | ;;; GNU Guix --- Functional package management for GNU |
| 2 | ;;; Copyright © 2017 Christopher Baines <mail@cbaines.net> | 2 | ;;; Copyright © 2017 Christopher Baines <mail@cbaines.net> |
| 3 | ;;; Copyright © 2020-2022 Ludovic Courtès <ludo@gnu.org> | 3 | ;;; Copyright © 2020-2023 Ludovic Courtès <ludo@gnu.org> |
| 4 | ;;; Copyright © 2020 Jan (janneke) Nieuwenhuizen <janneke@gnu.org> | 4 | ;;; Copyright © 2020 Jan (janneke) Nieuwenhuizen <janneke@gnu.org> |
| 5 | ;;; Copyright © 2021 Pierre Langlois <pierre.langlois@gmx.com> | 5 | ;;; Copyright © 2021 Pierre Langlois <pierre.langlois@gmx.com> |
| 6 | ;;; Copyright © 2022 Marius Bakke <marius@gnu.org> | 6 | ;;; Copyright © 2022 Marius Bakke <marius@gnu.org> |
| @@ -301,7 +301,9 @@ | |||
| 301 | (test-assert "service running" | 301 | (test-assert "service running" |
| 302 | (marionette-eval | 302 | (marionette-eval |
| 303 | '(begin | 303 | '(begin |
| 304 | (use-modules (gnu services herd)) | 304 | (use-modules (gnu services herd) |
| 305 | (ice-9 match)) | ||
| 306 | |||
| 305 | (match (start-service 'childhurd) | 307 | (match (start-service 'childhurd) |
| 306 | (#f #f) | 308 | (#f #f) |
| 307 | (('service response-parts ...) | 309 | (('service response-parts ...) |
| @@ -316,7 +318,8 @@ | |||
| 316 | ;; to the host won't work because QEMU listens on 127.0.0.1. | 318 | ;; to the host won't work because QEMU listens on 127.0.0.1. |
| 317 | (marionette-eval | 319 | (marionette-eval |
| 318 | '(begin | 320 | '(begin |
| 319 | (use-modules (ice-9 match)) | 321 | (use-modules (ice-9 match) |
| 322 | (ice-9 textual-ports)) | ||
| 320 | 323 | ||
| 321 | (let loop ((n 60)) | 324 | (let loop ((n 60)) |
| 322 | (if (zero? n) | 325 | (if (zero? n) |
