1. 23 1月, 2013 1 次提交
    • J
      tests: Need to initialize 'test' properly on error path · 35c30522
      John Ferlan 提交于
      In the error path, the test buffer is free'd, but due to how the free
      routine is written the 'test' buffer pointer does not return to the caller
      as NULL and then the free'd buffer address is returned to the caller.
      35c30522
  2. 16 1月, 2013 1 次提交
  3. 21 12月, 2012 5 次提交
  4. 13 11月, 2012 2 次提交
  5. 31 10月, 2012 1 次提交
  6. 21 9月, 2012 1 次提交
  7. 13 9月, 2012 1 次提交
  8. 07 9月, 2012 1 次提交
    • D
      Add helper library for testing the qemu monitor code · 8d78fd04
      Daniel P. Berrange 提交于
      To be able to test the QEMU monitor code, we need to have a fake
      QEMU monitor server. This introduces a simple (dumb) framework
      that can do this. The test case registers a series of items to
      be sent back as replies to commands that will be executed. A
      thread runs the event loop looking for incoming replies and
      sending back this pre-registered data. This allows testing all
      QEMU monitor code that deals with parsing responses and errors
      from QEMU, without needing QEMU around
      Signed-off-by: NDaniel P. Berrange <berrange@redhat.com>
      8d78fd04