Commit 2a9fcad1 authored by Federico Vaga's avatar Federico Vaga

wrtd:ut:out: check error on trigger get

Signed-off-by: Federico Vaga's avatarFederico Vaga <federico.vaga@cern.ch>


NOTE
This commit has been created by `git subtree` on the Mock Turtle repository
on tag mock-turtle-2.0

This commit will not compile
parent d6d49e5e
......@@ -174,8 +174,8 @@ static void test_trigger_unassign_one(CuTest *tc, struct wrtd_node *wrtd,
ret = wrtd_out_trig_state_get_by_handle(wrtd, &trig.handle, &trig);
CuAssertTrue_Msg(tc, msg, ret);
// FIXME only with librt
//CuAssertIntEquals(tc, errno, EWRTD_NOFOUND_TRIGGER);
CuAssertIntEquals(tc, errno, EWRTD_NOFOUND_TRIGGER);
CuAssertTrue(tc, !wrtd_out_has_trigger(wrtd, chan, id, &assigned));
CuAssertTrue(tc, !assigned);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment