[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#30572] [PATCH 7/7] tests: Add tests for "guix system disk-image" et

From: Chris Marusich
Subject: [bug#30572] [PATCH 7/7] tests: Add tests for "guix system disk-image" et al.
Date: Thu, 22 Feb 2018 11:35:28 +0100

* tests/ Add test cases that exercise (1) all of the example
  files in gnu/system/examples, and (2) all of the "image" creation commands:
  vm, vm-image, disk-image, and docker-image.
 tests/ | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/tests/ b/tests/
index ed8563c8a..13907934f 100644
--- a/tests/
+++ b/tests/
@@ -267,3 +267,16 @@ guix system build "$tmpdir/config.scm" -n
 # Searching.
 guix system search tor | grep "^name: tor"
 guix system search anonym network | grep "^name: tor"
+# Verify the example files.
+for example in gnu/system/examples/*; do
+    guix system -d disk-image -d $example
+# Verify the disk image types.
+guix system -d vm gnu/system/examples/vm-image.tmpl
+guix system -d vm-image gnu/system/examples/vm-image.tmpl
+# This invocation was taken care of in the loop above:
+# guix system -d disk-image gnu/system/examples/bare-bones.tmpl
+guix system -d disk-image --file-system-type=iso9660 
+guix system -d docker-image gnu/system/examples/docker-image.tmpl

reply via email to

[Prev in Thread] Current Thread [Next in Thread]