Update bay unit test
This commit is contained in:
parent
bc901f58c2
commit
4a1fba74f3
@ -62,7 +62,7 @@ test_callback(struct bay *bay)
|
|||||||
die("bay_register failed\n");
|
die("bay_register failed\n");
|
||||||
|
|
||||||
int64_t data = 0;
|
int64_t data = 0;
|
||||||
if (bay_add_cb(bay, BAY_CB_DIRTY, &chan, callback, &data) != 0)
|
if (bay_add_cb(bay, BAY_CB_DIRTY, &chan, callback, &data, 1) == NULL)
|
||||||
die("bay_add_cb failed\n");
|
die("bay_add_cb failed\n");
|
||||||
|
|
||||||
if (data != 0)
|
if (data != 0)
|
||||||
|
Loading…
Reference in New Issue
Block a user