ctdb-tests: Move takeover_helper tests to UNIT/ subdirectory
[samba.git] / ctdb / tests / UNIT / tool / ctdb.listvars.001.sh
1 #!/bin/sh
2
3 . "${TEST_SCRIPTS_DIR}/unit.sh"
4
5 define_test "exact check of output"
6
7 setup_ctdbd <<EOF
8 NODEMAP
9 0       192.168.20.41   0x0     CURRENT RECMASTER
10 1       192.168.20.42   0x0
11 2       192.168.20.43   0x0
12 EOF
13
14 ok << EOF
15 SeqnumInterval             = 1000
16 ControlTimeout             = 60
17 TraverseTimeout            = 20
18 KeepaliveInterval          = 5
19 KeepaliveLimit             = 5
20 RecoverTimeout             = 30
21 RecoverInterval            = 1
22 ElectionTimeout            = 3
23 TakeoverTimeout            = 9
24 MonitorInterval            = 15
25 TickleUpdateInterval       = 20
26 EventScriptTimeout         = 30
27 MonitorTimeoutCount        = 20
28 RecoveryGracePeriod        = 120
29 RecoveryBanPeriod          = 300
30 DatabaseHashSize           = 100001
31 DatabaseMaxDead            = 5
32 RerecoveryTimeout          = 10
33 EnableBans                 = 1
34 NoIPFailback               = 0
35 VerboseMemoryNames         = 0
36 RecdPingTimeout            = 60
37 RecdFailCount              = 10
38 LogLatencyMs               = 0
39 RecLockLatencyMs           = 1000
40 RecoveryDropAllIPs         = 120
41 VacuumInterval             = 10
42 VacuumMaxRunTime           = 120
43 RepackLimit                = 10000
44 VacuumLimit                = 5000
45 VacuumFastPathCount        = 60
46 MaxQueueDropMsg            = 1000000
47 AllowUnhealthyDBRead       = 0
48 StatHistoryInterval        = 1
49 DeferredAttachTO           = 120
50 AllowClientDBAttach        = 1
51 FetchCollapse              = 1
52 HopcountMakeSticky         = 50
53 StickyDuration             = 600
54 StickyPindown              = 200
55 NoIPTakeover               = 0
56 DBRecordCountWarn          = 100000
57 DBRecordSizeWarn           = 10000000
58 DBSizeWarn                 = 100000000
59 PullDBPreallocation        = 10485760
60 LockProcessesPerDB         = 200
61 RecBufferSizeLimit         = 1000000
62 QueueBufferSize            = 1024
63 IPAllocAlgorithm           = 2
64 AllowMixedVersions         = 0
65 EOF
66
67 simple_test