1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-03 01:18:10 +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.assertEqual(found_files[fname]['nlink'], 1)
self.assertEqual(found_files[fname]['size'], 4)
self.assertEqual(found_files[fname]['allocaction_size'],
self.assertEqual(found_files[fname]['allocation_size'],
4096)
self.assertEqual(found_files[fname]['attrib'],
libsmb.FILE_ATTRIBUTE_ARCHIVE)

View File

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