Skip to content
  • Duncan Coutts's avatar
    Add a sanity unit test for dir mtime behaviour · 5a880c07
    Duncan Coutts authored
    We rely on posix & ntfs directory mtime semantics, which is that a dir
    mtime changes if the set of names in the dir changes.
    
    We rely on this both for the meaning of monitorDirectory but also we
    rely on it as an optimisation within the glob checking code.
    
    So this test should always pass on posix-compliant file systems.
    Apparently it may not hold on FAT file systems.
    5a880c07