1. 18 2月, 2016 3 次提交
    • C
      tests: qemuargv2xml: hardcode disk auth usage · 73ed1d74
      Cole Robinson 提交于
      If a qemuargv has iscsi or ceph secrets on the command line, we will
      convert that to XML like:
      
        <auth username='myname'>
          <secret type='iscsi'/>
        </auth>
      
      This is not valid XML, as either a UUID or usage must be specified in
      the secret block. It's not clear though how the argv2xml code can do
      anything correct here, since XML like this requires a libvirt secret
      object to have already been defined.
      
      The current test suite handles this by blanking out any <secret> block
      in the XML. This avoids domainschematest failures.
      
      Instead of blanking, let's hardcode a usage= name. This lets us test
      the other bits of generated <secret> XML, and is a step towards wiring
      up VIR_TEST_REGENERATE_OUTPUT
      73ed1d74
    • C
      tests: qemuargv2xml: Remove UUID randomness · b25027ba
      Cole Robinson 提交于
      Overwrite any randomly generated UUID to use a hardcoded value, so
      we don't need to blank it when comparing XML.
      b25027ba
    • C
      tests: qemuargv2xml: Remove unneeded XML blanking · 7973c0ef
      Cole Robinson 提交于
      None of the test cases depend on dropping these XML bits
      7973c0ef
  2. 17 2月, 2016 35 次提交
  3. 16 2月, 2016 2 次提交
    • A
      tests: Add more GIC test cases · 998a936c
      Andrea Bolognani 提交于
      Test all kinds of scenarios, including guests asking for GIC but
      failing to specify a version, guests specifying an invalid version
      and guests trying to use GIC with non-virt or even non-ARM machines.
      998a936c
    • A
      tests: Reorganize and simplify GIC test cases · 161a3418
      Andrea Bolognani 提交于
      Unify the naming to prepare for new test cases that will be added
      later on.
      
      Convert a couple of output XML files for the qemuxml2xml test to
      symlinks while at it, since they were identical to the corresponding
      input XML files anyways.
      
      Moreover, since we're only interested in testing GIC support here,
      simplify XML files by getting rid of the unrelevant bits.
      161a3418