1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00
samba-mirror/ctdb/tests/eventscripts/00.ctdb.setup.002.sh
Martin Schwenke 2c7c35377e ctdb-tests: New tests for 00.ctdb "setup" event - set tunables from config
Unit test infrastructure tweaks to support.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
2015-02-18 05:34:06 +01:00

20 lines
272 B
Bash
Executable File

#!/bin/sh
. "${TEST_SCRIPTS_DIR}/unit.sh"
define_test "setup, known tunables in config"
setup_ctdb
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