From: Thomas Huth <thuth@redhat.com>
To: Sergey Bronnikov <sergeyb@bronevichok.ru>
Cc: kvm@vger.kernel.org
Subject: Re: [kvm-unit-tests PATCH] Use /bin/env in shebang to make scripts more portable
Date: Fri, 17 Mar 2017 13:28:59 +0100 [thread overview]
Message-ID: <9334706e-fe48-0607-d031-02bba4cd702f@redhat.com> (raw)
In-Reply-To: <20170317111118.GA67603@Sergeys-MacBook-Pro-2.local>
On 17.03.2017 12:11, Sergey Bronnikov wrote:
> Hi, Thomas
>
> On 09:04 Fri 17 Mar , Thomas Huth wrote:
>> On 17.03.2017 06:11, Sergey Bronnikov wrote:
>>> On 08:38 Thu 16 Mar , Thomas Huth wrote:
>>>> On 15.03.2017 11:25, Sergey Bronnikov wrote:
>>>>> Some operating systems installs bash executable file to other directory
>>>>> than /bin. So it is better to use env utility to find bash.
>>>>
>>>> Which operating systems do you have in mind here?
>>>
>>> OpenBSD
>>
>> Ok, then I'd say this patch simply does not make sense. We're talking
>> about kvm-unit-tests here - and KVM is pretty much Linux-only as far as
>> I know.
>
> according to description on the project page:
> "Unit tests provide KVM and virtual hardware functional testing by
> targeting the features through minimal implementations of their use per
> the hardware specification."
> http://www.linux-kvm.org/page/KVM-unit-tests
> So testsuite is applicable to any virtual machine with hardware
> emulation. OpenBSD has QEMU in ports and it's own hypervisor vmd(8)
> (http://man.openbsd.org/vmd). It would be perfect to use testsuite
> for regression testing of these hypervisors on OpenBSD too.
>
> Moreover my patch don't broke anything on Linux. Why not to commit it
> and make tests more portable?
OK, if you think that kvm-unit-tests is really usable on a non-Linux
system this way, I'm fine with the change, too. I just wanted to make
sure that this is more than just unnecessary code churn.
Thomas
next prev parent reply other threads:[~2017-03-17 12:29 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-15 10:25 [kvm-unit-tests PATCH] Use /bin/env in shebang to make scripts more portable Sergey Bronnikov
2017-03-15 10:48 ` Peter Xu
2017-03-15 12:31 ` Sergey Bronnikov
2017-03-16 7:38 ` Thomas Huth
2017-03-17 5:11 ` Sergey Bronnikov
2017-03-17 8:04 ` Thomas Huth
2017-03-17 11:11 ` Sergey Bronnikov
2017-03-17 11:18 ` Paolo Bonzini
2017-03-17 12:28 ` Thomas Huth [this message]
-- strict thread matches above, loose matches on Subject: below --
2017-03-15 11:12 Sergey Bronnikov
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=9334706e-fe48-0607-d031-02bba4cd702f@redhat.com \
--to=thuth@redhat.com \
--cc=kvm@vger.kernel.org \
--cc=sergeyb@bronevichok.ru \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox