diff options
-rw-r--r-- | tests/pm_psr.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/pm_psr.c b/tests/pm_psr.c index def8e12d..5d28c7a5 100644 --- a/tests/pm_psr.c +++ b/tests/pm_psr.c @@ -57,6 +57,7 @@ static int get_perf(const char *path) igt_assert(ret != 0); enabled = strcmp(str, "yes") == 0; ret = fscanf(file, "Performance_Counter: %i", &perf); + igt_assert(ret != 0); if (!sink) igt_skip("This panel does not support PSR.\n"); |