diff options
author | James Peach <jpeach@samba.org> | 2007-03-23 19:24:21 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:49:39 -0500 |
commit | c61db93c7e2d46ac0fd1a0f98199c111fd416a9b (patch) | |
tree | cd8576cd34c969a6ed63afc69ca2349e8626bb47 /source4/torture/unix | |
parent | 40c2da7e896d7e3a37b96fad961c965c0ff5f999 (diff) | |
download | samba-c61db93c7e2d46ac0fd1a0f98199c111fd416a9b.tar.gz samba-c61db93c7e2d46ac0fd1a0f98199c111fd416a9b.tar.bz2 samba-c61db93c7e2d46ac0fd1a0f98199c111fd416a9b.zip |
r21949: After discussion with the Apple and Linux client maintainers,
changing the FindFirst response for the UNIX_INFO2 level to include
a length field before the name. The name is not required to be null
terminated. the lenght field does not count any null.
(This used to be commit eef672bfff6b112ceceec2a58c78042352e83276)
Diffstat (limited to 'source4/torture/unix')
-rw-r--r-- | source4/torture/unix/unix_info2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/torture/unix/unix_info2.c b/source4/torture/unix/unix_info2.c index 66ec96bfd9..8c642c1d8d 100644 --- a/source4/torture/unix/unix_info2.c +++ b/source4/torture/unix/unix_info2.c @@ -298,7 +298,7 @@ static BOOL verify_setinfo_flags(void *mem_ctx, if (info2.file_flags & smb_fmask) { torture_assert_ntstatus_equal(torture, status, NT_STATUS_OK, - "setting UNIX_INFO2 flags"); + "setting valid UNIX_INFO2 flag"); if (!query_path_info2(mem_ctx, torture, cli, fname, &info2)) { @@ -314,7 +314,7 @@ static BOOL verify_setinfo_flags(void *mem_ctx, */ torture_assert_ntstatus_equal(torture, status, NT_STATUS_INVALID_PARAMETER, - "setting UNIX_INFO2 flags"); + "setting invalid UNIX_INFO2 flag"); } } |