ctdb-tests: Check for readable, not executable, script
commitf6efe0c5c2378f477e528ac9c6571a732aa2c49b
authorMartin Schwenke <martin@meltin.net>
Fri, 6 Mar 2015 00:36:18 +0000 (6 11:36 +1100)
committerAmitay Isaacs <amitay@samba.org>
Fri, 6 Mar 2015 03:40:07 +0000 (6 04:40 +0100)
tree72b35355ea6db50333faeb498890089cff2331e4
parentbccf5c9a7bc18b859f262307ab6a2b6edaca0588
ctdb-tests: Check for readable, not executable, script

Scripts in eventscript unit tests are run under an explicitly
specified shell so they do not need to be executable.  Checking that
the script is executable breaks on scripts that are installed without
the execute bit set, such as disabled eventscripts.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
Autobuild-User(master): Amitay Isaacs <amitay@samba.org>
Autobuild-Date(master): Fri Mar  6 04:40:07 CET 2015 on sn-devel-104
ctdb/tests/eventscripts/scripts/local.sh