ctdb-tests: Redirect stdin from /dev/null when running a test
authorMartin Schwenke <martin@meltin.net>
Thu, 30 Jan 2020 02:37:00 +0000 (13:37 +1100)
committerAmitay Isaacs <amitay@samba.org>
Mon, 10 Feb 2020 04:07:38 +0000 (04:07 +0000)
commit8de1bb75e56525d43665f0a48abbf47dd91aa9c3
tree79f1fb67b2e6ab1f14dd0959d9a44344fe4d846a
parent0737849b90523deb073d0d4987e62d52c57c3e94
ctdb-tests: Redirect stdin from /dev/null when running a test

Otherwise, if the test is run via ssh it will "unexpectedly" find
itself at the other end of a pipe.

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