]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
ctdb-tests: Move simple tests to INTEGRATION/ subdirectory
authorMartin Schwenke <martin@meltin.net>
Mon, 9 Sep 2019 06:00:52 +0000 (16:00 +1000)
committerAmitay Isaacs <amitay@samba.org>
Thu, 26 Sep 2019 04:45:37 +0000 (04:45 +0000)
Split some tests out into database/ and failover/ subdirectories.
Rename the remaining tests in simple/.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
54 files changed:
ctdb/tests/INTEGRATION/database/basics.001.attach.sh [moved from ctdb/tests/simple/24_ctdb_getdbmap.sh with 100% similarity]
ctdb/tests/INTEGRATION/database/basics.002.attach.sh [moved from ctdb/tests/simple/21_ctdb_attach.sh with 100% similarity]
ctdb/tests/INTEGRATION/database/basics.003.detach.sh [moved from ctdb/tests/simple/27_ctdb_detach.sh with 100% similarity]
ctdb/tests/INTEGRATION/database/basics.004.wipe.sh [moved from ctdb/tests/simple/71_ctdb_wipedb.sh with 100% similarity]
ctdb/tests/INTEGRATION/database/basics.010.backup_restore.sh [moved from ctdb/tests/simple/58_ctdb_restoredb.sh with 100% similarity]
ctdb/tests/INTEGRATION/database/fetch.001.ring.sh [moved from ctdb/tests/simple/52_fetch_ring.sh with 100% similarity]
ctdb/tests/INTEGRATION/database/readonly.001.basic.sh [moved from ctdb/tests/simple/75_readonly_records_basic.sh with 100% similarity]
ctdb/tests/INTEGRATION/database/recovery.001.volatile.sh [moved from ctdb/tests/simple/77_ctdb_db_recovery.sh with 100% similarity]
ctdb/tests/INTEGRATION/database/recovery.002.large.sh [moved from ctdb/tests/simple/78_ctdb_large_db_recovery.sh with 100% similarity]
ctdb/tests/INTEGRATION/database/recovery.003.no_resurrect.sh [moved from ctdb/tests/simple/69_recovery_resurrect_deleted.sh with 100% similarity]
ctdb/tests/INTEGRATION/database/recovery.010.persistent.sh [moved from ctdb/tests/simple/70_recoverpdbbyseqnum.sh with 100% similarity]
ctdb/tests/INTEGRATION/database/recovery.011.continue.sh [moved from ctdb/tests/simple/76_ctdb_pdb_recovery.sh with 100% similarity]
ctdb/tests/INTEGRATION/database/transaction.001.ptrans.sh [moved from ctdb/tests/simple/55_ctdb_ptrans.sh with 100% similarity]
ctdb/tests/INTEGRATION/database/transaction.002.loop.sh [moved from ctdb/tests/simple/53_transaction_loop.sh with 100% similarity]
ctdb/tests/INTEGRATION/database/transaction.003.loop_recovery.sh [moved from ctdb/tests/simple/54_transaction_loop_recovery.sh with 100% similarity]
ctdb/tests/INTEGRATION/database/transaction.004.update_record.sh [moved from ctdb/tests/simple/72_update_record_persistent.sh with 100% similarity]
ctdb/tests/INTEGRATION/database/transaction.010.loop_recovery.sh [moved from ctdb/tests/simple/56_replicated_transaction_recovery.sh with 100% similarity]
ctdb/tests/INTEGRATION/database/traverse.001.one.sh [moved from ctdb/tests/simple/79_volatile_db_traverse.sh with 100% similarity]
ctdb/tests/INTEGRATION/database/traverse.002.many.sh [moved from ctdb/tests/simple/80_ctdb_traverse.sh with 100% similarity]
ctdb/tests/INTEGRATION/failover/pubips.001.list.sh [moved from ctdb/tests/simple/11_ctdb_ip.sh with 100% similarity]
ctdb/tests/INTEGRATION/failover/pubips.010.addip.sh [moved from ctdb/tests/simple/16_ctdb_config_add_ip.sh with 100% similarity]
ctdb/tests/INTEGRATION/failover/pubips.011.delip.sh [moved from ctdb/tests/simple/17_ctdb_config_delete_ip.sh with 100% similarity]
ctdb/tests/INTEGRATION/failover/pubips.012.reloadips.sh [moved from ctdb/tests/simple/18_ctdb_reloadips.sh with 100% similarity]
ctdb/tests/INTEGRATION/failover/pubips.013.failover_noop.sh [moved from ctdb/tests/simple/19_ip_takeover_noop.sh with 100% similarity]
ctdb/tests/INTEGRATION/failover/pubips.014.iface_gc.sh [moved from ctdb/tests/simple/20_delip_iface_gc.sh with 100% similarity]
ctdb/tests/INTEGRATION/failover/pubips.020.moveip.sh [moved from ctdb/tests/simple/23_ctdb_moveip.sh with 100% similarity]
ctdb/tests/INTEGRATION/failover/pubips.030.disable_enable.sh [moved from ctdb/tests/simple/32_ctdb_disable_enable.sh with 100% similarity]
ctdb/tests/INTEGRATION/failover/pubips.032.stop_continue.sh [moved from ctdb/tests/simple/42_ctdb_stop_continue.sh with 100% similarity]
ctdb/tests/INTEGRATION/failover/pubips.040.NoIPTakeover.sh [moved from ctdb/tests/simple/73_tunable_NoIPTakeover.sh with 100% similarity]
ctdb/tests/INTEGRATION/failover/pubips.050.missing_ip.sh [moved from ctdb/tests/simple/60_recoverd_missing_ip.sh with 100% similarity]
ctdb/tests/INTEGRATION/simple/README [moved from ctdb/tests/simple/README with 100% similarity]
ctdb/tests/INTEGRATION/simple/basics.000.onnode.sh [moved from ctdb/tests/simple/00_ctdb_onnode.sh with 100% similarity]
ctdb/tests/INTEGRATION/simple/basics.001.listnodes.sh [moved from ctdb/tests/simple/05_ctdb_listnodes.sh with 100% similarity]
ctdb/tests/INTEGRATION/simple/basics.002.tunables.sh [moved from ctdb/tests/simple/02_ctdb_tunables.sh with 100% similarity]
ctdb/tests/INTEGRATION/simple/basics.003.ping.sh [moved from ctdb/tests/simple/09_ctdb_ping.sh with 100% similarity]
ctdb/tests/INTEGRATION/simple/basics.004.getpid.sh [moved from ctdb/tests/simple/06_ctdb_getpid.sh with 100% similarity]
ctdb/tests/INTEGRATION/simple/basics.005.process_exists.sh [moved from ctdb/tests/simple/07_ctdb_process_exists.sh with 100% similarity]
ctdb/tests/INTEGRATION/simple/basics.010.statistics.sh [moved from ctdb/tests/simple/14_ctdb_statistics.sh with 100% similarity]
ctdb/tests/INTEGRATION/simple/basics.011.statistics_reset.sh [moved from ctdb/tests/simple/15_ctdb_statisticsreset.sh with 100% similarity]
ctdb/tests/INTEGRATION/simple/cluster.001.isnotrecmaster.sh [moved from ctdb/tests/simple/08_ctdb_isnotrecmaster.sh with 100% similarity]
ctdb/tests/INTEGRATION/simple/cluster.002.recmaster_yield.sh [moved from ctdb/tests/simple/43_stop_recmaster_yield.sh with 100% similarity]
ctdb/tests/INTEGRATION/simple/cluster.010.getrelock.sh [moved from ctdb/tests/simple/35_ctdb_getreclock.sh with 100% similarity]
ctdb/tests/INTEGRATION/simple/cluster.012.reclock_command.sh [moved from ctdb/tests/simple/01_ctdb_reclock_command.sh with 100% similarity]
ctdb/tests/INTEGRATION/simple/cluster.020.message_ring.sh [moved from ctdb/tests/simple/51_message_ring.sh with 100% similarity]
ctdb/tests/INTEGRATION/simple/cluster.021.tunnel_ring.sh [moved from ctdb/tests/simple/81_tunnel_ring.sh with 100% similarity]
ctdb/tests/INTEGRATION/simple/cluster.090.unreachable.sh [moved from ctdb/tests/simple/26_ctdb_config_check_error_on_unreachable_ctdb.sh with 100% similarity]
ctdb/tests/INTEGRATION/simple/cluster.091.version_check.sh [moved from ctdb/tests/simple/91_version_check.sh with 100% similarity]
ctdb/tests/INTEGRATION/simple/debug.001.getdebug.sh [moved from ctdb/tests/simple/12_ctdb_getdebug.sh with 100% similarity]
ctdb/tests/INTEGRATION/simple/debug.002.setdebug.sh [moved from ctdb/tests/simple/13_ctdb_setdebug.sh with 100% similarity]
ctdb/tests/INTEGRATION/simple/debug.003.dumpmemory.sh [moved from ctdb/tests/simple/25_dumpmemory.sh with 100% similarity]
ctdb/tests/INTEGRATION/simple/eventscripts.001.zero_scripts.sh [moved from ctdb/tests/simple/28_zero_eventscripts.sh with 100% similarity]
ctdb/tests/INTEGRATION/simple/eventscripts.090.debug_hung.sh [moved from ctdb/tests/simple/90_debug_hung_script.sh with 100% similarity]
ctdb/tests/run_tests.sh
ctdb/wscript

index 829c1de9e84318f6c5014e4d183b474268bbcd99..2d71069edcbde746be843bd959a27aadce9eb3f0 100755 (executable)
@@ -251,7 +251,7 @@ run_tests ()
                        */*/*)
                                die "test \"$f\" is not recognised"
                                ;;
-                       */*|simple)
+                       */*)
                                # This is a test suite
                                subtests=$(echo "${f%/}/"*".sh")
                                if [ "$subtests" = "${f%/}/*.sh" ] ; then
@@ -259,7 +259,7 @@ run_tests ()
                                        die "test \"$f\" is not recognised"
                                fi
                                ;;
-                       CLUSTER|UNIT)
+                       CLUSTER|INTEGRATION|UNIT)
                                # A collection of test suites
                                subtests=$(echo "${f%/}/"*)
                                ;;
@@ -307,9 +307,9 @@ export TEST_SCRIPTS_DIR="${CTDB_TEST_DIR}/scripts"
 # If no tests specified then run some defaults
 if [ -z "$1" ] ; then
        if [ -n "$TEST_LOCAL_DAEMONS" ] ; then
-               set -- UNIT simple
+               set -- UNIT INTEGRATION
        else
-               set -- simple CLUSTER
+               set -- INTEGRATION CLUSTER
     fi
 fi
 
index 5616a5c0a87f9534a3e877c331997cae9aeeeeff..2c09fe6ea5eb04840e69037c9f044a2cc9000b70 100644 (file)
@@ -1049,9 +1049,9 @@ def build(bld):
 
     test_subdirs = [
         'CLUSTER',
+        'INTEGRATION',
         'UNIT',
-        'etc-ctdb',
-        'simple'
+        'etc-ctdb'
     ]
 
     if bld.env.standalone_ctdb: