summaryrefslogtreecommitdiff
path: root/ctdb/tests/INTEGRATION/simple/cluster.015.reclock_remove_lock.sh
diff options
context:
space:
mode:
authorMartin Schwenke <martin@meltin.net>2019-12-10 14:50:42 +1100
committerAmitay Isaacs <amitay@samba.org>2020-07-22 02:42:37 +0000
commit65f56505e29c01d5891e5bc1050b6c37b8cbdee7 (patch)
tree6b4380b883915d41e11441a923a6c39f02e4ed57 /ctdb/tests/INTEGRATION/simple/cluster.015.reclock_remove_lock.sh
parenta55dd6f17b6d65db77bcd4f5a011e9aef64729e5 (diff)
downloadsamba-65f56505e29c01d5891e5bc1050b6c37b8cbdee7.tar.gz
ctdb-tests: Update preamble for INTEGRATION tests
* Use "#!/usr/bin/env bash" for improved portability * Drop test_info() definition and replace it with a comment The use of test_info() is pointless. * Drop call to cluster_is_healthy() This is a holdover from when the previous test would restart daemons to get things ready for a test. There was also a bug where going into recovery during the restart would sometimes cause the cluster to become unhealthy. If we really need something like this then we can add it to ctdb_test_init(). * Make order of preamble consistent Signed-off-by: Martin Schwenke <martin@meltin.net>
Diffstat (limited to 'ctdb/tests/INTEGRATION/simple/cluster.015.reclock_remove_lock.sh')
-rwxr-xr-xctdb/tests/INTEGRATION/simple/cluster.015.reclock_remove_lock.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/ctdb/tests/INTEGRATION/simple/cluster.015.reclock_remove_lock.sh b/ctdb/tests/INTEGRATION/simple/cluster.015.reclock_remove_lock.sh
index d74bcf819b4..eccf0bea9da 100755
--- a/ctdb/tests/INTEGRATION/simple/cluster.015.reclock_remove_lock.sh
+++ b/ctdb/tests/INTEGRATION/simple/cluster.015.reclock_remove_lock.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# Verify that the cluster recovers if the recovery lock is removed.