1. 03 3月, 2009 2 次提交
  2. 24 2月, 2009 1 次提交
    • M
      Add nodedevxml2xml test · da61daa2
      Mark McLoughlin 提交于
      Add a test to check node device XML parsing by first parsing
      the XML, then re-formatting as XML and finally comparing the
      resulting XML to the original XML.
      da61daa2
  3. 17 2月, 2009 1 次提交
  4. 27 1月, 2009 1 次提交
  5. 23 1月, 2009 1 次提交
  6. 17 1月, 2009 2 次提交
  7. 09 1月, 2009 1 次提交
  8. 23 12月, 2008 1 次提交
    • D
      fix make check with the new logging support · b4962134
      Daniel Veillard 提交于
      * qemud/qemud.c qemud/test_libvirtd_qemu.aug tests/Makefile.am
        tests/daemon-conf: fix make check with the new logging support
        the messages now carry a timestamp which need to be removed,
        the daemon needs to exit if the log configuration informations
        are wrong and we also look at the LIBVIRT_DEBUG environment
        variable
      Daniel
      b4962134
  9. 21 12月, 2008 1 次提交
  10. 12 12月, 2008 1 次提交
    • J
      remove unused xmlrpc-related files · 506629e6
      Jim Meyering 提交于
      * src/xmlrpc.h: Remove file.
      * src/xmlrpc.c: Likewise.
      * tests/test_xmlrpc.sh: Likewise.
      * tests/xmlrpctest.c: Likewise.
      * tests/xmlrpcserver.py: Likewise.
      * tests/Makefile.am (EXTRA_DIST): Remove xmlserver.py.
      (noinst_PROGRAMS): Remove xmlrpctest, along with associated variables.
      * po/POTFILES.in: Remove src/xmlrpc.c.
      * tests/.cvsignore: Remove xmlrpctest.
      506629e6
  11. 10 12月, 2008 1 次提交
    • J
      fix just-broken "virsh start" and "virsh pool-start" commands · 3693a02f
      Jim Meyering 提交于
      * src/virsh.c (cmdPoolStart, cmdStart): Change hard-coded
      vshCommandOptDomainBy string argument to match just-changed
      option name.  Cole Robinson reported that "virsh start" was
      broken and provided that part of the fix.
      Bug introduced by yesterday's "virsh.c: tweak options to produce
      more accurate help".
      * tests/start: New file.  Test for the above fix.
      * tests/Makefile.am (test_scripts): Add start.
      3693a02f
  12. 25 11月, 2008 2 次提交
  13. 24 11月, 2008 3 次提交
    • J
      tests: new test: virsh-synopsis · 62bcd5d3
      Jim Meyering 提交于
      * tests/virsh-synopsis: new file
      * tests/Makefile.am (test_scripts): Add virsh-synopsis.
      * src/virsh.c: Correct help SYNOPSIS for each of seven commands.
      
      When I first ran this script, "make check" failed like this:
        ...
        invalid help SYNOPSIS for net-create:
            create a network from an XML <file>
        invalid help SYNOPSIS for net-define:
            define a network from an XML <file>
        invalid help SYNOPSIS for net-start:
            start <network>
        invalid help SYNOPSIS for pool-create:
            create a pool from an XML <file>
        invalid help SYNOPSIS for pool-define:
            define a pool from an XML <file>
        invalid help SYNOPSIS for pool-start:
            start <pool>
        invalid help SYNOPSIS for vol-create:
            create <file>
        FAIL: virsh-synopsis
      62bcd5d3
    • J
      tests: virsh-all: new script · 8275cc5e
      Jim Meyering 提交于
      * tests/virsh-all: New script.
      * tests/Makefile.am (test_scripts): Add virsh-all.
      8275cc5e
    • J
      Move the expected output data from virshdata/*.txt into virshtest.c. · 5b5393f2
      Jim Meyering 提交于
      * tests/virshtest.c: Embed literal, expected output here, rather than
      using virshdata/*.txt file names.
      Factor out some common constructs.
      (testCompareOutputLit): New function.
      (testCompareOutput): #ifdef-out, not that it's unused.
      * tests/Makefile.am (SUBDIRS): Remove virshdata/ and all files in it.
      * docs/testnode.xml: Fix typo in a comment.
      * configure.in (AC_OUTPUT): Remove tests/virshdata/Makefile.
      5b5393f2
  14. 21 11月, 2008 1 次提交
  15. 18 11月, 2008 1 次提交
  16. 17 11月, 2008 1 次提交
  17. 05 11月, 2008 1 次提交
  18. 04 11月, 2008 1 次提交
  19. 01 8月, 2008 1 次提交
  20. 25 7月, 2008 2 次提交
  21. 23 7月, 2008 1 次提交
  22. 26 6月, 2008 1 次提交
  23. 19 6月, 2008 1 次提交
  24. 29 5月, 2008 1 次提交
  25. 23 5月, 2008 1 次提交
  26. 17 5月, 2008 1 次提交
  27. 28 4月, 2008 1 次提交
  28. 18 4月, 2008 1 次提交
  29. 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
  30. 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
  31. 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
  32. 20 2月, 2008 1 次提交
  33. 30 1月, 2008 1 次提交