summaryrefslogtreecommitdiffstats
path: root/python/samba/tests/samba3sam.py
diff options
context:
space:
mode:
authorMartin Schwenke <martin@meltin.net>2014-03-27 16:26:21 +1100
committerAmitay Isaacs <amitay@samba.org>2014-03-28 05:55:13 +0100
commitaa7cd51bbc438555552584a7d71f5bae6909603f (patch)
tree636cf118365f3d736d719b46e2378721637f1c25 /python/samba/tests/samba3sam.py
parent234f8eb5712c38872444c5dd7a258903b389b062 (diff)
downloadsamba-aa7cd51bbc438555552584a7d71f5bae6909603f.tar.gz
samba-aa7cd51bbc438555552584a7d71f5bae6909603f.tar.xz
samba-aa7cd51bbc438555552584a7d71f5bae6909603f.zip
ctdb-tests: Fix and extend read-only records test
This test currently counts the number of read-only-enabled databases and expects there to only be 1. It fails when there are existing databases with read-only already enabled. Instead, check just the test database. Clean up the test by adding some functions to check for precisely the read-only flags that should be set on a node after each operation. Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com>
Diffstat (limited to 'python/samba/tests/samba3sam.py')
0 files changed, 0 insertions, 0 deletions