mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-25 21:54:48 +00:00
Pingback::_touch should update the [ma]time of the file
This commit is contained in:
@@ -215,6 +215,11 @@ ok(
|
||||
"time_to_check returns true if the file exists and it's mtime is at least one day old",
|
||||
);
|
||||
|
||||
ok(
|
||||
!Pingback::time_to_check($file),
|
||||
"...but fails if tried a second time, as the mtime has been updated",
|
||||
);
|
||||
|
||||
# #############################################################################
|
||||
# Done.
|
||||
# #############################################################################
|
||||
|
Reference in New Issue
Block a user