1. 25 3月, 2010 1 次提交
    • M
      vbox: Fix segfault on empty device source · f66636e3
      Matthias Bolte 提交于
      <source file=''/> results in def->disks[i]->src == NULL. But
      vboxDomainDefineXML and vboxDomainAttachDevice didn't check
      def->disks[i]->src for NULL and expected it to be a valid string.
      
      Add checks for def->disks[i]->src != NULL to fix the segfault.
      f66636e3
  2. 24 3月, 2010 6 次提交
    • P
      python example: poll(-0.001) does not sleep forever · 1cfbfaa6
      Philipp Hahn 提交于
      The conversion from seconds to milliseconds should only be done for
      actual delays >= 0, not for the magic -1 value used for infinite
      timeouts.
      Signed-off-by: NPhilipp Hahn <hahn@univention.de>
      1cfbfaa6
    • J
      build: suppress distracting build output · 84eb6eff
      Jim Meyering 提交于
      * src/Makefile.am (augeas-check): New target, just to give the existing
      rule a name.  At the same time, prefix the commands with $(AM_V_GEN),
      to avoid unexpected build output with V=0 which is the default.
      84eb6eff
    • J
      maint: add syntax-check rule to prohibit use of test's -a operator · 95c8ddd2
      Jim Meyering 提交于
      * cfg.mk (sc_prohibit_test_minus_a): New rule.
      95c8ddd2
    • J
      build: don't use "test cond1 -a cond2" in configure: it's not portable · 7998714d
      Jim Meyering 提交于
      * configure.ac: Use "test cond1 && test cond2" instead.
      7998714d
    • J
      tests: shell script portability and clean-up · ca7db6cb
      Jim Meyering 提交于
      * tests/test-lib.sh: "echo -n" is not portable.  Use printf instead.
      Remove unnecessary uses of "eval-in-subshell" (subshell is sufficient).
      Remove uses of tests' -a operator; it is not portable.
      Instead, use "test cond && test cond2".
      * tests/schematestutils.sh: Replace use of test's -a.
      ca7db6cb
    • M
      tests: Don't add extra padding if counter mod 40 is 0 · 8a7783c1
      Matthias Bolte 提交于
      This change only affects the output of tests that have an exact
      multiple of 40 test cases. For example the domainschematest currently:
      
      TEST: domainschematest
            ........................................ 40
            ........................................ 80
            ........................................ 120
            ........................................ 160
            ........................................                                         200 OK
      PASS: domainschematest
      
      It outputs additional 40 spaces on the last line.
      
      The domainschematest output is fixed by the change in test-lib.sh. The
      change in testutils.c fixes this for tests written in C. Currently no
      C test has an exact multiple of 40 test cases, but I checked it and
      the same problem exists there.
      
      This patch stops that in both cases.
      8a7783c1
  3. 23 3月, 2010 21 次提交
  4. 22 3月, 2010 3 次提交
  5. 20 3月, 2010 9 次提交