summaryrefslogtreecommitdiffstats
path: root/test/Decider/content-timestamp-symlink.py
Commit message (Collapse)AuthorAgeFilesLines
* Skip new content-timestamp-symlink test on win32Mats Wichmann2022-05-061-0/+3
| | | | Signed-off-by: Mats Wichmann <mats@linux.com>
* Fix a couple of sider complaints in new testcaseMats Wichmann2022-05-061-5/+2
| | | | Signed-off-by: Mats Wichmann <mats@linux.com>
* Fix content-timestamp decider for symlinksMats Wichmann2022-05-061-0/+81
The base filesystem node class has getmtime() and getsize() functions. Those were changed in an early commit to use the lstat() method if the node represented a symbolic link. However, we actually want the information of the file the symlink points to, or we can't detect changes to the mtime or size of the underlying file, and miss rebuilds if content-timestamp is used. Added a testcase which shows the failure to rebuild from the symlinked source. Fixes #3880 Signed-off-by: Mats Wichmann <mats@linux.com>