[Piglit] [PATCH] Fix arguments count check and the test name
Anuj Phogat
anuj.phogat at gmail.com
Mon Mar 2 10:11:01 PST 2015
Signed-off-by: Anuj Phogat <anuj.phogat at gmail.com>
---
tests/texturing/teximage-colors.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/texturing/teximage-colors.c b/tests/texturing/teximage-colors.c
index 31136a9..ea0c5e1 100644
--- a/tests/texturing/teximage-colors.c
+++ b/tests/texturing/teximage-colors.c
@@ -479,8 +479,8 @@ piglit_init(int argc, char **argv)
}
}
- if (argc < 1) {
- printf("usage: texstore-colors [--seed=seed] [--benchmark] format");
+ if (argc < 2) {
+ printf("usage: teximage-colors [--seed=seed] [--benchmark] format\n");
exit(1);
}
--
1.9.3
More information about the Piglit
mailing list