Tests - ctdb listvars test should allow alphanumericals in tunable names.
authorMartin Schwenke <martin@meltin.net>
Mon, 15 Aug 2011 03:53:39 +0000 (13:53 +1000)
committerMartin Schwenke <martin@meltin.net>
Mon, 15 Aug 2011 03:56:26 +0000 (13:56 +1000)
This matches the new "LCP2PublicIPs" tunable.

Signed-off-by: Martin Schwenke <martin@meltin.net>
tests/simple/02_ctdb_listvars.sh

index 093c1578f474e360c8d2d81112b0decfc76e4607..13beaec6393fefebd5430a4e36954c358fd5f7de 100755 (executable)
@@ -37,5 +37,5 @@ try_command_on_node -v 0 "$CTDB listvars"
 
 sanity_check_output \
     5 \
-    '^[[:alpha:]]+[[:space:]]*=[[:space:]]*[[:digit:]]+$' \
+    '^[[:alpha:]][[:alnum:]]+[[:space:]]*=[[:space:]]*[[:digit:]]+$' \
     "$out"