summary refs log tree commit diff stats
path: root/tests/test-aio.c
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2015-11-25 14:47:06 +0000
committerPeter Maydell <peter.maydell@linaro.org>2015-11-25 14:47:06 +0000
commit1a4dab849d5d06191ab5e5850f6b8bfcad8ceb47 (patch)
tree0f557eeb8112d06840c26dab9af56b014ea490a7 /tests/test-aio.c
parente85dda8070b20dd8765d52daf64de70a9ccf395f (diff)
parent8c34d891b1594840d8394a3c9b92236c13254fd8 (diff)
downloadfocaccia-qemu-1a4dab849d5d06191ab5e5850f6b8bfcad8ceb47.tar.gz
focaccia-qemu-1a4dab849d5d06191ab5e5850f6b8bfcad8ceb47.zip
Merge remote-tracking branch 'remotes/kevin/tags/for-upstream' into staging
Block layer patches

# gpg: Signature made Wed 25 Nov 2015 13:33:14 GMT using RSA key ID C88F2FD6
# gpg: Good signature from "Kevin Wolf <kwolf@redhat.com>"

* remotes/kevin/tags/for-upstream:
  qemu-iotests: Add -nographic when starting QEMU in 119 and 120
  block/qapi: Plug memory leak on query-block error path
  raw-posix.c: Make GetBSDPath() handle caching options
  nand: fix flash erase when oob is in memory
  test-aio: Fix event notifier cleanup
  tests/Makefile: Add more dependencies for test-timed-average

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'tests/test-aio.c')
-rw-r--r--tests/test-aio.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test-aio.c b/tests/test-aio.c
index 1623803e8c..e188d8c13d 100644
--- a/tests/test-aio.c
+++ b/tests/test-aio.c
@@ -393,6 +393,7 @@ static void test_aio_external_client(void)
             aio_enable_external(ctx);
         }
         assert(aio_poll(ctx, false));
+        set_event_notifier(ctx, &data.e, NULL);
         event_notifier_cleanup(&data.e);
     }
 }