mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
8f312aef84
Although much of the test infrastructure in recent commits is actually targeted for "reloadnodes", it is worthwhile adding some tests for "reloadips" and "recover". This allows most of the test infrastructure to be tried out against known good code. 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): Mon Mar 16 09:18:55 CET 2015 on sn-devel-104
21 lines
213 B
Bash
Executable File
21 lines
213 B
Bash
Executable File
#!/bin/sh
|
|
|
|
. "${TEST_SCRIPTS_DIR}/unit.sh"
|
|
|
|
define_test "Just a recovery"
|
|
|
|
ok_null
|
|
|
|
simple_test <<EOF
|
|
NODEMAP
|
|
0 192.168.20.41 0x0 CURRENT
|
|
1 192.168.20.42 0x0 RECMASTER
|
|
2 192.168.20.43 0x0
|
|
|
|
VNNMAP
|
|
654321
|
|
0
|
|
1
|
|
2
|
|
EOF
|