mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-08 16:36:14 +00:00
tests/sysfs_rps: Fix igt_require conversion
Another fumble caught by QA. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=68461 Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
parent
ea80196d9f
commit
fd88db77cc
@ -148,7 +148,8 @@ int main(int argc, char *argv[])
|
|||||||
ret = asprintf(&path, sysfs_base_path, device, junk->name);
|
ret = asprintf(&path, sysfs_base_path, device, junk->name);
|
||||||
igt_assert(ret != -1);
|
igt_assert(ret != -1);
|
||||||
junk->filp = fopen(path, junk->mode);
|
junk->filp = fopen(path, junk->mode);
|
||||||
igt_require(junk->filp == NULL);
|
igt_require(junk->filp);
|
||||||
|
|
||||||
val = readval(junk->filp);
|
val = readval(junk->filp);
|
||||||
igt_assert(val >= 0);
|
igt_assert(val >= 0);
|
||||||
junk++;
|
junk++;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user