Skip to content

Commit 11609b7

Browse files
authored
Merge pull request #878 from Bastian-Krause/bst/fix-nfs-check
util/managedfile: do not check file creation time in NFS check
2 parents f458bd7 + ff9d325 commit 11609b7

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

doc/development.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -564,7 +564,7 @@ available both locally and remotely via the same path:
564564

565565
- check if GNU coreutils stat(1) with option --format exists on local and
566566
remote system
567-
- check if inode number, total size and birth/modification timestamps match
567+
- check if inode number, total size and modification timestamp match
568568
on local and remote system
569569

570570
If this is the case the actual file transfer in ``sync_to_resource`` is

labgrid/util/managedfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ def _on_nfs(self, conn):
8787

8888
self._on_nfs_cached = False
8989

90-
fmt = "inode=%i,size=%s,birth=%W,modified=%Y"
90+
fmt = "inode=%i,size=%s,modified=%Y"
9191
local = subprocess.run(["stat", "--format", fmt, self.local_path],
9292
stdout=subprocess.PIPE)
9393
if local.returncode != 0:

0 commit comments

Comments
 (0)