summaryrefslogtreecommitdiff
path: root/tests/sysfs_rps.c
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2012-11-27 20:04:15 +0100
committerDaniel Vetter <daniel.vetter@ffwll.ch>2012-11-28 11:08:37 +0100
commit021909e10d1bf9192c6245802b0df4866681b3f0 (patch)
treeee680dfb3060ac4d3f08082f621ecef048dd0c37 /tests/sysfs_rps.c
parent4fae0c65c5c1fdf5403a31104890a279fd7b544f (diff)
tests: dont polute stderr if the test succeeds/skips
Results in spurious 'warn' results in piglit. Also don't print progress indicators when not outputting to a terminal. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'tests/sysfs_rps.c')
-rw-r--r--tests/sysfs_rps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/sysfs_rps.c b/tests/sysfs_rps.c
index 94c43827..8ba541c4 100644
--- a/tests/sysfs_rps.c
+++ b/tests/sysfs_rps.c
@@ -147,7 +147,7 @@ int main(int argc, char *argv[])
assert(ret != -1);
junk->filp = fopen(path, junk->mode);
if (junk->filp == NULL) {
- fprintf(stderr, "Kernel is too old. GTFO\n");
+ printf("Kernel is too old. GTFO\n");
exit(77);
}
val = readval(junk->filp);