throttle: add detach/attach test case
commit22524f726210f38298dfb1cefa30257133ad6b8c
authorStefan Hajnoczi <stefanha@redhat.com>
Wed, 14 May 2014 14:22:46 +0000 (14 16:22 +0200)
committerStefan Hajnoczi <stefanha@redhat.com>
Wed, 4 Jun 2014 07:56:12 +0000 (4 09:56 +0200)
tree7498e04696924c9133b680aefda7c1b1ece52085
parent13af91ebf08d463d3b025cd396d4d11caceac02d
throttle: add detach/attach test case

Add a test case that checks the timer is really removed/added by the
detach/attach functions.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Benoit Canet <benoit@irqsave.net>
tests/test-throttle.c