ctdb-tests: Avoid use of non-portable getopt in run_tests.sh
authorMartin Schwenke <martin@meltin.net>
Sun, 8 Jul 2018 11:54:40 +0000 (21:54 +1000)
committerMartin Schwenke <martins@samba.org>
Sat, 28 Jul 2018 01:50:10 +0000 (03:50 +0200)
commit56ffca3e79923a028ff96fbd50706d808b9dd215
tree3bcbfc9cdf67bb4f393ede7e6a184576c8347d88
parent4a39bc4aaad541f1e89c0eb3e98d4104bcc25025
ctdb-tests: Avoid use of non-portable getopt in run_tests.sh

getopt is being used with non-portable options.  Use simpler,
POSIX-compliant getopts instead.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13520

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
ctdb/tests/run_tests.sh