1. 12 8月, 2016 1 次提交
    • M
      virschematest: Initialize @data · f87cc927
      Michal Privoznik 提交于
      ==8630== Invalid read of size 8
      ==8630==    at 0x4EA4F0F: virFree (viralloc.c:582)
      ==8630==    by 0x4F398F0: virXMLValidatorFree (virxml.c:1257)
      ==8630==    by 0x40305C: mymain (virschematest.c:191)
      ==8630==    by 0x405159: virTestMain (testutils.c:982)
      ==8630==    by 0x403553: main (virschematest.c:215)
      ==8630==  Address 0xcd72243 is 131 bytes inside a block of size 177 free'd
      ==8630==    at 0x4C2B1F0: free (vg_replace_malloc.c:473)
      ==8630==    by 0x4EA4F19: virFree (viralloc.c:582)
      ==8630==    by 0x4ED0973: virFindFileInPath (virfile.c:1646)
      ==8630==    by 0x405149: virTestMain (testutils.c:980)
      ==8630==    by 0x403553: main (virschematest.c:215)
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      f87cc927
  2. 02 8月, 2016 1 次提交
    • P
      tests: Make schema test fail on XML schema errors · 27bdc0af
      Peter Krempa 提交于
      Failure to parse the schema file would not trigger a test suite failure.
      
      In addition to making the test fail it's necessary to split up the
      parsing of the schema file into a separate test.
      
      This is necessary as the XML validator uses libvirt errors to report
      problems parsing of the actual schema RNG needs to be split out into a
      separate function and called via virTestRun which has the
      infrastructure to report them.
      27bdc0af
  3. 11 7月, 2016 1 次提交
  4. 24 6月, 2016 2 次提交
    • J
      Use virDirOpen · e81de04c
      Ján Tomko 提交于
      Switch from opendir to virDirOpen everywhere we need to report an error.
      e81de04c
    • J
      Introduce VIR_DIR_CLOSE · a4e6f1eb
      Ján Tomko 提交于
      Introduce a helper that only calls closedir if DIR* is non-NULL
      and sets it to NULL afterwards.
      a4e6f1eb
  5. 08 6月, 2016 4 次提交