1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-10 01:18:15 +03:00
samba-mirror/ctdb/tests/UNIT/eventd/eventd_007.sh
Martin Schwenke 330a106aaa ctdb-tests: Move eventd tests to UNIT/ subdirectory
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
2019-09-26 04:45:36 +00:00

20 lines
353 B
Bash
Executable File

#!/bin/sh
. "${TEST_SCRIPTS_DIR}/unit.sh"
define_test "timing out event script"
setup_eventd
required_error ETIMEDOUT <<EOF
Event timeout in random timed out
EOF
simple_test run 5 random timeout
required_error ETIMEDOUT <<EOF
01.disabled DISABLED
02.enabled TIMEDOUT DATETIME
OUTPUT:
EOF
simple_test status random timeout