summaryrefslogtreecommitdiff
path: root/tests/virt-aa-helper-test
diff options
context:
space:
mode:
authorWilliam Grant <wgrant@ubuntu.com>2017-05-23 18:22:41 +0200
committerGuido Günther <agx@sigxcpu.org>2017-06-16 10:38:52 +0200
commitf3b0f324ebdc0ee3a942b5927daa5d891ac798ef (patch)
treee51376102056981cd8fa8f33ea66c3ea6f88b743 /tests/virt-aa-helper-test
parent5b80c973f1a3de8599416f31db573ed0d7144d20 (diff)
downloadlibvirt-f3b0f324ebdc0ee3a942b5927daa5d891ac798ef.tar.gz
apparmor, virt-aa-helper: Allow aarch64 UEFI.
Allow access to aarch64 UEFI images. Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com> Signed-off-by: Stefan Bader <stefan.bader@canonical.com> Acked-by: Guido Günther <agx@sigxcpu.org>
Diffstat (limited to 'tests/virt-aa-helper-test')
-rwxr-xr-xtests/virt-aa-helper-test2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/virt-aa-helper-test b/tests/virt-aa-helper-test
index 73f3080d17..51072f622c 100755
--- a/tests/virt-aa-helper-test
+++ b/tests/virt-aa-helper-test
@@ -307,6 +307,8 @@ testme "0" "kernel" "-r -u $valid_uuid" "$test_xml"
testfw "ovmf (old path)" "/usr/share/ovmf/OVMF.fd"
testfw "OVMF (new path)" "/usr/share/OVMF/OVMF_CODE.fd"
+testfw "AAVMF" "/usr/share/AAVMF/AAVMF_CODE.fd"
+testfw "qemu-efi" "/usr/share/qemu-efi/QEMU_EFI.fd"
sed -e "s,###UUID###,$uuid,g" -e "s,###DISK###,$disk1,g" -e "s,</os>,<initrd>$tmpdir/initrd</initrd></os>,g" "$template_xml" > "$test_xml"
touch "$tmpdir/initrd"