ctdb-tests: Update preamble for INTEGRATION tests
authorMartin Schwenke <martin@meltin.net>
Tue, 10 Dec 2019 03:50:42 +0000 (14:50 +1100)
committerAmitay Isaacs <amitay@samba.org>
Wed, 22 Jul 2020 02:42:37 +0000 (02:42 +0000)
commit65f56505e29c01d5891e5bc1050b6c37b8cbdee7
tree6b4380b883915d41e11441a923a6c39f02e4ed57
parenta55dd6f17b6d65db77bcd4f5a011e9aef64729e5
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>
62 files changed:
ctdb/tests/INTEGRATION/database/basics.001.attach.sh
ctdb/tests/INTEGRATION/database/basics.002.attach.sh
ctdb/tests/INTEGRATION/database/basics.003.detach.sh
ctdb/tests/INTEGRATION/database/basics.004.wipe.sh
ctdb/tests/INTEGRATION/database/basics.010.backup_restore.sh
ctdb/tests/INTEGRATION/database/fetch.001.ring.sh
ctdb/tests/INTEGRATION/database/fetch.002.ring-hotkeys.sh
ctdb/tests/INTEGRATION/database/readonly.001.basic.sh
ctdb/tests/INTEGRATION/database/recovery.001.volatile.sh
ctdb/tests/INTEGRATION/database/recovery.002.large.sh
ctdb/tests/INTEGRATION/database/recovery.003.no_resurrect.sh
ctdb/tests/INTEGRATION/database/recovery.010.persistent.sh
ctdb/tests/INTEGRATION/database/recovery.011.continue.sh
ctdb/tests/INTEGRATION/database/transaction.001.ptrans.sh
ctdb/tests/INTEGRATION/database/transaction.002.loop.sh
ctdb/tests/INTEGRATION/database/transaction.003.loop_recovery.sh
ctdb/tests/INTEGRATION/database/transaction.004.update_record.sh
ctdb/tests/INTEGRATION/database/transaction.010.loop_recovery.sh
ctdb/tests/INTEGRATION/database/traverse.001.one.sh
ctdb/tests/INTEGRATION/database/traverse.002.many.sh
ctdb/tests/INTEGRATION/database/vacuum.001.fast.sh
ctdb/tests/INTEGRATION/database/vacuum.002.full.sh
ctdb/tests/INTEGRATION/database/vacuum.003.recreate.sh
ctdb/tests/INTEGRATION/database/vacuum.030.locked.sh
ctdb/tests/INTEGRATION/database/vacuum.031.locked.sh
ctdb/tests/INTEGRATION/database/vacuum.032.locked.sh
ctdb/tests/INTEGRATION/database/vacuum.033.locked.sh
ctdb/tests/INTEGRATION/database/vacuum.034.locked.sh
ctdb/tests/INTEGRATION/failover/pubips.001.list.sh
ctdb/tests/INTEGRATION/failover/pubips.010.addip.sh
ctdb/tests/INTEGRATION/failover/pubips.011.delip.sh
ctdb/tests/INTEGRATION/failover/pubips.012.reloadips.sh
ctdb/tests/INTEGRATION/failover/pubips.013.failover_noop.sh
ctdb/tests/INTEGRATION/failover/pubips.014.iface_gc.sh
ctdb/tests/INTEGRATION/failover/pubips.020.moveip.sh
ctdb/tests/INTEGRATION/failover/pubips.030.disable_enable.sh
ctdb/tests/INTEGRATION/failover/pubips.032.stop_continue.sh
ctdb/tests/INTEGRATION/failover/pubips.040.NoIPTakeover.sh
ctdb/tests/INTEGRATION/failover/pubips.050.missing_ip.sh
ctdb/tests/INTEGRATION/simple/basics.000.onnode.sh
ctdb/tests/INTEGRATION/simple/basics.001.listnodes.sh
ctdb/tests/INTEGRATION/simple/basics.002.tunables.sh
ctdb/tests/INTEGRATION/simple/basics.003.ping.sh
ctdb/tests/INTEGRATION/simple/basics.004.getpid.sh
ctdb/tests/INTEGRATION/simple/basics.005.process_exists.sh
ctdb/tests/INTEGRATION/simple/basics.010.statistics.sh
ctdb/tests/INTEGRATION/simple/basics.011.statistics_reset.sh
ctdb/tests/INTEGRATION/simple/cluster.001.isnotrecmaster.sh
ctdb/tests/INTEGRATION/simple/cluster.002.recmaster_yield.sh
ctdb/tests/INTEGRATION/simple/cluster.010.getrelock.sh
ctdb/tests/INTEGRATION/simple/cluster.012.reclock_command.sh
ctdb/tests/INTEGRATION/simple/cluster.015.reclock_remove_lock.sh
ctdb/tests/INTEGRATION/simple/cluster.016.reclock_move_lock_dir.sh
ctdb/tests/INTEGRATION/simple/cluster.020.message_ring.sh
ctdb/tests/INTEGRATION/simple/cluster.021.tunnel_ring.sh
ctdb/tests/INTEGRATION/simple/cluster.090.unreachable.sh
ctdb/tests/INTEGRATION/simple/cluster.091.version_check.sh
ctdb/tests/INTEGRATION/simple/debug.001.getdebug.sh
ctdb/tests/INTEGRATION/simple/debug.002.setdebug.sh
ctdb/tests/INTEGRATION/simple/debug.003.dumpmemory.sh
ctdb/tests/INTEGRATION/simple/eventscripts.001.zero_scripts.sh
ctdb/tests/INTEGRATION/simple/eventscripts.090.debug_hung.sh