Repository navigation
Commit fd96bc7
testsuite: fix timestamp race in exclude test (#1120)
* testsuite: fix timestamp race in exclude test
The same-newness files must have equal modification times, but
separate touch calls can straddle a second boundary and make the
destination newer. This causes --update to skip it unexpectedly.
Copy the source timestamps to the destination explicitly.
* testsuite: only copy update-test mtime
---------
Co-authored-by: Zen Dodd <mail@steadytao.com>1 parent 26da01a commit fd96bc7
1 file changed
Lines changed: 9 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
140 | | - | |
141 | | - | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
142 | 149 | | |
143 | 150 | | |
144 | 151 | | |
| |||
0 commit comments