mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
26b7841aa6
Commit 86792724a2
added complications on
top of the multiple TCP port checking methods that used to exist.
Life is simpler now and the cause of any failures is obvious. So just
print a simple message if the port check fails.
Tweak tests to match changes. Drop one test that becomes a duplicate.
Temporarily tweak ctdb_check_command() so that it passes shellcheck
tests. It will be removed anyway in a subsequent commit.
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
13 lines
173 B
Bash
Executable File
13 lines
173 B
Bash
Executable File
#!/bin/sh
|
|
|
|
. "${TEST_SCRIPTS_DIR}/unit.sh"
|
|
|
|
define_test "port 445 down"
|
|
|
|
setup_samba
|
|
tcp_port_down 445
|
|
|
|
required_result 1 "samba not listening on TCP port 445"
|
|
|
|
simple_test
|