mirror of
https://github.com/samba-team/samba.git
synced 2025-01-12 09:18:10 +03:00
2c7c35377e
Unit test infrastructure tweaks to support. Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com>
20 lines
272 B
Bash
Executable File
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
|