1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-05 09:18:06 +03:00

pylibsmb: Fix a typo

pylibsmb is supposed to be used only internally, at least I hope this
has not made it into an API that is perceived to be publically used.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>

Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Thu Sep 26 16:35:55 UTC 2024 on atb-devel-224
This commit is contained in:
Volker Lendecke 2024-09-24 10:59:23 +02:00 committed by Ralph Boehme
parent 342d45eddb
commit 93db1c7f3b
2 changed files with 2 additions and 2 deletions

View File

@ -321,7 +321,7 @@ class Smb3UnixTests(samba.tests.libsmb.LibsmbTests):
self.assertTrue(stat.S_ISREG(found_unixmode)) self.assertTrue(stat.S_ISREG(found_unixmode))
self.assertEqual(found_files[fname]['nlink'], 1) self.assertEqual(found_files[fname]['nlink'], 1)
self.assertEqual(found_files[fname]['size'], 4) self.assertEqual(found_files[fname]['size'], 4)
self.assertEqual(found_files[fname]['allocaction_size'], self.assertEqual(found_files[fname]['allocation_size'],
4096) 4096)
self.assertEqual(found_files[fname]['attrib'], self.assertEqual(found_files[fname]['attrib'],
libsmb.FILE_ATTRIBUTE_ARCHIVE) libsmb.FILE_ATTRIBUTE_ARCHIVE)

View File

@ -1996,7 +1996,7 @@ static NTSTATUS list_posix_helper(struct file_info *finfo,
finfo->attr, finfo->attr,
"size", "size",
finfo->size, finfo->size,
"allocaction_size", "allocation_size",
finfo->allocated_size, finfo->allocated_size,
"btime", "btime",
convert_timespec_to_time_t(finfo->btime_ts), convert_timespec_to_time_t(finfo->btime_ts),