From: Martin Schwenke Date: Fri, 9 Feb 2018 10:18:03 +0000 (+1100) Subject: ctdb-tests: Fix a double-typo bug X-Git-Tag: talloc-2.1.12~326 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1c2361a5f736bb14fa809a7071b1ebf08f560f8d;p=thirdparty%2Fsamba.git 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 Reviewed-by: Amitay Isaacs --- diff --git a/ctdb/tests/eventscripts/scripts/local.sh b/ctdb/tests/eventscripts/scripts/local.sh index 83877c3e264..65676e08b21 100644 --- a/ctdb/tests/eventscripts/scripts/local.sh +++ b/ctdb/tests/eventscripts/scripts/local.sh @@ -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" }