1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

mapping: fix unit test

This commit is contained in:
Steffen Vogel 2018-05-24 10:53:27 +02:00
parent 6065d1512d
commit acee6a5bed

View file

@ -47,16 +47,16 @@ Test(mapping, parse_nodes)
struct node *n = alloc(sizeof(struct node));
n->name = node_names[i];
n->signals.state = STATE_DESTROYED;
n->in.signals.state = STATE_DESTROYED;
list_init(&n->signals);
list_init(&n->in.signals);
for (int j = 0; j < ARRAY_LEN(signal_names[i]); j++) {
struct signal *s = alloc(sizeof(struct signal *));
s->name = signal_names[i][j];
list_push(&n->signals, s);
list_push(&n->in.signals, s);
}
list_push(&nodes, n);