summaryrefslogtreecommitdiff
path: root/ctdb
diff options
context:
space:
mode:
authorMartin Schwenke <martin@meltin.net>2016-09-08 19:01:31 +1000
committerAmitay Isaacs <amitay@samba.org>2016-09-22 08:34:20 +0200
commit8772e1c795e58cc881f4c208c51df2a26b53d361 (patch)
treef472eedc7cb6bf527d05393e9980f3417d8f603f /ctdb
parent8f0cc7eaaedf651f07931926d04f999c694ebebd (diff)
downloadsamba-8772e1c795e58cc881f4c208c51df2a26b53d361.tar.gz
ctdb-tests: Fix typo in local daemons IPv6 setup
This should be a sub-shell not an arithmetic expansion. Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com>
Diffstat (limited to 'ctdb')
-rw-r--r--ctdb/tests/simple/scripts/local_daemons.bash2
1 files changed, 1 insertions, 1 deletions
diff --git a/ctdb/tests/simple/scripts/local_daemons.bash b/ctdb/tests/simple/scripts/local_daemons.bash
index 2d6ec56b80f..b5cfff58eb0 100644
--- a/ctdb/tests/simple/scripts/local_daemons.bash
+++ b/ctdb/tests/simple/scripts/local_daemons.bash
@@ -56,7 +56,7 @@ setup_ctdb ()
local i
for i in $(seq 1 $TEST_LOCAL_DAEMONS) ; do
if [ "${CTDB_USE_IPV6}x" != "x" ]; then
- j=$((printf "%02x" $i))
+ j=$(printf "%02x" $i)
echo "fd00::5357:5f${j}" >>"$CTDB_NODES"
# FIXME: need to add addresses to lo as root before running :-(
# ip addr add "fc00:10::${i}/64" dev lo