summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Schwenke <martin@meltin.net>2012-04-18 14:55:21 +1000
committerMartin Schwenke <martin@meltin.net>2012-04-27 15:40:43 +1000
commitbf197d097f86ed5c75622778332a7c85c4684a12 (patch)
treea11c487ee3f977d9e062a565a05bd76a96fbfc94
parent4426f9a5317d7eda10a43e6cf76f154c17e81f64 (diff)
downloadsamba-bf197d097f86ed5c75622778332a7c85c4684a12.tar.gz
samba-bf197d097f86ed5c75622778332a7c85c4684a12.tar.xz
samba-bf197d097f86ed5c75622778332a7c85c4684a12.zip
tests: Rename ctdb_test_functions.bash to integration.bash
Signed-off-by: Martin Schwenke <martin@meltin.net> (This used to be ctdb commit 79adb50b3ce3873c3baf9e6715c1d1c3f181ce43)
-rwxr-xr-xctdb/tests/complex/01_ctdb_nfs_skip_share_check.sh2
-rwxr-xr-xctdb/tests/complex/02_ctdb_samba_skip_share_check.sh2
-rwxr-xr-xctdb/tests/complex/11_ctdb_delip_removes_ip.sh2
-rwxr-xr-xctdb/tests/complex/31_nfs_tickle.sh2
-rwxr-xr-xctdb/tests/complex/32_cifs_tickle.sh2
-rwxr-xr-xctdb/tests/complex/33_gratuitous_arp.sh2
-rwxr-xr-xctdb/tests/complex/41_failover_ping_discrete.sh2
-rwxr-xr-xctdb/tests/complex/42_failover_ssh_hostname.sh2
-rwxr-xr-xctdb/tests/complex/43_failover_nfs_basic.sh2
-rwxr-xr-xctdb/tests/complex/44_failover_nfs_oneway.sh2
-rw-r--r--ctdb/tests/scripts/integration.bash (renamed from ctdb/tests/scripts/ctdb_test_functions.bash)0
-rwxr-xr-xctdb/tests/scripts/test_wrap4
-rwxr-xr-xctdb/tests/simple/00_ctdb_init.sh2
-rwxr-xr-xctdb/tests/simple/00_ctdb_onnode.sh2
-rwxr-xr-xctdb/tests/simple/01_ctdb_version.sh2
-rwxr-xr-xctdb/tests/simple/02_ctdb_listvars.sh2
-rwxr-xr-xctdb/tests/simple/03_ctdb_getvar.sh2
-rwxr-xr-xctdb/tests/simple/04_ctdb_setvar.sh2
-rwxr-xr-xctdb/tests/simple/05_ctdb_listnodes.sh2
-rwxr-xr-xctdb/tests/simple/06_ctdb_getpid.sh2
-rwxr-xr-xctdb/tests/simple/07_ctdb_process_exists.sh2
-rwxr-xr-xctdb/tests/simple/08_ctdb_isnotrecmaster.sh2
-rwxr-xr-xctdb/tests/simple/09_ctdb_ping.sh2
-rwxr-xr-xctdb/tests/simple/11_ctdb_ip.sh2
-rwxr-xr-xctdb/tests/simple/12_ctdb_getdebug.sh2
-rwxr-xr-xctdb/tests/simple/13_ctdb_setdebug.sh2
-rwxr-xr-xctdb/tests/simple/14_ctdb_statistics.sh2
-rwxr-xr-xctdb/tests/simple/15_ctdb_statisticsreset.sh2
-rwxr-xr-xctdb/tests/simple/16_ctdb_config_add_ip.sh2
-rwxr-xr-xctdb/tests/simple/17_ctdb_config_delete_ip.sh2
-rwxr-xr-xctdb/tests/simple/23_ctdb_moveip.sh2
-rwxr-xr-xctdb/tests/simple/24_ctdb_getdbmap.sh2
-rwxr-xr-xctdb/tests/simple/25_dumpmemory.sh2
-rwxr-xr-xctdb/tests/simple/26_ctdb_config_check_error_on_unreachable_ctdb.sh2
-rwxr-xr-xctdb/tests/simple/31_ctdb_disable.sh2
-rwxr-xr-xctdb/tests/simple/32_ctdb_enable.sh2
-rwxr-xr-xctdb/tests/simple/41_ctdb_stop.sh2
-rwxr-xr-xctdb/tests/simple/42_ctdb_continue.sh2
-rwxr-xr-xctdb/tests/simple/43_stop_recmaster_yield.sh2
-rwxr-xr-xctdb/tests/simple/51_ctdb_bench.sh2
-rwxr-xr-xctdb/tests/simple/52_ctdb_fetch.sh2
-rwxr-xr-xctdb/tests/simple/53_ctdb_transaction.sh2
-rwxr-xr-xctdb/tests/simple/54_ctdb_transaction_recovery.sh2
-rwxr-xr-xctdb/tests/simple/70_recoverpdbbyseqnum.sh2
-rwxr-xr-xctdb/tests/simple/71_ctdb_wipedb.sh2
-rwxr-xr-xctdb/tests/simple/72_update_record_persistent.sh2
-rwxr-xr-xctdb/tests/simple/73_tunable_NoIPTakeover.sh2
-rwxr-xr-xctdb/tests/simple/75_readonly_records_basic.sh2
48 files changed, 48 insertions, 48 deletions
diff --git a/ctdb/tests/complex/01_ctdb_nfs_skip_share_check.sh b/ctdb/tests/complex/01_ctdb_nfs_skip_share_check.sh
index 969b445191..a7ad938fec 100755
--- a/ctdb/tests/complex/01_ctdb_nfs_skip_share_check.sh
+++ b/ctdb/tests/complex/01_ctdb_nfs_skip_share_check.sh
@@ -54,7 +54,7 @@ Expected results:
EOF
}
-. ctdb_test_functions.bash
+. "${TEST_SCRIPTS_DIR}/integration.bash"
set -e
diff --git a/ctdb/tests/complex/02_ctdb_samba_skip_share_check.sh b/ctdb/tests/complex/02_ctdb_samba_skip_share_check.sh
index c7eadc6b11..9097a78baf 100755
--- a/ctdb/tests/complex/02_ctdb_samba_skip_share_check.sh
+++ b/ctdb/tests/complex/02_ctdb_samba_skip_share_check.sh
@@ -56,7 +56,7 @@ Expected results:
EOF
}
-. ctdb_test_functions.bash
+. "${TEST_SCRIPTS_DIR}/integration.bash"
set -e
diff --git a/ctdb/tests/complex/11_ctdb_delip_removes_ip.sh b/ctdb/tests/complex/11_ctdb_delip_removes_ip.sh
index f60b630096..043c345fac 100755
--- a/ctdb/tests/complex/11_ctdb_delip_removes_ip.sh
+++ b/ctdb/tests/complex/11_ctdb_delip_removes_ip.sh
@@ -38,7 +38,7 @@ Expected results:
EOF
}
-. ctdb_test_functions.bash
+. "${TEST_SCRIPTS_DIR}/integration.bash"
set -e
diff --git a/ctdb/tests/complex/31_nfs_tickle.sh b/ctdb/tests/complex/31_nfs_tickle.sh
index dcbd4d77b2..ce4ae81c9d 100755
--- a/ctdb/tests/complex/31_nfs_tickle.sh
+++ b/ctdb/tests/complex/31_nfs_tickle.sh
@@ -39,7 +39,7 @@ Expected results:
EOF
}
-. ctdb_test_functions.bash
+. "${TEST_SCRIPTS_DIR}/integration.bash"
set -e
diff --git a/ctdb/tests/complex/32_cifs_tickle.sh b/ctdb/tests/complex/32_cifs_tickle.sh
index 3a77381960..93634e72bd 100755
--- a/ctdb/tests/complex/32_cifs_tickle.sh
+++ b/ctdb/tests/complex/32_cifs_tickle.sh
@@ -38,7 +38,7 @@ Expected results:
EOF
}
-. ctdb_test_functions.bash
+. "${TEST_SCRIPTS_DIR}/integration.bash"
set -e
diff --git a/ctdb/tests/complex/33_gratuitous_arp.sh b/ctdb/tests/complex/33_gratuitous_arp.sh
index 8a3de03bed..721b0f2a34 100755
--- a/ctdb/tests/complex/33_gratuitous_arp.sh
+++ b/ctdb/tests/complex/33_gratuitous_arp.sh
@@ -38,7 +38,7 @@ Expected results:
EOF
}
-. ctdb_test_functions.bash
+. "${TEST_SCRIPTS_DIR}/integration.bash"
set -e
diff --git a/ctdb/tests/complex/41_failover_ping_discrete.sh b/ctdb/tests/complex/41_failover_ping_discrete.sh
index 73bc84e30d..88b2013f06 100755
--- a/ctdb/tests/complex/41_failover_ping_discrete.sh
+++ b/ctdb/tests/complex/41_failover_ping_discrete.sh
@@ -32,7 +32,7 @@ Expected results:
EOF
}
-. ctdb_test_functions.bash
+. "${TEST_SCRIPTS_DIR}/integration.bash"
set -e
diff --git a/ctdb/tests/complex/42_failover_ssh_hostname.sh b/ctdb/tests/complex/42_failover_ssh_hostname.sh
index f1a01f799d..defe15ad11 100755
--- a/ctdb/tests/complex/42_failover_ssh_hostname.sh
+++ b/ctdb/tests/complex/42_failover_ssh_hostname.sh
@@ -32,7 +32,7 @@ Expected results:
EOF
}
-. ctdb_test_functions.bash
+. "${TEST_SCRIPTS_DIR}/integration.bash"
set -e
diff --git a/ctdb/tests/complex/43_failover_nfs_basic.sh b/ctdb/tests/complex/43_failover_nfs_basic.sh
index 883a452190..71a822968f 100755
--- a/ctdb/tests/complex/43_failover_nfs_basic.sh
+++ b/ctdb/tests/complex/43_failover_nfs_basic.sh
@@ -36,7 +36,7 @@ Expected results:
EOF
}
-. ctdb_test_functions.bash
+. "${TEST_SCRIPTS_DIR}/integration.bash"
set -e
diff --git a/ctdb/tests/complex/44_failover_nfs_oneway.sh b/ctdb/tests/complex/44_failover_nfs_oneway.sh
index 8fa12b99ca..7da8d019ec 100755
--- a/ctdb/tests/complex/44_failover_nfs_oneway.sh
+++ b/ctdb/tests/complex/44_failover_nfs_oneway.sh
@@ -38,7 +38,7 @@ Expected results:
EOF
}
-. ctdb_test_functions.bash
+. "${TEST_SCRIPTS_DIR}/integration.bash"
set -e
diff --git a/ctdb/tests/scripts/ctdb_test_functions.bash b/ctdb/tests/scripts/integration.bash
index 70c5b5d10b..70c5b5d10b 100644
--- a/ctdb/tests/scripts/ctdb_test_functions.bash
+++ b/ctdb/tests/scripts/integration.bash
diff --git a/ctdb/tests/scripts/test_wrap b/ctdb/tests/scripts/test_wrap
index 6c730ef768..df12e4b731 100755
--- a/ctdb/tests/scripts/test_wrap
+++ b/ctdb/tests/scripts/test_wrap
@@ -1,7 +1,7 @@
#!/bin/bash
# Execute the given command. The intention is that it is a function
-# from ctdb_test_functions.bash.
+# from "${TEST_SCRIPTS_DIR}/integration.bash".
PATH="$(dirname $0):${PATH}"
@@ -11,6 +11,6 @@ if [ ! $(which $f >/dev/null 2>&1) ] ; then
[ -x "$d/$f" ] && PATH="$d:$PATH"
fi
-. ctdb_test_functions.bash
+. "${TEST_SCRIPTS_DIR}/integration.bash"
"$@"
diff --git a/ctdb/tests/simple/00_ctdb_init.sh b/ctdb/tests/simple/00_ctdb_init.sh
index 7b05b069c0..bd15fd7ed6 100755
--- a/ctdb/tests/simple/00_ctdb_init.sh
+++ b/ctdb/tests/simple/00_ctdb_init.sh
@@ -22,7 +22,7 @@ Expected results:
EOF
}
-. ctdb_test_functions.bash
+. "${TEST_SCRIPTS_DIR}/integration.bash"
ctdb_test_init "$@"
diff --git a/ctdb/tests/simple/00_ctdb_onnode.sh b/ctdb/tests/simple/00_ctdb_onnode.sh
index 3d8221a58c..b17dfe0e76 100755
--- a/ctdb/tests/simple/00_ctdb_onnode.sh
+++ b/ctdb/tests/simple/00_ctdb_onnode.sh
@@ -18,7 +18,7 @@ Expected results:
EOF
}
-. ctdb_test_functions.bash
+. "${TEST_SCRIPTS_DIR}/integration.bash"
ctdb_test_init "$@"
diff --git a/ctdb/tests/simple/01_ctdb_version.sh b/ctdb/tests/simple/01_ctdb_version.sh
index 50401d0ba3..5a36ea49eb 100755
--- a/ctdb/tests/simple/01_ctdb_version.sh
+++ b/ctdb/tests/simple/01_ctdb_version.sh
@@ -25,7 +25,7 @@ Expected results:
EOF
}
-. ctdb_test_functions.bash
+. "${TEST_SCRIPTS_DIR}/integration.bash"
ctdb_test_init "$@"
diff --git a/ctdb/tests/simple/02_ctdb_listvars.sh b/ctdb/tests/simple/02_ctdb_listvars.sh
index 13beaec639..2f709a8cc0 100755
--- a/ctdb/tests/simple/02_ctdb_listvars.sh
+++ b/ctdb/tests/simple/02_ctdb_listvars.sh
@@ -25,7 +25,7 @@ Expected results:
EOF
}
-. ctdb_test_functions.bash
+. "${TEST_SCRIPTS_DIR}/integration.bash"
ctdb_test_init "$@"
diff --git a/ctdb/tests/simple/03_ctdb_getvar.sh b/ctdb/tests/simple/03_ctdb_getvar.sh
index 748e329bed..a58aa3bf11 100755
--- a/ctdb/tests/simple/03_ctdb_getvar.sh
+++ b/ctdb/tests/simple/03_ctdb_getvar.sh
@@ -26,7 +26,7 @@ Expected results:
EOF
}
-. ctdb_test_functions.bash
+. "${TEST_SCRIPTS_DIR}/integration.bash"
ctdb_test_init "$@"
diff --git a/ctdb/tests/simple/04_ctdb_setvar.sh b/ctdb/tests/simple/04_ctdb_setvar.sh
index e8eda3abc4..5012e318cc 100755
--- a/ctdb/tests/simple/04_ctdb_setvar.sh
+++ b/ctdb/tests/simple/04_ctdb_setvar.sh
@@ -30,7 +30,7 @@ Expected results:
EOF
}
-. ctdb_test_functions.bash
+. "${TEST_SCRIPTS_DIR}/integration.bash"
ctdb_test_init "$@"
diff --git a/ctdb/tests/simple/05_ctdb_listnodes.sh b/ctdb/tests/simple/05_ctdb_listnodes.sh
index 7bcb414241..a84e4af980 100755
--- a/ctdb/tests/simple/05_ctdb_listnodes.sh
+++ b/ctdb/tests/simple/05_ctdb_listnodes.sh
@@ -22,7 +22,7 @@ Expected results:
EOF
}
-. ctdb_test_functions.bash
+. "${TEST_SCRIPTS_DIR}/integration.bash"
ctdb_test_init "$@"
diff --git a/ctdb/tests/simple/06_ctdb_getpid.sh b/ctdb/tests/simple/06_ctdb_getpid.sh
index 5df8e84593..7152ad4171 100755
--- a/ctdb/tests/simple/06_ctdb_getpid.sh
+++ b/ctdb/tests/simple/06_ctdb_getpid.sh
@@ -24,7 +24,7 @@ Expected results:
EOF
}
-. ctdb_test_functions.bash
+. "${TEST_SCRIPTS_DIR}/integration.bash"
ctdb_test_init "$@"
diff --git a/ctdb/tests/simple/07_ctdb_process_exists.sh b/ctdb/tests/simple/07_ctdb_process_exists.sh
index 6222ee6d24..83205aa07f 100755
--- a/ctdb/tests/simple/07_ctdb_process_exists.sh
+++ b/ctdb/tests/simple/07_ctdb_process_exists.sh
@@ -28,7 +28,7 @@ Expected results:
EOF
}
-. ctdb_test_functions.bash
+. "${TEST_SCRIPTS_DIR}/integration.bash"
ctdb_test_init "$@"
diff --git a/ctdb/tests/simple/08_ctdb_isnotrecmaster.sh b/ctdb/tests/simple/08_ctdb_isnotrecmaster.sh
index 4f1e09689d..138f59c6e7 100755
--- a/ctdb/tests/simple/08_ctdb_isnotrecmaster.sh
+++ b/ctdb/tests/simple/08_ctdb_isnotrecmaster.sh
@@ -24,7 +24,7 @@ Expected results:
EOF
}
-. ctdb_test_functions.bash
+. "${TEST_SCRIPTS_DIR}/integration.bash"
ctdb_test_init "$@"
diff --git a/ctdb/tests/simple/09_ctdb_ping.sh b/ctdb/tests/simple/09_ctdb_ping.sh
index 50612a2512..ab6ba146df 100755
--- a/ctdb/tests/simple/09_ctdb_ping.sh
+++ b/ctdb/tests/simple/09_ctdb_ping.sh
@@ -27,7 +27,7 @@ Expected results:
EOF
}
-. ctdb_test_functions.bash
+. "${TEST_SCRIPTS_DIR}/integration.bash"
ctdb_test_init "$@"
diff --git a/ctdb/tests/simple/11_ctdb_ip.sh b/ctdb/tests/simple/11_ctdb_ip.sh
index 0d7dc5a342..2f39061acd 100755
--- a/ctdb/tests/simple/11_ctdb_ip.sh
+++ b/ctdb/tests/simple/11_ctdb_ip.sh
@@ -23,7 +23,7 @@ Expected results:
EOF
}
-. ctdb_test_functions.bash
+. "${TEST_SCRIPTS_DIR}/integration.bash"
ctdb_test_init "$@"
diff --git a/ctdb/tests/simple/12_ctdb_getdebug.sh b/ctdb/tests/simple/12_ctdb_getdebug.sh
index 76c3f1b875..4a4926d0c6 100755
--- a/ctdb/tests/simple/12_ctdb_getdebug.sh
+++ b/ctdb/tests/simple/12_ctdb_getdebug.sh
@@ -22,7 +22,7 @@ Expected results:
EOF
}
-. ctdb_test_functions.bash
+. "${TEST_SCRIPTS_DIR}/integration.bash"
ctdb_test_init "$@"
diff --git a/ctdb/tests/simple/13_ctdb_setdebug.sh b/ctdb/tests/simple/13_ctdb_setdebug.sh
index b3a202d8bb..d1d1f22a8d 100755
--- a/ctdb/tests/simple/13_ctdb_setdebug.sh
+++ b/ctdb/tests/simple/13_ctdb_setdebug.sh
@@ -30,7 +30,7 @@ Expected results:
EOF
}
-. ctdb_test_functions.bash
+. "${TEST_SCRIPTS_DIR}/integration.bash"
ctdb_test_init "$@"
diff --git a/ctdb/tests/simple/14_ctdb_statistics.sh b/ctdb/tests/simple/14_ctdb_statistics.sh
index 76c520caf4..6a463ba012 100755
--- a/ctdb/tests/simple/14_ctdb_statistics.sh
+++ b/ctdb/tests/simple/14_ctdb_statistics.sh
@@ -25,7 +25,7 @@ Expected results:
EOF
}
-. ctdb_test_functions.bash
+. "${TEST_SCRIPTS_DIR}/integration.bash"
ctdb_test_init "$@"
diff --git a/ctdb/tests/simple/15_ctdb_statisticsreset.sh b/ctdb/tests/simple/15_ctdb_statisticsreset.sh
index 146807f294..eaa60d6920 100755
--- a/ctdb/tests/simple/15_ctdb_statisticsreset.sh
+++ b/ctdb/tests/simple/15_ctdb_statisticsreset.sh
@@ -24,7 +24,7 @@ Expected results:
EOF
}
-. ctdb_test_functions.bash
+. "${TEST_SCRIPTS_DIR}/integration.bash"
ctdb_test_init "$@"
diff --git a/ctdb/tests/simple/16_ctdb_config_add_ip.sh b/ctdb/tests/simple/16_ctdb_config_add_ip.sh
index 3c23ac1d9d..b770bd6a6a 100755
--- a/ctdb/tests/simple/16_ctdb_config_add_ip.sh
+++ b/ctdb/tests/simple/16_ctdb_config_add_ip.sh
@@ -34,7 +34,7 @@ Expected results:
EOF
}
-. ctdb_test_functions.bash
+. "${TEST_SCRIPTS_DIR}/integration.bash"
ctdb_test_init "$@"
diff --git a/ctdb/tests/simple/17_ctdb_config_delete_ip.sh b/ctdb/tests/simple/17_ctdb_config_delete_ip.sh
index 0432946993..1ad9f33436 100755
--- a/ctdb/tests/simple/17_ctdb_config_delete_ip.sh
+++ b/ctdb/tests/simple/17_ctdb_config_delete_ip.sh
@@ -30,7 +30,7 @@ Expected results:
EOF
}
-. ctdb_test_functions.bash
+. "${TEST_SCRIPTS_DIR}/integration.bash"
ctdb_test_init "$@"
diff --git a/ctdb/tests/simple/23_ctdb_moveip.sh b/ctdb/tests/simple/23_ctdb_moveip.sh
index b025dc7d3d..7c09e58503 100755
--- a/ctdb/tests/simple/23_ctdb_moveip.sh
+++ b/ctdb/tests/simple/23_ctdb_moveip.sh
@@ -29,7 +29,7 @@ Expected results:
EOF
}
-. ctdb_test_functions.bash
+. "${TEST_SCRIPTS_DIR}/integration.bash"
ctdb_test_init "$@"
diff --git a/ctdb/tests/simple/24_ctdb_getdbmap.sh b/ctdb/tests/simple/24_ctdb_getdbmap.sh
index f8377caac2..9bed590391 100755
--- a/ctdb/tests/simple/24_ctdb_getdbmap.sh
+++ b/ctdb/tests/simple/24_ctdb_getdbmap.sh
@@ -23,7 +23,7 @@ Expected results:
EOF
}
-. ctdb_test_functions.bash
+. "${TEST_SCRIPTS_DIR}/integration.bash"
ctdb_test_init "$@"
diff --git a/ctdb/tests/simple/25_dumpmemory.sh b/ctdb/tests/simple/25_dumpmemory.sh
index 4a6892cb5d..4082da1d13 100755
--- a/ctdb/tests/simple/25_dumpmemory.sh
+++ b/ctdb/tests/simple/25_dumpmemory.sh
@@ -22,7 +22,7 @@ Expected results:
EOF
}
-. ctdb_test_functions.bash
+. "${TEST_SCRIPTS_DIR}/integration.bash"
ctdb_test_init "$@"
diff --git a/ctdb/tests/simple/26_ctdb_config_check_error_on_unreachable_ctdb.sh b/ctdb/tests/simple/26_ctdb_config_check_error_on_unreachable_ctdb.sh
index 78541d6e69..8b92c0ef50 100755
--- a/ctdb/tests/simple/26_ctdb_config_check_error_on_unreachable_ctdb.sh
+++ b/ctdb/tests/simple/26_ctdb_config_check_error_on_unreachable_ctdb.sh
@@ -32,7 +32,7 @@ Expected results:
EOF
}
-. ctdb_test_functions.bash
+. "${TEST_SCRIPTS_DIR}/integration.bash"
ctdb_test_init "$@"
diff --git a/ctdb/tests/simple/31_ctdb_disable.sh b/ctdb/tests/simple/31_ctdb_disable.sh
index 8635816393..d0214549a4 100755
--- a/ctdb/tests/simple/31_ctdb_disable.sh
+++ b/ctdb/tests/simple/31_ctdb_disable.sh
@@ -29,7 +29,7 @@ Expected results:
EOF
}
-. ctdb_test_functions.bash
+. "${TEST_SCRIPTS_DIR}/integration.bash"
ctdb_test_init "$@"
diff --git a/ctdb/tests/simple/32_ctdb_enable.sh b/ctdb/tests/simple/32_ctdb_enable.sh
index 7bfdc437d4..7cc3da3129 100755
--- a/ctdb/tests/simple/32_ctdb_enable.sh
+++ b/ctdb/tests/simple/32_ctdb_enable.sh
@@ -33,7 +33,7 @@ Expected results:
EOF
}
-. ctdb_test_functions.bash
+. "${TEST_SCRIPTS_DIR}/integration.bash"
ctdb_test_init "$@"
diff --git a/ctdb/tests/simple/41_ctdb_stop.sh b/ctdb/tests/simple/41_ctdb_stop.sh
index 9e95eda421..8f4d77ba68 100755
--- a/ctdb/tests/simple/41_ctdb_stop.sh
+++ b/ctdb/tests/simple/41_ctdb_stop.sh
@@ -29,7 +29,7 @@ Expected results:
EOF
}
-. ctdb_test_functions.bash
+. "${TEST_SCRIPTS_DIR}/integration.bash"
ctdb_test_init "$@"
diff --git a/ctdb/tests/simple/42_ctdb_continue.sh b/ctdb/tests/simple/42_ctdb_continue.sh
index 82e1534b63..e02a90d08e 100755
--- a/ctdb/tests/simple/42_ctdb_continue.sh
+++ b/ctdb/tests/simple/42_ctdb_continue.sh
@@ -31,7 +31,7 @@ Expected results:
EOF
}
-. ctdb_test_functions.bash
+. "${TEST_SCRIPTS_DIR}/integration.bash"
ctdb_test_init "$@"
diff --git a/ctdb/tests/simple/43_stop_recmaster_yield.sh b/ctdb/tests/simple/43_stop_recmaster_yield.sh
index a47991e8be..e7a825002e 100755
--- a/ctdb/tests/simple/43_stop_recmaster_yield.sh
+++ b/ctdb/tests/simple/43_stop_recmaster_yield.sh
@@ -22,7 +22,7 @@ Expected results:
EOF
}
-. ctdb_test_functions.bash
+. "${TEST_SCRIPTS_DIR}/integration.bash"
ctdb_test_init "$@"
diff --git a/ctdb/tests/simple/51_ctdb_bench.sh b/ctdb/tests/simple/51_ctdb_bench.sh
index e629c01e93..d4f7c542d1 100755
--- a/ctdb/tests/simple/51_ctdb_bench.sh
+++ b/ctdb/tests/simple/51_ctdb_bench.sh
@@ -26,7 +26,7 @@ Expected results:
EOF
}
-. ctdb_test_functions.bash
+. "${TEST_SCRIPTS_DIR}/integration.bash"
ctdb_test_init "$@"
diff --git a/ctdb/tests/simple/52_ctdb_fetch.sh b/ctdb/tests/simple/52_ctdb_fetch.sh
index 5936419066..13b3f1fafd 100755
--- a/ctdb/tests/simple/52_ctdb_fetch.sh
+++ b/ctdb/tests/simple/52_ctdb_fetch.sh
@@ -26,7 +26,7 @@ Expected results:
EOF
}
-. ctdb_test_functions.bash
+. "${TEST_SCRIPTS_DIR}/integration.bash"
ctdb_test_init "$@"
diff --git a/ctdb/tests/simple/53_ctdb_transaction.sh b/ctdb/tests/simple/53_ctdb_transaction.sh
index 760f78b510..b99b3a9fe4 100755
--- a/ctdb/tests/simple/53_ctdb_transaction.sh
+++ b/ctdb/tests/simple/53_ctdb_transaction.sh
@@ -22,7 +22,7 @@ Expected results:
EOF
}
-. ctdb_test_functions.bash
+. "${TEST_SCRIPTS_DIR}/integration.bash"
ctdb_test_init "$@"
diff --git a/ctdb/tests/simple/54_ctdb_transaction_recovery.sh b/ctdb/tests/simple/54_ctdb_transaction_recovery.sh
index 13a92cccf4..baeea22ab1 100755
--- a/ctdb/tests/simple/54_ctdb_transaction_recovery.sh
+++ b/ctdb/tests/simple/54_ctdb_transaction_recovery.sh
@@ -41,7 +41,7 @@ recovery_loop_start()
ctdb_test_exit_hook_add "kill $RECLOOP_PID >/dev/null 2>&1"
}
-. ctdb_test_functions.bash
+. "${TEST_SCRIPTS_DIR}/integration.bash"
ctdb_test_init "$@"
diff --git a/ctdb/tests/simple/70_recoverpdbbyseqnum.sh b/ctdb/tests/simple/70_recoverpdbbyseqnum.sh
index 4b46cbbb3c..612366c310 100755
--- a/ctdb/tests/simple/70_recoverpdbbyseqnum.sh
+++ b/ctdb/tests/simple/70_recoverpdbbyseqnum.sh
@@ -40,7 +40,7 @@ Expected results:
EOF
}
-. ctdb_test_functions.bash
+. "${TEST_SCRIPTS_DIR}/integration.bash"
ctdb_test_init "$@"
diff --git a/ctdb/tests/simple/71_ctdb_wipedb.sh b/ctdb/tests/simple/71_ctdb_wipedb.sh
index 3859661908..0cd07ccbca 100755
--- a/ctdb/tests/simple/71_ctdb_wipedb.sh
+++ b/ctdb/tests/simple/71_ctdb_wipedb.sh
@@ -24,7 +24,7 @@ Expected results:
EOF
}
-. ctdb_test_functions.bash
+. "${TEST_SCRIPTS_DIR}/integration.bash"
ctdb_test_init "$@"
diff --git a/ctdb/tests/simple/72_update_record_persistent.sh b/ctdb/tests/simple/72_update_record_persistent.sh
index d232b4006f..5039492537 100755
--- a/ctdb/tests/simple/72_update_record_persistent.sh
+++ b/ctdb/tests/simple/72_update_record_persistent.sh
@@ -26,7 +26,7 @@ Expected results:
EOF
}
-. ctdb_test_functions.bash
+. "${TEST_SCRIPTS_DIR}/integration.bash"
ctdb_test_init "$@"
diff --git a/ctdb/tests/simple/73_tunable_NoIPTakeover.sh b/ctdb/tests/simple/73_tunable_NoIPTakeover.sh
index 2f44ce4456..eee3da9db2 100755
--- a/ctdb/tests/simple/73_tunable_NoIPTakeover.sh
+++ b/ctdb/tests/simple/73_tunable_NoIPTakeover.sh
@@ -24,7 +24,7 @@ Expected results:
EOF
}
-. ctdb_test_functions.bash
+. "${TEST_SCRIPTS_DIR}/integration.bash"
ctdb_test_init "$@"
diff --git a/ctdb/tests/simple/75_readonly_records_basic.sh b/ctdb/tests/simple/75_readonly_records_basic.sh
index a2bb916635..db5b79275a 100755
--- a/ctdb/tests/simple/75_readonly_records_basic.sh
+++ b/ctdb/tests/simple/75_readonly_records_basic.sh
@@ -39,7 +39,7 @@ Expected results:
EOF
}
-. ctdb_test_functions.bash
+. "${TEST_SCRIPTS_DIR}/integration.bash"
ctdb_test_init "$@"