You need to sign in or sign up before continuing.
  1. 24 4月, 2016 1 次提交
    • C
      tests: consistently source test-lib.sh in scripts · 856e84a5
      Cole Robinson 提交于
      This unifies the test scripts to all use the similar pattern added for
      schematests in ace4aecd. This gives the following
      
      - Enables running all tests from outside of tests/ dir
      - Drops redundant abs_* definitions, which are set by test-lib.sh
      - Drops unnecessary srcdir variable which was only used for sourcing
          test-lib.sh
      
      Behavior changes:
      
      - srcdir can no longer be overwritten, but I don't know why anyone would
          really need to...
      - Script VERBOSE setting no longer prints commands executed by test-lib.sh.
          if anyone cares I suggest handling this in test-lib.sh which already
          has other verbose style handling
      856e84a5
  2. 18 3月, 2016 1 次提交
  3. 06 2月, 2016 1 次提交
    • C
      tests: qemuargv2xml: separate from qemuxml2argv data · e117bf64
      Cole Robinson 提交于
      Most of the qemuargv2xml tests are parsing old style qemu command
      lines (with -disk, -serial, etc), and it gets its input from
      qemuxml2argv output.
      
      But since we've raise the minimum supported qemu version to 0.12.0,
      which supports -device, once that changes propagates through libvirt
      the vast majority of qemuxml2argv output is _not_ going to be using
      old style qemu options.
      
      In preparation for this, switch qemuargv2xml to use its own copies
      of input and output, so it's not tied to qemuxml2argv results.
      
      This is just a straight copy of the current tests.
      e117bf64
  4. 09 1月, 2016 2 次提交
  5. 29 7月, 2014 1 次提交
    • R
      schema: bhyve and nmdm updates · 1281f4a1
      Roman Bogorodskiy 提交于
      * docs/schemas/domaincommon.rng: Add bhyve domain type, nmdm
        serial type and master and slave optional attributes for
        serial that are used by nmdm
      * tests/domainschematest: Add bhyvexml2argvdata directory
        to validate bhyve XMLs
      1281f4a1
  6. 09 10月, 2013 1 次提交
    • J
      LXC: Fix handling of RAM filesystem size units · 3f029fb5
      Ján Tomko 提交于
      Since 76b644c3 when the support for RAM filesystems was introduced,
      libvirt accepted the following XML:
      <source usage='1024' unit='KiB'/>
      
      This was parsed correctly and internally stored in bytes, but it
      was formatted as (with an extra 's'):
      <source usage='1024' units='KiB'/>
      When read again, this was treated as if the units were missing,
      meaning libvirt was unable to parse its own XML correctly.
      
      The usage attribute was documented as being in KiB, but it was not
      scaled if the unit was missing. Transient domains still worked,
      because this was balanced by an extra 'k' in the mount options.
      
      This patch:
      Changes the parser to use 'units' instead of 'unit', as the latter
      was never documented (fixing persistent domains) and some programs
      (libvirt-glib, libvirt-sandbox) already parse the 'units' attribute.
      
      Removes the extra 'k' from the tmpfs mount options, which is needed
      because now we parse our own XML correctly.
      
      Changes the default input unit to KiB to match documentation, fixing:
      https://bugzilla.redhat.com/show_bug.cgi?id=1015689
      3f029fb5
  7. 27 3月, 2012 1 次提交
  8. 29 7月, 2010 1 次提交
  9. 16 1月, 2010 1 次提交
    • D
      Make test suite output less verbose · e8ac4a79
      Daniel P. Berrange 提交于
      Only print out '.' for each test case, full test output can be
      re-enabled with VIR_TEST_VERBOSE=1, or VIR_TEST_DEBUG=XXXX
      
      Sample output now looks like
      
        TEST: statstest
              ........................................ 40
              ...................................      75  OK
        PASS: statstest
        TEST: qparamtest
              ................................         32  OK
        PASS: qparamtest
        TEST:
              ............                             12  OK
      e8ac4a79
  10. 09 1月, 2010 1 次提交
    • J
      fix 7 "make check" test failures in non-srcdir build · e6abf3d8
      Jim Meyering 提交于
      * tests/capabilityschematest: Define and use $srcdir.
      * tests/domainschematest: Likewise.
      * tests/interfaceschematest: Likewise.
      * tests/networkschematest: Likewise.
      * tests/nodedevschematest: Likewise.
      * tests/storagepoolschematest: Likewise.
      * tests/storagevolschematest: Likewise.
      e6abf3d8
  11. 17 10月, 2009 1 次提交
  12. 16 10月, 2009 1 次提交
  13. 27 1月, 2009 1 次提交
  14. 25 11月, 2008 1 次提交
    • J
      don't silently skip a test · d5ae2c88
      Jim Meyering 提交于
      * tests/Makefile.am (EXTRA_DIST): Distribute domainschemadata/.
      * tests/domainschematest: Fail the test if find invocation fails.
      d5ae2c88
  15. 07 10月, 2008 1 次提交
  16. 08 8月, 2008 1 次提交
  17. 01 8月, 2008 2 次提交