mirror of
https://github.com/samba-team/samba.git
synced 2025-01-12 09:18:10 +03:00
dc32f11b87
Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com> Autobuild-User(master): Amitay Isaacs <amitay@samba.org> Autobuild-Date(master): Wed Feb 18 08:03:33 CET 2015 on sn-devel-104
22 lines
430 B
Bash
Executable File
22 lines
430 B
Bash
Executable File
#!/bin/sh
|
|
|
|
. "${TEST_SCRIPTS_DIR}/unit.sh"
|
|
|
|
define_test "setup, known and unknown tunables in config"
|
|
|
|
setup_ctdb
|
|
|
|
setup_config <<EOF
|
|
CTDB_SET_MonitorInterval=5
|
|
CTDB_SET_UnknownMagic=0
|
|
EOF
|
|
|
|
required_result 1 <<EOF
|
|
Set MonitorInterval to 5
|
|
Unable to set tunable variable 'UnknownMagic'
|
|
Invalid configuration: CTDB_SET_UnknownMagic=0
|
|
Aborting setup due to invalid configuration - fix typos, remove unknown tunables
|
|
EOF
|
|
|
|
simple_test
|