6fd2dbfef126ab6b3588be79fb92414d1e71ab14
[metze/samba/wip.git] / ctdb / tests / eventscripts / 00.ctdb.setup.004.sh
1 #!/bin/sh
2
3 . "${TEST_SCRIPTS_DIR}/unit.sh"
4
5 define_test "setup, known and obsolete tunables in config"
6
7 setup_ctdb
8
9 setup_config <<EOF
10 CTDB_SET_MonitorInterval=5
11 CTDB_SET_EventScriptUnhealthyOnTimeout=0
12 EOF
13
14 required_result 0 <<EOF
15 Setting obsolete tunable variable 'EventScriptUnhealthyOnTimeout'
16 Set EventScriptUnhealthyOnTimeout to 0
17 Set MonitorInterval to 5
18 EOF
19
20 simple_test