ctdb-tests: Fix getdbmap test so that it actually works sanely
authorMartin Schwenke <martin@meltin.net>
Tue, 10 Dec 2019 01:03:10 +0000 (12:03 +1100)
committerAmitay Isaacs <amitay@samba.org>
Wed, 12 Feb 2020 04:38:47 +0000 (04:38 +0000)
commitbd279d3f98df58a3a8bdc84c34c2b14a650aa755
treec117509b468bb2386a252d414801afaea1a7c4b5
parent224e8978723bd469c2da772208a17725e868fbef
ctdb-tests: Fix getdbmap test so that it actually works sanely

* Typo in variable name db_map_pattern
* Variable num_db_init used before set
* dbmap_pattern does not cover database flags

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
Autobuild-User(master): Amitay Isaacs <amitay@samba.org>
Autobuild-Date(master): Wed Feb 12 04:38:47 UTC 2020 on sn-devel-184
ctdb/tests/INTEGRATION/database/basics.001.attach.sh