Re: [kvm-unit-tests PATCH v2] scripts/arch-run.bash: Drop the dependency on "jq"

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

 



On 10/09/2025 11.00, Claudio Imbrenda wrote:
On Wed, 10 Sep 2025 09:57:17 +0200
"Nico Boehr" <nrb@xxxxxxxxxxxxx> wrote:

On Tue Sep 9, 2025 at 6:58 AM CEST, Thomas Huth wrote:
For checking whether a panic event occurred, a simple "grep"
for the related text in the output is enough - it's very unlikely
that the output of QEMU will change. This way we can drop the
dependency on the program "jq" which might not be installed on
some systems.

Trying to understand which problem you're trying to solve here.

Is there any major distribution which doesn't have jq in its repos? Or any
reason why you wouldn't install it?

I think it's just a matter of trying to avoid too many dependencies,
especially for something this trivial

Yes ... actually, a while ago, I noticed that I was never running this test on fresh installations since "jq" is not there by default. I guess it's the same for many other people, too, since we don't really tell them to install "jq" first.

So let's give this patch a try for a while, and if we run into problems, we can still revert it.

 Thomas





[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux