mirror of
https://github.com/samba-team/samba.git
synced 2025-01-10 01:18:15 +03:00
0825eff3e3
This makes the logic more obvious. Fix the (probably) accidental fall-through to the regular monitor failure. Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com>
19 lines
262 B
Bash
Executable File
19 lines
262 B
Bash
Executable File
#!/bin/sh
|
|
|
|
. "${TEST_SCRIPTS_DIR}/unit.sh"
|
|
|
|
define_test "set, doesn't exist, 4 times"
|
|
|
|
setup_reclock
|
|
rm -f "$CTDB_RECOVERY_LOCK"
|
|
|
|
ok_null
|
|
simple_test
|
|
simple_test
|
|
simple_test
|
|
|
|
required_result 1 <<EOF
|
|
ERROR: 4 consecutive failures checking reclock
|
|
EOF
|
|
simple_test
|