1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00
samba-mirror/ctdb/tests/eventscripts
Martin Schwenke 19ed8165bb ctdb-tests: Stop cross-talk between reclock tests
On a busy system the backgrounded counter reset can survive into the
next test and interfere with its result.

To avoid this, wait until all forks of 01.reclock exit before
continuing on to the next test.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Volker Lendecke <vl@samba.org>

Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Mon Aug  1 17:53:27 CEST 2016 on sn-devel-144
2016-08-01 17:53:27 +02:00
..
etc ctdb-tests: Add reclock event script tests 2016-07-21 02:24:25 +02:00
etc-ctdb ctdb-tests: Drop no-op functions and add an ip6tables stub 2016-05-26 08:04:29 +02:00
scripts ctdb-tests: Stop cross-talk between reclock tests 2016-08-01 17:53:27 +02:00
stubs ctdb-tools: Simplify "ctdb pnn" output format 2016-07-25 21:29:46 +02:00
00.ctdb.init.001.sh tests/eventscripts: New tests for 00.ctdb "init" event 2013-06-20 13:01:10 +10:00
00.ctdb.init.002.sh tests/eventscripts: New tests for 00.ctdb "init" event 2013-06-20 13:01:10 +10:00
00.ctdb.init.003.sh tests/eventscripts: New tests for 00.ctdb "init" event 2013-06-20 13:01:10 +10:00
00.ctdb.init.004.sh tests/eventscripts: New tests for 00.ctdb "init" event 2013-06-20 13:01:10 +10:00
00.ctdb.init.005.sh tests/eventscripts: New tests for 00.ctdb "init" event 2013-06-20 13:01:10 +10:00
00.ctdb.init.006.sh tests/eventscripts: New tests for 00.ctdb "init" event 2013-06-20 13:01:10 +10:00
00.ctdb.init.007.sh tests/eventscripts: New tests for 00.ctdb "init" event 2013-06-20 13:01:10 +10:00
00.ctdb.init.008.sh tests/eventscripts: New tests for 00.ctdb "init" event 2013-06-20 13:01:10 +10:00
00.ctdb.init.009.sh ctdb-tests: New event script test for corrupt TDB checking 2016-07-21 02:24:25 +02:00
00.ctdb.setup.001.sh ctdb-tests: New tests for 00.ctdb "setup" event - set tunables from config 2015-02-18 05:34:06 +01:00
00.ctdb.setup.002.sh ctdb-tests: New tests for 00.ctdb "setup" event - set tunables from config 2015-02-18 05:34:06 +01:00
00.ctdb.setup.003.sh ctdb-scripts: Improve messages about invalid tunables during "setup" 2015-02-18 08:03:33 +01:00
00.ctdb.setup.004.sh ctdb-tool: Print a warning when setting an obsolete tunable variable 2015-02-18 05:34:06 +01:00
01.reclock.monitor.001.sh ctdb-tests: Add reclock event script tests 2016-07-21 02:24:25 +02:00
01.reclock.monitor.002.sh ctdb-tests: Add reclock event script tests 2016-07-21 02:24:25 +02:00
01.reclock.monitor.003.sh ctdb-tests: Add reclock event script tests 2016-07-21 02:24:25 +02:00
01.reclock.monitor.004.sh ctdb-scripts: Drop use of ctdb_check_counter from reclock event script 2016-07-21 02:24:25 +02:00
01.reclock.monitor.005.sh ctdb-scripts: Drop use of ctdb_check_counter from reclock event script 2016-07-21 02:24:25 +02:00
05.system.monitor.001.sh ctdb-scripts: Add default filesystem usage warnings 2015-08-29 20:08:47 +02:00
05.system.monitor.002.sh ctdb-scripts: Add default system memory usage warnings 2015-08-29 17:06:25 +02:00
05.system.monitor.003.sh ctdb-scripts: Add default system memory usage warnings 2015-08-29 17:06:25 +02:00
05.system.monitor.004.sh ctdb-scripts: Add default system memory usage warnings 2015-08-29 17:06:25 +02:00
05.system.monitor.005.sh ctdb-scripts: Add default system memory usage warnings 2015-08-29 17:06:25 +02:00
05.system.monitor.006.sh ctdb-scripts: Add default system memory usage warnings 2015-08-29 17:06:25 +02:00
05.system.monitor.007.sh ctdb-scripts: Add default system memory usage warnings 2015-08-29 17:06:25 +02:00
05.system.monitor.011.sh ctdb-scripts: Add default system memory usage warnings 2015-08-29 17:06:25 +02:00
05.system.monitor.012.sh ctdb-scripts: Add default system memory usage warnings 2015-08-29 17:06:25 +02:00
05.system.monitor.013.sh ctdb-scripts: Add default system memory usage warnings 2015-08-29 17:06:25 +02:00
05.system.monitor.014.sh ctdb-scripts: Add default system memory usage warnings 2015-08-29 17:06:25 +02:00
05.system.monitor.015.sh ctdb-scripts: Add default system memory usage warnings 2015-08-29 17:06:25 +02:00
05.system.monitor.016.sh ctdb-scripts: New consistent system memory and swap monitoring 2015-08-29 17:06:25 +02:00
05.system.monitor.017.sh ctdb-scripts: Add default system memory usage warnings 2015-08-29 17:06:25 +02:00
05.system.monitor.018.sh ctdb-scripts: Throttle system resource monitoring warnings 2015-08-29 17:06:25 +02:00
10.interface.init.001.sh tests/eventscripts - Restructure according to new convention 2012-04-16 16:24:12 +10:00
10.interface.init.002.sh tests/eventscripts - Restructure according to new convention 2012-04-16 16:24:12 +10:00
10.interface.init.021.sh ctdb-scripts: Drop all public IP addresses from 10.interface 2015-05-13 06:42:13 +02:00
10.interface.init.022.sh ctdb-scripts: Drop all public IP addresses from 10.interface 2015-05-13 06:42:13 +02:00
10.interface.init.023.sh ctdb-scripts: Drop all public IP addresses from 10.interface 2015-05-13 06:42:13 +02:00
10.interface.monitor.001.sh tests/eventscripts - Restructure according to new convention 2012-04-16 16:24:12 +10:00
10.interface.monitor.002.sh tests/eventscripts - Restructure according to new convention 2012-04-16 16:24:12 +10:00
10.interface.monitor.003.sh tests/eventscripts - Restructure according to new convention 2012-04-16 16:24:12 +10:00
10.interface.monitor.004.sh tests/eventscripts - Restructure according to new convention 2012-04-16 16:24:12 +10:00
10.interface.monitor.005.sh tests/eventscripts - Restructure according to new convention 2012-04-16 16:24:12 +10:00
10.interface.monitor.006.sh tests/eventscripts - Restructure according to new convention 2012-04-16 16:24:12 +10:00
10.interface.monitor.007.sh tests/eventscripts - Restructure according to new convention 2012-04-16 16:24:12 +10:00
10.interface.monitor.008.sh ctdb-tests: Remove remaining uses of iterate_test() 2015-07-14 09:57:17 +02:00
10.interface.monitor.009.sh tests/eventscripts - Restructure according to new convention 2012-04-16 16:24:12 +10:00
10.interface.monitor.010.sh tests/eventscripts - Restructure according to new convention 2012-04-16 16:24:12 +10:00
10.interface.monitor.011.sh tests/eventscripts - Restructure according to new convention 2012-04-16 16:24:12 +10:00
10.interface.monitor.012.sh tests/eventscripts - Restructure according to new convention 2012-04-16 16:24:12 +10:00
10.interface.monitor.013.sh tests/eventscripts - Restructure according to new convention 2012-04-16 16:24:12 +10:00
10.interface.monitor.014.sh tests/eventscripts - Restructure according to new convention 2012-04-16 16:24:12 +10:00
10.interface.monitor.015.sh ctdb-scripts: Refactor function interface_monitor() to monitor one interface 2016-01-25 07:18:24 +01:00
10.interface.monitor.016.sh ctdb-scripts: Refactor function interface_monitor() to monitor one interface 2016-01-25 07:18:24 +01:00
10.interface.monitor.017.sh ctdb-tests: Add some 10.interfaces VLAN tests 2015-07-14 09:57:17 +02:00
10.interface.monitor.018.sh ctdb-tests: Add some 10.interfaces VLAN tests 2015-07-14 09:57:17 +02:00
10.interface.multi.001.sh tests/eventscripts - Restructure according to new convention 2012-04-16 16:24:12 +10:00
10.interface.releaseip.001.sh tests/eventscripts - Restructure according to new convention 2012-04-16 16:24:12 +10:00
10.interface.releaseip.002.sh ctdb-scripts: Make 10.interface IPv6-safe 2014-12-05 21:02:40 +01:00
10.interface.releaseip.010.sh eventscripts: kill_tcp_connections() should send connections to stdin 2013-07-29 15:53:06 +10:00
10.interface.releaseip.011.sh ctdb-scripts: Use ctdb_killtcp helper to kill connections 2016-04-01 04:42:12 +02:00
10.interface.startup.001.sh tests/eventscripts - Restructure according to new convention 2012-04-16 16:24:12 +10:00
10.interface.startup.002.sh tests/eventscripts - Restructure according to new convention 2012-04-16 16:24:12 +10:00
10.interface.takeip.001.sh tests/eventscripts - Restructure according to new convention 2012-04-16 16:24:12 +10:00
10.interface.takeip.002.sh tests/eventscripts - Restructure according to new convention 2012-04-16 16:24:12 +10:00
10.interface.takeip.003.sh ctdb-tests: Remove remaining uses of iterate_test() 2015-07-14 09:57:17 +02:00
11.natgw.001.sh ctdb-tests: Add some tests for 11.natgw eventscript 2014-03-26 04:21:41 +01:00
11.natgw.002.sh ctdb-eventscripts: Remove NAT gateway "monitor" event 2014-07-29 07:38:13 +02:00
11.natgw.003.sh ctdb-eventscripts: Remove NAT gateway "monitor" event 2014-07-29 07:38:13 +02:00
11.natgw.004.sh ctdb-eventscripts: Remove NAT gateway "monitor" event 2014-07-29 07:38:13 +02:00
11.natgw.011.sh ctdb-tests: Add some tests for 11.natgw eventscript 2014-03-26 04:21:41 +01:00
11.natgw.012.sh ctdb-tests: Add some tests for 11.natgw eventscript 2014-03-26 04:21:41 +01:00
11.natgw.013.sh ctdb-tests: Add some tests for 11.natgw eventscript 2014-03-26 04:21:41 +01:00
11.natgw.014.sh ctdb-tests: Add some tests for 11.natgw eventscript 2014-03-26 04:21:41 +01:00
11.natgw.015.sh ctdb-eventscripts: Make 11.natgw stateful 2015-03-16 06:41:06 +01:00
11.natgw.021.sh ctdb-tests: Add NAT gateway eventscript unit tests for static routes 2014-03-26 06:24:01 +01:00
11.natgw.022.sh ctdb-tests: Add NAT gateway eventscript unit tests for static routes 2014-03-26 06:24:01 +01:00
11.natgw.023.sh ctdb-tests: Add NAT gateway eventscript unit tests for static routes 2014-03-26 06:24:01 +01:00
11.natgw.024.sh ctdb-tests: Add NAT gateway eventscript unit tests for static routes 2014-03-26 06:24:01 +01:00
11.natgw.025.sh ctdb-eventscripts: Make 11.natgw stateful 2015-03-16 06:41:06 +01:00
11.natgw.031.sh ctdb-eventscripts: Make 11.natgw stateful 2015-03-16 06:41:06 +01:00
11.natgw.041.sh ctdb: Call out to ctdb_natgw helper from 11.natgw 2016-01-25 07:18:25 +01:00
11.natgw.042.sh ctdb: Call out to ctdb_natgw helper from 11.natgw 2016-01-25 07:18:25 +01:00
11.natgw.051.sh ctdb-scripts: Tests for monitoring of CTDB_NATGW_PUBLIC_IFACE 2016-01-25 07:18:25 +01:00
11.natgw.052.sh ctdb-scripts: Tests for monitoring of CTDB_NATGW_PUBLIC_IFACE 2016-01-25 07:18:25 +01:00
11.natgw.053.sh ctdb-scripts: No longer set the NAT gateway capability 2016-01-25 07:18:25 +01:00
11.natgw.054.sh ctdb-scripts: No longer set the NAT gateway capability 2016-01-25 07:18:25 +01:00
13.per_ip_routing.001.sh tests/eventscripts: add extra infrastructure for policy routing tests 2012-10-11 12:10:45 +11:00
13.per_ip_routing.002.sh tests/eventscripts: add extra infrastructure for policy routing tests 2012-10-11 12:10:45 +11:00
13.per_ip_routing.003.sh tests/eventscripts: add extra infrastructure for policy routing tests 2012-10-11 12:10:45 +11:00
13.per_ip_routing.004.sh tests/eventscripts: add extra infrastructure for policy routing tests 2012-10-11 12:10:45 +11:00
13.per_ip_routing.005.sh tests/eventscripts: add extra infrastructure for policy routing tests 2012-10-11 12:10:45 +11:00
13.per_ip_routing.006.sh tests/eventscripts: add extra infrastructure for policy routing tests 2012-10-11 12:10:45 +11:00
13.per_ip_routing.007.sh tests/eventscripts: add extra infrastructure for policy routing tests 2012-10-11 12:10:45 +11:00
13.per_ip_routing.008.sh tests/eventscripts: add extra infrastructure for policy routing tests 2012-10-11 12:10:45 +11:00
13.per_ip_routing.009.sh tests/eventscripts: add extra infrastructure for policy routing tests 2012-10-11 12:10:45 +11:00
13.per_ip_routing.010.sh tests/eventscripts: add extra infrastructure for policy routing tests 2012-10-11 12:10:45 +11:00
13.per_ip_routing.011.sh tests/eventscripts: add extra infrastructure for policy routing tests 2012-10-11 12:10:45 +11:00
13.per_ip_routing.012.sh tests/eventscripts: add extra infrastructure for policy routing tests 2012-10-11 12:10:45 +11:00
13.per_ip_routing.013.sh tests/eventscripts: add extra infrastructure for policy routing tests 2012-10-11 12:10:45 +11:00
13.per_ip_routing.014.sh tests/eventscripts: add extra infrastructure for policy routing tests 2012-10-11 12:10:45 +11:00
13.per_ip_routing.015.sh tests/eventscripts: add extra infrastructure for policy routing tests 2012-10-11 12:10:45 +11:00
13.per_ip_routing.016.sh eventscripts: Simplify handling of $service name in "managed" functions 2013-05-06 15:45:10 +10:00
13.per_ip_routing.017.sh eventscripts: Simplify handling of $service name in "managed" functions 2013-05-06 15:45:10 +10:00
13.per_ip_routing.018.sh eventscripts: Simplify handling of $service name in "managed" functions 2013-05-06 15:45:10 +10:00
13.per_ip_routing.019.sh eventscripts: Simplify handling of $service name in "managed" functions 2013-05-06 15:45:10 +10:00
13.per_ip_routing.021.sh ctdb-eventscripts: Add check for invalid policy routing configuration 2014-05-05 03:55:08 +02:00
13.per_ip_routing.022.sh ctdb-eventscripts: Add check for invalid policy routing configuration 2014-05-05 03:55:08 +02:00
13.per_ip_routing.023.sh ctdb-tests: Add a policy routing test with misconfiguration 2015-08-07 08:37:38 +02:00
20.multipathd.monitor.001.sh tests/eventscripts: New tests for 20.multipathd 2013-10-22 14:34:04 +11:00
20.multipathd.monitor.002.sh tests/eventscripts: New tests for 20.multipathd 2013-10-22 14:34:04 +11:00
20.multipathd.monitor.003.sh tests/eventscripts: New tests for 20.multipathd 2013-10-22 14:34:04 +11:00
20.multipathd.monitor.004.sh tests/eventscripts: New tests for 20.multipathd 2013-10-22 14:34:04 +11:00
40.vsftpd.monitor.001.sh tests/eventscripts - Restructure according to new convention 2012-04-16 16:24:12 +10:00
40.vsftpd.monitor.002.sh ctdb-tests: Add new vsftpd event script test 2016-07-21 02:24:25 +02:00
41.httpd.monitor.001.sh tests/eventscripts - Restructure according to new convention 2012-04-16 16:24:12 +10:00
41.httpd.monitor.002.sh ctdb-tests: Add new httpd event script test 2016-07-21 02:24:25 +02:00
49.winbind.monitor.001.sh Eventscripts: split 50.samba into 49.winbind and 50.samba 2012-10-03 08:46:32 +10:00
49.winbind.monitor.050.sh tests/eventscripts: Override background_with_logging(), just prepend "&" 2013-08-14 15:57:03 +10:00
49.winbind.monitor.051.sh tests/eventscripts: Override background_with_logging(), just prepend "&" 2013-08-14 15:57:03 +10:00
49.winbind.monitor.101.sh Eventscripts: split 50.samba into 49.winbind and 50.samba 2012-10-03 08:46:32 +10:00
49.winbind.monitor.102.sh eventscripts: Clean up ctdb_check_command() 2013-05-06 15:45:10 +10:00
50.samba.monitor.001.sh tests/eventscripts - Restructure according to new convention 2012-04-16 16:24:12 +10:00
50.samba.monitor.050.sh tests/eventscripts: Override background_with_logging(), just prepend "&" 2013-08-14 15:57:03 +10:00
50.samba.monitor.051.sh tests/eventscripts: Override background_with_logging(), just prepend "&" 2013-08-14 15:57:03 +10:00
50.samba.monitor.101.sh tests/eventscripts - Restructure according to new convention 2012-04-16 16:24:12 +10:00
50.samba.monitor.103.sh tests/eventscripts - Restructure according to new convention 2012-04-16 16:24:12 +10:00
50.samba.monitor.104.sh tests/eventscripts - Restructure according to new convention 2012-04-16 16:24:12 +10:00
50.samba.monitor.105.sh tests/eventscripts - Restructure according to new convention 2012-04-16 16:24:12 +10:00
50.samba.monitor.106.sh tests/eventscripts - Restructure according to new convention 2012-04-16 16:24:12 +10:00
50.samba.monitor.107.sh scripts: Use $CTDB_SCRIPT_DEBUGLEVEL instead of something more complex 2013-04-19 13:13:36 +10:00
50.samba.monitor.110.sh ctdb-scripts: Rename variable CTDB_ETCDIR to CTDB_SYS_ETCDIR 2015-09-15 08:56:21 +02:00
50.samba.monitor.111.sh ctdb-scripts: Rename variable CTDB_ETCDIR to CTDB_SYS_ETCDIR 2015-09-15 08:56:21 +02:00
50.samba.monitor.112.sh ctdb-scripts: Improve error handling for 50.samba testparm failure 2015-08-07 05:33:29 +02:00
50.samba.monitor.113.sh ctdb-scripts: Improve error handling for 50.samba testparm failure 2015-08-07 05:33:29 +02:00
60.nfs.monitor.001.sh tests/eventscripts - Restructure according to new convention 2012-04-16 16:24:12 +10:00
60.nfs.monitor.101.sh tests/eventscripts - Restructure according to new convention 2012-04-16 16:24:12 +10:00
60.nfs.monitor.102.sh ctdb-scripts: Remove configuration variable CTDB_MONITOR_NFS_THREAD_COUNT 2015-07-14 09:57:18 +02:00
60.nfs.monitor.103.sh ctdb-scripts: Remove configuration variable CTDB_MONITOR_NFS_THREAD_COUNT 2015-07-14 09:57:18 +02:00
60.nfs.monitor.104.sh ctdb-scripts: Remove configuration variable CTDB_MONITOR_NFS_THREAD_COUNT 2015-07-14 09:57:18 +02:00
60.nfs.monitor.105.sh ctdb-tests: New NFS test with all services up and 10 iterations 2015-07-14 09:57:17 +02:00
60.nfs.monitor.106.sh ctdb-scripts: Add portmapper NFS .check file 2015-07-14 09:57:18 +02:00
60.nfs.monitor.107.sh ctdb-tests: Add some simple tests for CTDB_NFS_CALLOUT 2015-07-14 09:57:18 +02:00
60.nfs.monitor.108.sh ctdb-tests: Add some simple tests for CTDB_NFS_CALLOUT 2015-07-14 09:57:18 +02:00
60.nfs.monitor.111.sh tests/eventscripts - Restructure according to new convention 2012-04-16 16:24:12 +10:00
60.nfs.monitor.112.sh ctdb-tests: Update NFS tests to use nfs_iterate_test() 2015-07-14 09:57:17 +02:00
60.nfs.monitor.113.sh ctdb-scripts: Drop configuration variable CTDB_NFS_DUMP_STUCK_THREADS 2015-07-14 09:57:18 +02:00
60.nfs.monitor.114.sh ctdb-scripts: Drop configuration variable CTDB_NFS_DUMP_STUCK_THREADS 2015-07-14 09:57:18 +02:00
60.nfs.monitor.121.sh ctdb-scripts: NFS RPC checks should be simple and consistent 2015-07-14 09:57:17 +02:00
60.nfs.monitor.122.sh ctdb-scripts: NFS RPC checks should be simple and consistent 2015-07-14 09:57:17 +02:00
60.nfs.monitor.131.sh ctdb-scripts: NFS RPC checks should be simple and consistent 2015-07-14 09:57:17 +02:00
60.nfs.monitor.132.sh ctdb-scripts: NFS RPC checks should be simple and consistent 2015-07-14 09:57:17 +02:00
60.nfs.monitor.141.sh ctdb-scripts: NFS RPC checks should be simple and consistent 2015-07-14 09:57:17 +02:00
60.nfs.monitor.142.sh ctdb-scripts: NFS RPC checks should be simple and consistent 2015-07-14 09:57:17 +02:00
60.nfs.monitor.143.sh ctdb-scripts: Drop configuration variable CTDB_NFS_DUMP_STUCK_THREADS 2015-07-14 09:57:18 +02:00
60.nfs.monitor.144.sh ctdb-scripts: NFS RPC checks should be simple and consistent 2015-07-14 09:57:17 +02:00
60.nfs.monitor.151.sh tests/eventscripts - Restructure according to new convention 2012-04-16 16:24:12 +10:00
60.nfs.monitor.152.sh ctdb-scripts: NFS RPC checks should be simple and consistent 2015-07-14 09:57:17 +02:00
60.nfs.monitor.153.sh ctdb-scripts: NFS RPC checks should be simple and consistent 2015-07-14 09:57:17 +02:00
60.nfs.monitor.161.sh tests/eventscripts - Restructure according to new convention 2012-04-16 16:24:12 +10:00
60.nfs.monitor.162.sh tests/eventscripts - Restructure according to new convention 2012-04-16 16:24:12 +10:00
60.nfs.multi.001.sh Eventscripts: Do not restart NFS on reconfigure 2013-01-07 10:35:39 +11:00
60.nfs.multi.002.sh ctdb/eventscripts: Do not reconfigure in "monitor" events 2013-12-17 06:32:35 +01:00
60.nfs.multi.003.sh ctdb/eventscripts: Reconfigure lock should be released quickly 2014-01-17 17:59:26 +11:00
60.nfs.multi.004.sh ctdb:tests: timedout->timed out in 60.nfs.multi.004 test 2016-06-01 04:30:36 +02:00
60.nfs.multi.005.sh ctdb/eventscripts: Reconfigure lock should be released quickly 2014-01-17 17:59:26 +11:00
60.nfs.multi.006.sh Eventscripts: Do not restart NFS on reconfigure 2013-01-07 10:35:39 +11:00
91.lvs.001.sh ctdb-tests: Add unit tests for LVS eventscript 2016-04-15 05:57:17 +02:00
91.lvs.ipreallocated.011.sh ctdb-tests: Add unit tests for LVS eventscript 2016-04-15 05:57:17 +02:00
91.lvs.ipreallocated.012.sh ctdb-tests: Add unit tests for LVS eventscript 2016-04-15 05:57:17 +02:00
91.lvs.ipreallocated.013.sh ctdb-tests: Add unit tests for LVS eventscript 2016-04-15 05:57:17 +02:00
91.lvs.ipreallocated.014.sh ctdb-tests: Add unit tests for LVS eventscript 2016-04-15 05:57:17 +02:00
91.lvs.monitor.001.sh ctdb-scripts: Add monitoring of CTDB_LVS_PUBLIC_IFACE 2016-04-15 05:57:17 +02:00
91.lvs.monitor.002.sh ctdb-scripts: Add monitoring of CTDB_LVS_PUBLIC_IFACE 2016-04-15 05:57:17 +02:00
91.lvs.monitor.003.sh ctdb-scripts: Add monitoring of CTDB_LVS_PUBLIC_IFACE 2016-04-15 05:57:17 +02:00
91.lvs.shutdown.001.sh ctdb-tests: Add unit tests for LVS eventscript 2016-04-15 05:57:17 +02:00
91.lvs.shutdown.002.sh ctdb-tests: Add unit tests for LVS eventscript 2016-04-15 05:57:17 +02:00
91.lvs.startup.001.sh ctdb-tests: Add unit tests for LVS eventscript 2016-04-15 05:57:17 +02:00
91.lvs.startup.002.sh ctdb-tests: Add unit tests for LVS eventscript 2016-04-15 05:57:17 +02:00
README ctdb-tests: Remove function iterate_test() 2015-07-14 09:57:17 +02:00
statd-callout.001.sh ctdb-scripts: Change statd-callout to be more scalable 2015-03-04 10:42:27 +01:00
statd-callout.002.sh ctdb-scripts: Change statd-callout to be more scalable 2015-03-04 10:42:27 +01:00
statd-callout.003.sh ctdb-scripts: Change statd-callout to be more scalable 2015-03-04 10:42:27 +01:00
statd-callout.004.sh ctdb-scripts: Change statd-callout to be more scalable 2015-03-04 10:42:27 +01:00
statd-callout.005.sh ctdb-tests: New function ctdb_set_pnn() to change PNN 2015-04-27 03:32:10 +02:00
statd-callout.006.sh ctdb-tests: New function ctdb_set_pnn() to change PNN 2015-04-27 03:32:10 +02:00
statd-callout.007.sh ctdb-scripts: Change statd-callout to be more scalable 2015-03-04 10:42:27 +01:00

eventscript unit tests
======================

This directory contains some eventscript unit tests for CTDB.  These
tests can be run as a non-privileged user.  There are a lot of stub
implementations of commands (located in stubs/) used to make the
eventscripts think they're running against a real system.

Test case filenames look like:

  <eventscript>.<event>.NNN.sh

The test helper functions will run <eventscript> with specified
options.  If using the simple_test() helper function then the 1st
<event> argument is automatically passed.  When simple_test_event() is
used the event name must be explicitly passed as the 1st argument -
this is more flexible and supports multiple events per test.

Examples:

* ../run_tests.sh .

  Run all tests, displaying minimal output.

* ../run_tests.sh -s .

  Run all tests, displaying minimal output and a summary.

* ../run_tests.sh -s ./10.interface.*.sh

  Run all the tests against the 10.interface eventscript.

* ../run_tests.sh -v -s .

  Run all tests, displaying extra output and a summary.

* ../run_tests.sh -sq .

  Run all tests, displaying only a summary.

* ../run_tests.sh -X ./10.interface.startup.002.sh

  Run a test and have the eventscript itself run with "sh -x".  This
  will usually make a test fail because the (undesirable) trace output
  will be included with the output of the eventscript.  However, this
  is useful for finding out why a test might be failing.