diff options
author | Garming Sam <garming@catalyst.net.nz> | 2014-11-25 15:59:27 +1300 |
---|---|---|
committer | Garming Sam <garming@samba.org> | 2014-11-27 02:51:11 +0100 |
commit | 5adc171ffe8b5d4d7ba280aa93414921d29b383d (patch) | |
tree | bb9320ef1605757221d05bc6f8e3e05217aef2c9 /source3 | |
parent | 733422c611a72bcf8c53b423a466277c4b783941 (diff) | |
download | samba-5adc171ffe8b5d4d7ba280aa93414921d29b383d.tar.gz |
wbinfo: fix tests and lack of cache flushing
Change-Id: I1a0a8f62522a6eb64d39bee48f4f71403d7c343a
Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source3')
-rwxr-xr-x | source3/script/tests/test_wbinfo_sids2xids_int.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/script/tests/test_wbinfo_sids2xids_int.py b/source3/script/tests/test_wbinfo_sids2xids_int.py index e9cd9abc69a..b26f6d62e9e 100755 --- a/source3/script/tests/test_wbinfo_sids2xids_int.py +++ b/source3/script/tests/test_wbinfo_sids2xids_int.py @@ -24,7 +24,7 @@ domsid = domsid.split(' ')[0] sids=[ domsid + '-512', 'S-1-5-32-545', domsid + '-513' ] -flush_cache +flush_cache() sids2xids = subprocess.Popen([wbinfo, '--sids-to-unix-ids=' + ','.join(sids)], stdout=subprocess.PIPE).communicate()[0].strip() @@ -58,7 +58,7 @@ def check_singular(sids, gids): check_singular(sids, gids) # second round: with empty cache -flush_cache +flush_cache() check_singular(sids, gids) sys.exit(0) |