tests: add BlockJobTxn unit test
commit6c6f312dd752c74c124ecfc4c34e8aaf7254c3b8
authorStefan Hajnoczi <stefanha@redhat.com>
Thu, 5 Nov 2015 23:13:20 +0000 (5 18:13 -0500)
committerKevin Wolf <kwolf@redhat.com>
Thu, 12 Nov 2015 15:22:44 +0000 (12 16:22 +0100)
treecd4cc87d8f4a2ba12f785d88ff03ad6b80284b96
parentfc6c796ff2b049303473702d1ade9196d1843f5d
tests: add BlockJobTxn unit test

The BlockJobTxn unit test verifies that both single jobs and pairs of
jobs behave as a transaction group.  Either all jobs complete
successfully or the group is cancelled.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: John Snow <jsnow@redhat.com>
Signed-off-by: Fam Zheng <famz@redhat.com>
Signed-off-by: John Snow <jsnow@redhat.com>
Message-id: 1446765200-3054-15-git-send-email-jsnow@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
tests/Makefile
tests/test-blockjob-txn.c [new file with mode: 0644]