All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Daniel P. Berrangé" <berrange@redhat.com>
To: marcandre.lureau@redhat.com
Cc: qemu-devel@nongnu.org
Subject: Re: [PATCH v4 6/6] tests/unit: make test-io-channel-command work on win32
Date: Wed, 12 Oct 2022 16:15:18 +0100	[thread overview]
Message-ID: <Y0baBvYx2UaiXbsv@redhat.com> (raw)
In-Reply-To: <20221006113657.2656108-7-marcandre.lureau@redhat.com>

On Thu, Oct 06, 2022 at 03:36:57PM +0400, marcandre.lureau@redhat.com wrote:
> From: Marc-André Lureau <marcandre.lureau@redhat.com>
> 
> This has been tested under msys2 & windows 11. I haven't tried to make
> it work with other environments yet, but that should be enough to
> validate the channel-command implementation anyway.
> 
> Here are the changes:
> - drop tests/ from fifo/pipe path, to avoid directory issues
> - use g_find_program() to lookup the socat executable (otherwise we
> would need to change ChanneCommand to use G_SPAWN_SEARCH_PATH, and deal
> with missing socat differently)
> - skip the "echo" test when socat is missing as well
> 
> Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
> ---
>  tests/unit/test-io-channel-command.c | 37 ++++++++++++++--------------
>  1 file changed, 19 insertions(+), 18 deletions(-)

Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>


With regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|



      reply	other threads:[~2022-10-12 15:19 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-06 11:36 [PATCH v4 0/6] io/command: implement portable spawn marcandre.lureau
2022-10-06 11:36 ` [PATCH v4 1/6] osdep: make readv_writev() work with partial read/write marcandre.lureau
2022-10-06 11:36 ` [PATCH v4 2/6] util: make do_send_recv work with partial send/recv marcandre.lureau
2022-10-12 15:14   ` Daniel P. Berrangé
2022-10-06 11:36 ` [PATCH v4 3/6] tests/channel-helper: set blocking in main thread marcandre.lureau
2022-10-06 11:36 ` [PATCH v4 4/6] io/command: use glib GSpawn, instead of open-coding fork/exec marcandre.lureau
2022-10-06 11:36 ` [PATCH v4 5/6] io/command: implement support for win32 marcandre.lureau
2022-10-06 11:36 ` [PATCH v4 6/6] tests/unit: make test-io-channel-command work on win32 marcandre.lureau
2022-10-12 15:15   ` Daniel P. Berrangé [this message]

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Y0baBvYx2UaiXbsv@redhat.com \
    --to=berrange@redhat.com \
    --cc=marcandre.lureau@redhat.com \
    --cc=qemu-devel@nongnu.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.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.