On 06/27/2013 11:31 AM, Qingtang Zhou wrote:
* On 2013-06-27 10:54:02 +0800, Yang Dongsheng ([email protected]) wrote:Hi jzupka and others: I need some help about cartesian config. Example: (1). I config the subtests.cfg and tests.cfg as what I attached. (Actually, just copy the default config of unattended_install.) (2). I write a src file named parser_test.py in libvirt/tests/src/ to get the params in the two cases. (3). I execute "../../autotest libvirt/control --verbose" (4). Two files created on /tmp/other_name and /tmp/unattended_install. (5). I write a python file named "diff.py" to diff the two params in the two file. (6). This is the result of diff.py in attached files named result.Is there something special for the name of unattended_install??? Why the same config in subtests.cfg will get a different params?? I need your help, Thanx :) result: *****Missing***** Key: syslog_server_enabled not in other_name. Key: syslog_server_proto not in other_name. Key: md5sum_1m_cd1 not in other_name. Key: cdrom_cd1 not in other_name. Key: unattended_file not in other_name. Key: cdrom_unattended not in other_name. Key: kernel_params not in other_name. Key: md5sum_cd1 not in other_name. Key: boot_path not in other_name. *****Diff***** Key: kernel, diff: {'unattended_install': 'images/rhel63-64/vmlinuz', 'other_name': 'vmlinuz'}. Key: initrd, diff: {'unattended_install': 'images/rhel63-64/initrd.img', 'other_name': 'initrd.img'}. Key: host_setup_flag, diff: {'unattended_install': 1, 'other_name': 2}.Hi, Dongsheng, There are some setting stored in the guest-os's config files. I guess you need to have a look at them. eg. shared/cfg/guest-os/Linux/RHEL/6.3/x86_64.cfg
Thanx for your reply. :) Yes, the all difference are about guest-os. It seems the guest-os.cfg is not parsed in other_name case. But I confusion is why the other_name case configed "only RHEL.6.3.x86_64" got no params from guest-os.cfg? And why the "unattended_install" name is special? There is nothing different except the name. _______________________________________________ Virt-test-devel mailing list [email protected] https://www.redhat.com/mailman/listinfo/virt-test-devel
