ctdb-tests: Improve portability by not using /bin/bash directly
authorMartin Schwenke <martin@meltin.net>
Sun, 1 Jul 2018 03:30:06 +0000 (13:30 +1000)
committerMartin Schwenke <martins@samba.org>
Sat, 28 Jul 2018 01:50:10 +0000 (03:50 +0200)
commitdd9d8a20aa6948a5d1e7fb532842b7ff5bc0f550
treee6d50238dc3df5a740e6bd2939278761586c324e
parent73298ac8a9a87dcf3b3699dfdd39a8e865291620
ctdb-tests: Improve portability by not using /bin/bash directly

FreeBSD and others do not have /bin/bash, so use "/usr/bin/env bash"
for better flexibility.

There are still many integration tests that use /bin/bash but this at
least lets FreeBSD start running tests.

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