_test_ioctl_destroy
EXPECT_ERRNO(EBUSY, _test_ioctl_destroy(self->fd, hwpt_id[0]));
EXPECT_ERRNO(EBUSY, _test_ioctl_destroy(self->fd, hwpt_id[1]));
_test_ioctl_destroy(self->fd, self->hwpt_id));
_test_ioctl_destroy(self->fd, self->viommu_id));
EXPECT_ERRNO(EBUSY, _test_ioctl_destroy(self->fd, iopf_hwpt_id));
EXPECT_ERRNO(EBUSY, _test_ioctl_destroy(self->fd, self->viommu_id));
EXPECT_ERRNO(EBUSY, _test_ioctl_destroy(self->fd, hw_queue_id[0]));
EXPECT_ERRNO(ENOENT, _test_ioctl_destroy(self->fd, vdev_id));
_test_ioctl_destroy(self->fd, self->ioas_id));
_test_ioctl_destroy(self->fd, parent_hwpt_id));
_test_ioctl_destroy(self->fd, nested_hwpt_id[0]));
_test_ioctl_destroy(self->fd, nested_hwpt_id[1]));
_test_ioctl_destroy(self->fd, iopf_hwpt_id));
_test_ioctl_destroy(self->fd, self->ioas_id));
EXPECT_ERRNO(ENOENT, _test_ioctl_destroy(self->fd, 0));
if (_test_ioctl_destroy(self->fd, stdev_id))
if (_test_ioctl_destroy(self->fd, stdev_id))
if (_test_ioctl_destroy(self->fd, stdev_id))
if (_test_ioctl_destroy(self->fd, stdev_id2))
if (_test_ioctl_destroy(self->fd, stdev_id))
#define test_ioctl_destroy(id) ASSERT_EQ(0, _test_ioctl_destroy(self->fd, id))