dsdb group_audit tests: fix use of strncmp
authorGary Lockyer <gary@catalyst.net.nz>
Wed, 14 Nov 2018 01:03:37 +0000 (14:03 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 20 Nov 2018 00:33:33 +0000 (01:33 +0100)
commiteea1d4b7782fd2a7741e0c3144900b8b9272bfec
tree8d1fcac1f203c45829188f9d10b0b40c57c1af8b
parent008449d99f7f0bcc165cdf9dc479eb9dc5e1a856
dsdb group_audit tests: fix use of strncmp

Replace the uses of:
   strncmp(expected, value, strlen(expected))
With:
    strcmp(expected, value)

Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source4/dsdb/samdb/ldb_modules/tests/test_group_audit.c