]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virt-aa-helper-test: Silence ls
authorMichal Privoznik <mprivozn@redhat.com>
Tue, 10 Jun 2025 09:58:34 +0000 (11:58 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Wed, 2 Jul 2025 11:54:10 +0000 (13:54 +0200)
commit9f12874238ddd771c19d68a0d5b8ed18bbb248df
tree192316e52f78347ec3b15aeaa3bb8662b4217d43
parent58bf3de02cf555a16bd420d7603f2a10dbe9ea6a
virt-aa-helper-test: Silence ls

virt-aa-helper checks presence of files before it adds them into
a profile. Because of that, test cases inside of
virt-aa-helper-test that require presence of /boot/initrd* are
guarded by a check. The check uses ls to find at least one initrd
file. If there's none, then ls prints an error onto stderr. This
is not helpful because the test script prints a message on its
own right after.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
tests/virt-aa-helper-test