tests: fix compiler warnings
authorEric Blake <eblake@redhat.com>
Wed, 3 Nov 2010 22:48:56 +0000 (16:48 -0600)
committerEric Blake <eblake@redhat.com>
Wed, 3 Nov 2010 22:52:51 +0000 (16:52 -0600)
commit37b74cd909f60076a096ab8ac2635bc77755153f
tree8c8150252f38a19e22a33cb86c8f026966287027
parent19e1b753376b35a593cd8a8ddb91aa08e314e785
tests: fix compiler warnings

Detected by icc.  The first three files are real test bugs, the
last merely silences a warning about mixing an int with an enum type.

* tests/test-getopt.h (test_getopt): Fix condition.
* tests/test-getopt_long.h (test_getopt_long): Likewise.
* tests/test-pipe2.c (main): Likewise.
* tests/test-quotearg-simple.c (main): Avoid icc warning.

Signed-off-by: Eric Blake <eblake@redhat.com>
ChangeLog
tests/test-getopt.h
tests/test-getopt_long.h
tests/test-pipe2.c
tests/test-quotearg-simple.c