4 #include "trans_nego.h"
6 WVTEST_MAIN("transaction negotiation - remote part")
9 frsh_vres_id_t vres1, vres2;
12 WVFRSH(fra_dummy_init_and_activate_id(1));
13 WVFRSH(fra_dummy_init_and_activate_id(2));
15 WVFRSH(frsh_transaction_wait_for_name(&t, "test"));
17 WVFRSH(frsh_transaction_init(&t, "test"));
19 WVPASS(frsh_transaction_alloc_vres(&t, TEST_CONTRACT_1, &vres1) ==
20 FRES_ERR_VRES_ALREADY_ALLOCATED);
21 WVFRSH(frsh_transaction_alloc_vres(&t, TEST_CONTRACT_2, &vres2));