1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-19 12:23:49 +03:00

tests: Use the general py_reparse_get

This was the only user of py_reparse_symlink_get

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
Volker Lendecke
2024-07-04 13:46:38 +02:00
committed by Jeremy Allison
parent 3a60fc5da4
commit 93bde61f81

View File

@@ -182,10 +182,11 @@ class Smb2SymlinkTests(samba.tests.libsmb.LibsmbTests):
b'\x72\x00\x62\x00\x61\x00\x72\x00')
try:
syml = reparse_symlink.symlink_get(buf);
(tag,syml) = reparse_symlink.get(buf)
except:
self.fail("Could not parse symlink buffer")
self.assertEqual(tag, "IO_REPARSE_TAG_SYMLINK")
self.assertEqual(syml, ('bar', 'bar', 0, 1))
def test_bug15505(self):