MCPcopy Create free account
hub / github.com/tox-dev/filelock / verify_filesystem.py

File verify_filesystem.py

tasks/verify_filesystem.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1"""Verify that filelock holds mutual exclusion on a target filesystem, and exit non-zero when it does not.
2
3Point it at a directory on the filesystem under test (an NFS or SMB mount, say) and it runs a mutual-exclusion check:
4several processes each take the lock a fixed number of times and record the wall-clock interval they spend holding it.

Callers

nothing calls this directly

Calls 1

mainFunction · 0.70

Tested by

no test coverage detected