Rename $CTDB_NUM_NODES to $CTDB_TEST_NUM_DAEMONS and only set it if
drwxr-xr-x - ctdb