diff options
author | Andrew Tridgell <tridge@samba.org> | 2012-02-09 15:14:10 +1100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2012-02-27 07:36:05 +0100 |
commit | d21f7783f6062118edf2c7b8dab79ebc5459317a (patch) | |
tree | 5d639e3220c0def727fd0a7f35ed6604a076b343 /source4/torture/smb2/util.c | |
parent | 3b3066fcaf9efa28aeea7e32a894a4dc3693275c (diff) | |
download | samba-d21f7783f6062118edf2c7b8dab79ebc5459317a.tar.gz samba-d21f7783f6062118edf2c7b8dab79ebc5459317a.tar.bz2 samba-d21f7783f6062118edf2c7b8dab79ebc5459317a.zip |
torture: don't check the NOINDEXED bit in attribute comparison
this bit is dependent on user settings on the filesystem
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4/torture/smb2/util.c')
-rw-r--r-- | source4/torture/smb2/util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/smb2/util.c b/source4/torture/smb2/util.c index 5dca5c3184..5da4c198dc 100644 --- a/source4/torture/smb2/util.c +++ b/source4/torture/smb2/util.c @@ -557,7 +557,7 @@ bool smb2_util_verify_attrib(TALLOC_CTX *tctx, struct smb2_tree *tree, status = smb2_getinfo_file(tree, tctx, &q); CHECK_STATUS(status, NT_STATUS_OK); - q.all_info2.out.attrib &= ~FILE_ATTRIBUTE_ARCHIVE; + q.all_info2.out.attrib &= ~(FILE_ATTRIBUTE_ARCHIVE | FILE_ATTRIBUTE_NONINDEXED); if (q.all_info2.out.attrib != attrib) { torture_warning(tctx, "%s: attributes don't match! " |