tests: Fix a typo in daemons_setup()
authorMartin Schwenke <martin@meltin.net>
Mon, 14 May 2012 05:01:44 +0000 (15:01 +1000)
committerMartin Schwenke <martin@meltin.net>
Mon, 14 May 2012 05:13:41 +0000 (15:13 +1000)
Signed-off-by: Martin Schwenke <martin@meltin.net>
(This used to be ctdb commit 863ad337fa3c4effe1fd370d3ba414027c600bd6)

ctdb/tests/scripts/integration.bash

index 652e4cacb88081f9ece02ce81a27417ecdc8973d..b156ca20700e8e1306790fad304bdb9e037eeb4f 100644 (file)
@@ -528,10 +528,10 @@ daemons_setup ()
     local i
     for i in $(seq 1 $TEST_LOCAL_DAEMONS) ; do
        if [ "${CTDB_USE_IPV6}x" != "x" ]; then
-           echo ::$i >> $nodes
+           echo ::$i >>"$CTDB_NODES"
            ip addr add ::$i/128 dev lo
        else
-           echo 127.0.0.$i >> $CTDB_NODES
+           echo 127.0.0.$i >>"$CTDB_NODES"
            # 2 public addresses on most nodes, just to make things interesting.
            if [ $(($i - 1)) -ne $no_public_ips ] ; then
                echo "192.0.2.$i/24 lo" >>"$public_addresses_all"