1. 16 5月, 2008 2 次提交
  2. 15 5月, 2008 1 次提交
  3. 10 5月, 2008 1 次提交
  4. 08 5月, 2008 1 次提交
  5. 07 5月, 2008 2 次提交
    • D
      More regression tests for sound support · 0feb4c95
      Daniel Veillard 提交于
      * tests/qemuxml2argvdata/qemuxml2argv-sound.args
        tests/qemuxml2argvdata/qemuxml2argv-sound.xml
        tests/sexpr2xmldata/sexpr2xml-fv-sound-all.sexpr
        tests/sexpr2xmldata/sexpr2xml-fv-sound-all.xml
        tests/sexpr2xmldata/sexpr2xml-fv-sound.sexpr
        tests/sexpr2xmldata/sexpr2xml-fv-sound.xml
        tests/xmconfigdata/test-fullvirt-sound.cfg
        tests/xmconfigdata/test-fullvirt-sound.xml
        tests/xml2sexprdata/xml2sexpr-fv-sound.sexpr
        tests/xml2sexprdata/xml2sexpr-fv-sound.xml: other regression
        tests from previous commit
      Daniel
      0feb4c95
    • D
      Sound support for QEmu and Xen · 70f44663
      Daniel Veillard 提交于
      * src/qemu_conf.c src/qemu_conf.h src/xend_internal.c
        src/xend_internal.h src/xm_internal.c src/xml.c src/xml.h:
        Patch from Cole Robinson adding sound support for QEmu and Xen
      * tests/qemuxml2argvtest.c tests/sexpr2xmltest.c
        tests/xmconfigtest.c tests/xml2sexprtest.c:
        Associated regression tests
      Daniel
      70f44663
  6. 30 4月, 2008 1 次提交
  7. 28 4月, 2008 3 次提交
  8. 26 4月, 2008 2 次提交
  9. 18 4月, 2008 2 次提交
  10. 11 4月, 2008 2 次提交
  11. 08 4月, 2008 1 次提交
    • J
      Don't fail to read a file because it's non-seekable (e.g., a pipe). · 3ce465f8
      Jim Meyering 提交于
      * src/util.c (fread_file_lim): New function.
      (__virFileReadAll): Use fread_file_lim, rather than requiring
      that stat.st_size provide a usable file size.
      * tests/read-non-seekable: New test, for the above.
      * tests/Makefile.am (test_scripts): Add read-non-seekable.
      * tests/test-lib.sh (mkfifo_or_skip_): New helper function.
      3ce465f8
  12. 07 4月, 2008 1 次提交
  13. 24 3月, 2008 2 次提交
    • J
      Add new testing framework and the first test to use it. · f15efcdf
      Jim Meyering 提交于
      * tests/Makefile.am (test_scripts): Add vcpupin.
      (EXTRA_DIST): Add test-lib.sh.
      * tests/test-lib.sh: Testing framework, from coreutils.
      * tests/vcpupin: New file.
      * build-aux/mktempd: New file, from gnulib.
      * bootstrap: Add posix-shell and mktempd to the list of imported modules.
      * gnulib/m4/posix-shell.m4: New file, from gnulib.
      f15efcdf
    • J
      Fix bugs in tests/Makefile.am. · 870dba07
      Jim Meyering 提交于
      * tests/Makefile.am (TESTS_ENVIRONMENT): Correct invalid
      settings of abs_top_builddir and abs_top_srcdir.
      Also prepend src/ to PATH, so we test the just-built virsh,
      not whatever happens to be in the original $PATH.
      870dba07
  14. 17 3月, 2008 1 次提交
  15. 29 2月, 2008 1 次提交
    • J
      Avoid link errors with "configure --disable-shared". · 9262d88e
      Jim Meyering 提交于
      * src/Makefile.am: Create a convenience library, libvirt_test.la,
      and don't restrict access to *its* symbols.
      * tests/Makefile.am (LDADDS): Add ../src/libvirt_test.la, so that
      "configure --disable-shared" no longer provokes link errors.
      (LIBVIRT): Remove definition.
      (LDADDS): Remove use.
      ($(LIBVIRT)): Remove rule.
      (LDADDS): Use the new convenience library instead.
      (CLEANFILES): Define.
      * docs/examples/index.py (dump_Makefile): Append $(COVERAGE_LDFLAGS),
      to the LDADDS definition, to avoid link error with the combination of
      --enable-test-coverage and --disable-shared.
      * docs/examples/Makefile.am: Regenerate.
      * docs/examples/index.html: Likewise.
      * qemud/Makefile.am (libvirtd_LDFLAGS): Append $(COVERAGE_LDFLAGS).
      * src/libvirt_sym.version: Remove some SP-before-TAB.
      9262d88e
  16. 27 2月, 2008 1 次提交
  17. 22 2月, 2008 1 次提交
  18. 20 2月, 2008 1 次提交
  19. 08 2月, 2008 1 次提交
    • J
      Remove more useless if tests before "free"-like functions. · e8ff93b4
      Jim Meyering 提交于
      * build-aux/useless-if-before-free: Rename from ...
      * build-aux/find-unnecessary-if-before-free: ... this.  Remove file.
      Also changed it so that new names are no longer hard-coded in the
      script.  Instead, they're supplied via options:
      * Makefile.cfg (useless_free_options): Define.
      Add xmlXPathFreeObject to the list of free-like functions it detects.
      * Makefile.maint (sc_avoid_if_before_free): Reflect script renaming.
      * .x-sc_avoid_if_before_free: Likewise.
      * src/openvz_conf.c (openvzParseXML): Remove useless "if"-before-free.
      * src/qemu_conf.c (qemudParseXML, qemudParseNetworkXML): Likewise.
      * src/virsh.c (cmdVNCDisplay, cmdTTYConsole, cmdDetachInterface):
      (cmdDetachDisk): Likewise.
      * src/xm_internal.c (xenXMConfigSetIntFromXPath): Likewise.
      (xenXMConfigSetStringFromXPath, xenXMParseXMLToConfig): Likewise.
      (xenXMDomainAttachDevice, xenXMAttachDisk, xenXMAttachInterface):
      (xenXMDomainDetachDevice): Likewise.
      * src/xml.c (virXPathString): Likewise.
      * tests/xmlrpctest.c (checkRequestValue): Likewise.
      e8ff93b4
  20. 06 2月, 2008 2 次提交
  21. 01 2月, 2008 1 次提交
  22. 31 1月, 2008 1 次提交
  23. 30 1月, 2008 5 次提交
    • J
      Arrange for "make syntax-check" to pass. · 51dd1d9e
      Jim Meyering 提交于
      * .x-sc_avoid_if_before_free: Exempt ChangeLog.
      * tests/statstest.c: Include <config.h>, not "config.h".
      51dd1d9e
    • D
      21416a47
    • J
      Also detect and remove unnecessary if-before-xmlXPathFreeContext. · 2367caa3
      Jim Meyering 提交于
      * build-aux/find-unnecessary-if-before-free: Update regexp.
      * src/openvz_conf.c: Remove unnecessary "if (P)"-before xmlXPathFreeContext.
      * src/qemu_conf.c: Likewise.
      * src/virsh.c: Likewise.
      * src/xm_internal.c: Likewise.
      * src/xml.c: Likewise.
      * tests/xmlrpctest.c: Likewise.
      2367caa3
    • J
      Enable the <config.h>-requiring test; fix violations · a3781881
      Jim Meyering 提交于
      Use <config.h>, not "config.h", per autoconf documentation.
      * Makefile.cfg (local-checks-to-skip) [sc_require_config_h]: Enable.
      * .x-sc_require_config_h: New file, to list exempted files.
      * Makefile.am (EXTRA_DIST): Add .x-sc_require_config_h.
      a3781881
    • J
      Given code like if (foo) free (foo); remove the useless "if (foo) " part. · acff2d11
      Jim Meyering 提交于
      Likewise, given if (foo != NULL) free (foo); remove the useless "if" test.
      
      * proxy/libvirt_proxy.c: Remove unnecessary "if" test before free.
      * python/generator.py: Likewise.
      * qemud/qemud.c: Likewise.
      * src/buf.c: Likewise.
      * src/conf.c: Likewise.
      * src/hash.c: Likewise.
      * src/iptables.c: Likewise.
      * src/libvirt.c: Likewise.
      * src/openvz_conf.c: Likewise.
      * src/qemu_conf.c: Likewise.
      * src/qemu_driver.c: Likewise.
      * src/remote_internal.c: Likewise.
      * src/test.c: Likewise.
      * src/virsh.c: Likewise.
      * src/virterror.c: Likewise.
      * src/xen_internal.c: Likewise.
      * src/xen_unified.c: Likewise.
      * src/xend_internal.c: Likewise.
      * src/xm_internal.c: Likewise.
      * src/xml.c: Likewise.
      * src/xmlrpc.c: Likewise.
      * src/xs_internal.c: Likewise.
      * tests/testutils.c: Likewise.
      * tests/xencapstest.c: Likewise.
      * tests/xmconfigtest.c: Likewise.
      acff2d11
  24. 22 1月, 2008 1 次提交
  25. 14 1月, 2008 1 次提交
    • J
      Clean up global name space in examples and tests. · f510a612
      Jim Meyering 提交于
      * docs/examples/suspend.c: Declare global "conn" to be static.
      * tests/qemuxml2argvtest.c: Declare global "driver" to be static.
      * tests/qemuxml2xmltest.c: Likewise.
      
      
      Author: Jim Meyering <meyering@redhat.com>
      f510a612
  26. 07 1月, 2008 1 次提交
  27. 12 12月, 2007 1 次提交
    • J
      Accommodate automake-1.9. · 9e188e11
      Jim Meyering 提交于
      * tests/Makefile.am (TESTS_ENVIRONMENT): Adjust PATH setting
      to work also with automake-1.9.  Can't use $(abs_top_builddir).
      
      
      Author: Jim Meyering <meyering@redhat.com>
      9e188e11