Now that the policy does the right thing, actually check that the
custom endpoint connection has not gotten a name change notification.
This would have failed previously.
Signed-off-by: Daniel Mack <daniel@zonque.org>
ASSERT_RETURN(ret == 0);
/* the filtered endpoint should NOT have received a notification */
- ret = kdbus_msg_recv(env->conn, &msg, NULL);
+ ret = kdbus_msg_recv(ep_conn, &msg, NULL);
ASSERT_RETURN(ret == -EAGAIN);
kdbus_conn_free(ep_conn);