summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/pm_rps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/pm_rps.c b/tests/pm_rps.c
index 72e47e728e2c..74bbdc852167 100644
--- a/tests/pm_rps.c
+++ b/tests/pm_rps.c
@@ -130,7 +130,7 @@ static int do_writeval(FILE *filp, int val, int lerrno, bool readback_check)
igt_assert_eq(readval(filp), orig);
} else {
/* Expecting no error */
- igt_assert_neq(ret, 0);
+ igt_assert_lt(0, ret);
wait_freq_settle();
if (readback_check)
igt_assert_eq(readval(filp), val);