ctdb-tests: Fix typos
commit42aedc62e3a16bcdafbef06140105650f15f6269
authorMartin Schwenke <martin@meltin.net>
Mon, 8 Aug 2022 08:11:26 +0000 (8 18:11 +1000)
committerAmitay Isaacs <amitay@samba.org>
Thu, 25 Aug 2022 15:22:36 +0000 (25 15:22 +0000)
tree2e830b74e7933760024d4091a7566541a5cbd8af
parentb88e7322d9b4cf617381b12deb393edd87d1cf73
ctdb-tests: Fix typos

These lines are just wrong:

  try_command_on_node -v $test_node "ip addr show to ${test_node}"
  if -n "$out"; then

The 2nd variable referenced should be $test_ip.  The 2nd line causes
"-n: command not found" because it is missing [] test command
brackets.

Both typos would probably make the test pass unconditionally.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
ctdb/tests/CLUSTER/complex/11_ctdb_delip_removes_ip.sh