summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/core_hotunplug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/core_hotunplug.c b/tests/core_hotunplug.c
index fc239324..2f703109 100644
--- a/tests/core_hotunplug.c
+++ b/tests/core_hotunplug.c
@@ -193,7 +193,7 @@ static void set_filter_from_device(int fd)
igt_assert(realpath(path, dst));
igt_device_filter_free_all();
- igt_device_filter_add(filter);
+ igt_assert_eq(igt_device_filter_add(filter), 1);
}
/* Subtests */