Commit d92518d3 authored by Agata Murawska's avatar Agata Murawska Committed by Michael Hanselmann

Export: unittests

Signed-off-by: default avatarAgata Murawska <agatamurawska@google.com>
Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
parent 54f834df
......@@ -82,6 +82,7 @@ DIRS = \
test \
test/data \
test/data/ovfdata \
test/data/ovfdata/other \
tools
BUILDTIME_DIR_AUTOCREATE = \
......@@ -642,22 +643,30 @@ TEST_FILES = \
test/data/proc_drbd83_sync_krnl2.6.39.txt \
test/data/sys_drbd_usermode_helper.txt \
test/data/ovfdata/compr_disk.vmdk.gz \
test/data/ovfdata/config.ini \
test/data/ovfdata/corrupted_resources.ovf \
test/data/ovfdata/empty.ini \
test/data/ovfdata/empty.ovf \
test/data/ovfdata/ganeti.mf \
test/data/ovfdata/ganeti.ovf \
test/data/ovfdata/gzip_disk.ovf \
test/data/ovfdata/new_disk.vmdk \
test/data/ovfdata/no_disk.ini \
test/data/ovfdata/no_disk_in_ref.ovf \
test/data/ovfdata/no_os.ini \
test/data/ovfdata/no_ovf.ova \
test/data/ovfdata/ova.ova \
test/data/ovfdata/second_disk.vmdk \
test/data/ovfdata/rawdisk.raw \
test/data/ovfdata/unsafe_path.ini \
test/data/ovfdata/virtualbox.ovf \
test/data/ovfdata/wrong_extension.ovd \
test/data/ovfdata/wrong_config.ini \
test/data/ovfdata/wrong_manifest.mf \
test/data/ovfdata/wrong_manifest.ovf \
test/data/ovfdata/wrong_ova.ova \
test/data/ovfdata/wrong_xml.ovf \
test/data/ovfdata/other/rawdisk.raw \
test/import-export_unittest-helper
python_tests = \
......
[instance]
disk0_dump = rawdisk.raw
nic0_mode = routed
name = ganeti-test-xen
hypervisor = xen-pvm
disk_count = 1
nic0_mac = aa:00:00:d8:2c:1e
nic_count = 1
nic0_link = br0
nic0_ip = None
disk0_ivname = disk/0
disk0_size = 0
[hypervisor]
root-path = /dev/sda
kernel_args = ro
[export]
version = 0
os = lenny-image
[os]
[backend]
auto_balance = False
vcpus = 1
memory = 512
[instance]
[hypervisor]
[export]
[os]
[backend]
\ No newline at end of file
[instance]
disk0_dump = iamnothere.raw
nic0_mode = nic
name = ganeti-test-xen
disk_count = 1
nic0_mac = aa:00:00:d8:2c:1e
nic_count = 1
nic0_link = xen-br0
nic0_ip = None
disk0_ivname = disk/0
disk0_size = 0
[hypervisor]
root-path = /dev/sda
kernel_args = ro
[export]
version = 0
[os]
[backend]
auto_balance = False
[instance]
disk0_dump = rawdisk.raw
nic0_mode = bridged
name = ganeti-test-xen
hypervisor = xen-pvm
disk_count = 1
nic0_mac = aa:00:00:d8:2c:1e
nic_count = 1
nic0_link = xen-br0
nic0_ip = None
disk0_ivname = disk/0
disk0_size = 0
[hypervisor]
root-path = /dev/sda
kernel_args = ro
[export]
version = 0
[os]
[backend]
auto_balance = False
vcpus = 1
memory = 2048
[instance]
disk0_dump = other/rawdisk.raw
nic0_mode = bridged
name = ganeti-test-xen
hypervisor = xen-pvm
disk_count = 1
nic0_mac = aa:00:00:d8:2c:1e
nic_count = 1
nic0_link = xen-br0
nic0_ip = None
disk0_ivname = disk/0
disk0_size = 0
[hypervisor]
root-path = /dev/sda
kernel_args = ro
[export]
version = 0
os = lenny-image
[os]
[backend]
auto_balance = False
vcpus = 1
memory = 2048
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment