1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00
samba-mirror/ctdb/tests/tool/func.parse_nodestring.003.sh
Martin Schwenke 1c8c0be6f9 ctdb-tests: Make the fake log timestamp string easy to modify
Use a variable to allow easy change of this string in case future
logging changes modify the timestamp format or do not support
timestamping.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Volker Lendecke <vl@samba.org>
2014-10-06 12:34:32 +02:00

16 lines
308 B
Bash
Executable File

#!/bin/sh
. "${TEST_SCRIPTS_DIR}/unit.sh"
define_test "all, current disconnected"
required_result 10 <<EOF
${TEST_DATE_STAMP}Unable to get nodemap from local node
EOF
simple_test all true <<EOF
0 192.168.20.41 0x0
1 192.168.20.42 0x0
2 192.168.20.43 0x1 CURRENT RECMASTER
EOF