tests: avoid coroutine pool test crash
commit271b385e7ec2f1ca23c5345599cd58d9651427e5
authorStefan Hajnoczi <stefanha@redhat.com>
Fri, 20 May 2016 18:00:31 +0000 (20 11:00 -0700)
committerStefan Hajnoczi <stefanha@redhat.com>
Tue, 7 Jun 2016 13:40:50 +0000 (7 14:40 +0100)
treeb5c9f072321fbcd17cf228ed2cd174dd0765b03d
parent76462405809d29bab65a3699686998ba124ab942
tests: avoid coroutine pool test crash

Skip the test_co_queue test case if the coroutine pool is not enabled.
The test case does not work without the pool because it touches memory
belonging to a freed coroutine (on purpose).

Reported-by: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Fam Zheng <famz@redhat.com>
Message-id: 1463767231-13379-1-git-send-email-stefanha@redhat.com
tests/test-coroutine.c