]> Savannah Git Hosting - gnulib.git/commit
getopt: fix parallel test failure
authorEric Blake <eblake@redhat.com>
Thu, 29 Dec 2016 21:05:34 +0000 (15:05 -0600)
committerEric Blake <eblake@redhat.com>
Thu, 29 Dec 2016 21:06:09 +0000 (15:06 -0600)
commitb366f53ec394e9886c60c851243af59952480a73
tree519af6a60cb7fa16f3b6bb78a6be006f93d445c0
parent8e63aebd5d3e398a986dcc5cfaaa5409bca30d12
getopt: fix parallel test failure

I hit a testsuite failure due to a failure removing test-getopt.tmp,
when running tests in parallel.

* tests/test-getopt-posix.c (TEST_GETOPT_TMP_NAME): Set name.
* tests/test-getopt-gnu.c (TEST_GETOPT_TMP_NAME): Likewise.
* tests/test-getopt-main.h (main): Use different file names
in case test-getopt-gnu and test-getopt-posix run in parallel.

Signed-off-by: Eric Blake <eblake@redhat.com>
ChangeLog
tests/test-getopt-gnu.c
tests/test-getopt-main.h
tests/test-getopt-posix.c