summaryrefslogtreecommitdiff
path: root/ctdb/tests/eventscripts/00.ctdb.setup.002.sh
blob: e91f8d7e11cac4b8be1d49d8e5b830b9ea8ab673 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh

. "${TEST_SCRIPTS_DIR}/unit.sh"

define_test "setup, known tunables in config"

setup

setup_config <<EOF
CTDB_SET_MonitorInterval=5
CTDB_SET_TDBMutexEnabled=0
EOF

required_result 0 <<EOF
Set MonitorInterval to 5
Set TDBMutexEnabled to 0
EOF

simple_test