From: Pierre Langlois <pierre.langlois@gmx.com>
To: 46623@debbugs.gnu.org
Cc: Pierre Langlois <pierre.langlois@gmx.com>
Subject: [bug#46623] [PATCH 1/6] tests: libvirt: Catch issues with incorrect /var and /etc in package.
Date: Fri, 2 Apr 2021 12:58:57 +0100 [thread overview]
Message-ID: <20210402115902.3474-1-pierre.langlois@gmx.com> (raw)
In-Reply-To: <87ft08vr1l.fsf@gmx.com>
* gnu/tests/virtualization.scm (run-libvirt-test): Chdir to "/tmp" before
running test. Add "connect" test.
---
gnu/tests/virtualization.scm | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/gnu/tests/virtualization.scm b/gnu/tests/virtualization.scm
index e95787ee19..9f9d3a5e26 100644
--- a/gnu/tests/virtualization.scm
+++ b/gnu/tests/virtualization.scm
@@ -2,6 +2,7 @@
;;; Copyright © 2017 Christopher Baines <mail@cbaines.net>
;;; Copyright © 2020 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2020 Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
+;;; Copyright © 2021 Pierre Langlois <pierre.langlois@gmx.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -92,10 +93,20 @@
0
(marionette-eval
`(begin
+ (chdir "/tmp")
(system* ,(string-append #$libvirt "/bin/virsh")
"-c" "qemu:///system" "version"))
marionette))
+ (test-eq "connect"
+ 0
+ (marionette-eval
+ `(begin
+ (chdir "/tmp")
+ (system* ,(string-append #$libvirt "/bin/virsh")
+ "-c" "qemu:///system" "connect"))
+ marionette))
+
(test-end)
(exit (= (test-runner-fail-count (test-runner-current)) 0)))))
--
2.31.1
next prev parent reply other threads:[~2021-04-02 12:00 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-18 20:24 [bug#46623] [PATCH 0/4] gnu: libvirt: Update to 7.0.0 Brice Waegeneire
2021-02-18 20:48 ` [bug#46623] [PATCH 1/4] gnu: libvirt: Enable disk and directory storage Brice Waegeneire
2021-02-18 20:48 ` [bug#46623] [PATCH 2/4] services: libvirt: Change unix-sock-group default Brice Waegeneire
2021-02-18 20:48 ` [bug#46623] [PATCH 3/4] services: libvirt: Add qemu field Brice Waegeneire
2021-02-18 20:48 ` [bug#46623] [PATCH 4/4] gnu: libvirt: Update to 7.0.0 Brice Waegeneire
2021-04-02 11:56 ` Pierre Langlois
2021-04-02 11:58 ` Pierre Langlois [this message]
2021-04-02 11:58 ` [bug#46623] [PATCH 2/6] gnu: libvirt: Enable disk and directory storage Pierre Langlois
2021-04-02 11:58 ` [bug#46623] [PATCH 3/6] gnu: libvirt: Update to 7.2.0 Pierre Langlois
2021-04-02 11:59 ` [bug#46623] [PATCH 4/6] gnu: python-libvirt: " Pierre Langlois
2021-04-02 11:59 ` [bug#46623] [PATCH 5/6] gnu: libvirt-glib: Update to 4.0.0 Pierre Langlois
2021-04-02 11:59 ` [bug#46623] [PATCH 6/6] gnu: virt-manager: Update to 3.2.0 Pierre Langlois
2021-04-05 16:37 ` [bug#46623] [PATCH 0/4] gnu: libvirt: Update to 7.0.0 Ludovic Courtès
2021-04-05 18:52 ` Pierre Langlois
2021-04-01 20:29 ` bug#46623: " Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210402115902.3474-1-pierre.langlois@gmx.com \
--to=pierre.langlois@gmx.com \
--cc=46623@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).