On Mon, 08/03 20:45, Max Reitz wrote:
> >+static void test_single_job(int expected)
> >+{
> >+BlockJob *job;
> >+BlockJobTxn *txn;
> >+int result = -EINPROGRESS;
> >+
> >+txn = block_job_txn_new();
> >+job = test_block_job_start(1, true, expected, &result);
>
> I think I'd like
On 30.07.2015 08:39, Fam Zheng wrote:
From: Stefan Hajnoczi
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
Signed-off-by: Fam Zheng
---
From: Stefan Hajnoczi
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
Signed-off-by: Fam Zheng
---
tests/Makefile| 3 +
test