1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

ctdb-tests: Fix a double-typo bug

Amazingly, the code actually works!  Understanding why is homework for
real shell experts, who are not necessarily created ==!

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
This commit is contained in:
Martin Schwenke 2018-02-09 21:18:03 +11:00 committed by Martin Schwenke
parent c8dfd4fe5a
commit 1c2361a5f7

View File

@ -163,8 +163,8 @@ _tcp_connections ()
setup_tcp_connections ()
{
_t==$(mktemp --tmpdir="$EVENTSCRIPTS_TESTS_VAR_DIR")
export FAKE_NETSTAT_TCP_ESTABLISHED_FILE"$_t"
_t=$(mktemp --tmpdir="$EVENTSCRIPTS_TESTS_VAR_DIR")
export FAKE_NETSTAT_TCP_ESTABLISHED_FILE="$_t"
_tcp_connections "$@" >"$FAKE_NETSTAT_TCP_ESTABLISHED_FILE"
}