Skip to content

Commit c5619a6

Browse files
committed
Fixed one more test. One to go.
2 parents 78fd23c + 8f9f410 commit c5619a6

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ FILESYSTEM PASSES `TEST SUITE FOR POSIX COMPLIANCE`_ - WITH ONE EXCEPTION:
1919
- UPDATING *ATIME* AND *MTIME* FAILS UNDER CERTAIN CIRCUMSTANCES.
2020
THE ROOT SOURCE CAN LIKELY BE FOUND IN LIBFUSE **2**.
2121
THIS IS UNDER FURTHER INVESTIGATION.
22-
TWO TESTS WHICH FAIL BECAUSE OF IT ARE THEREFORE CURRENTLY BEING IGNORED.
22+
ONE TEST WHICH FAILS BECAUSE OF IT IS THEREFORE CURRENTLY BEING IGNORED.
2323

2424
A CUSTOM BUG-FIXED VERSION OF `FUSEPY`_ IS REQUIRED FOR FULL POSIX COMPLIANCE.
2525
IF THE LATEST OFFICIAL RELEASE OF FUSEPY IS USED INSTEAD, TIMESTAMPS WILL BE

src/loggedfs/core.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -605,9 +605,9 @@ def unlink(self, path):
605605
def utimens(self, path, times = None):
606606

607607
if self.flag_nanosecond_int:
608-
os.utime(self._rel_path(path), ns = times, dir_fd = self.root_path_fd)
608+
os.utime(self._rel_path(path), ns = times, dir_fd = self.root_path_fd, follow_symlinks = False)
609609
else:
610-
os.utime(self._rel_path(path), times = times, dir_fd = self.root_path_fd)
610+
os.utime(self._rel_path(path), times = times, dir_fd = self.root_path_fd, follow_symlinks = False)
611611

612612

613613
@__log__(format_pattern = '{1} bytes to {0} at offset {2}', abs_path_fields = [0], length_fields = [1])

tests/loggedfs_libtest/param.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,8 +129,7 @@ def __ignore_tests__(old_group_list):
129129
# ('rename', 2)
130130
# ] # The original LoggedFS crashes when tested against those.
131131
xfail_group_list = [
132-
('utimensat', 2),
133-
('utimensat', 5)
132+
('utimensat', 2)
134133
] # likely bugs in libfuse 2.9
135134

136135
for group_path in old_group_list:

0 commit comments

Comments
 (0)