[Piglit] [PATCH] Fix arguments count check and the test name
Laura Ekstrand
laura at jlekstrand.net
Mon Mar 2 10:25:02 PST 2015
Reviewed-by: Laura Ekstrand <laura at jlekstrand.net>
On Mon, Mar 2, 2015 at 10:11 AM, Anuj Phogat <anuj.phogat at gmail.com> wrote:
> 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
>
> _______________________________________________
> Piglit mailing list
> Piglit at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/piglit
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/piglit/attachments/20150302/50eeb638/attachment-0001.html>
More information about the Piglit
mailing list