mirror of
https://github.com/mirror/wget.git
synced 2024-12-28 05:40:08 +08:00
tests/WgetTests.pm: Print timestamps when tests fail due to wrong timestamps
This commit is contained in:
parent
b0893e84b3
commit
365aeba704
@ -319,7 +319,7 @@ sub _verify_download
|
||||
= stat $filename;
|
||||
|
||||
$mtime == $filedata->{'timestamp'}
|
||||
or return "Test failed: wrong timestamp for file $filename\n";
|
||||
or return "Test failed: wrong timestamp for file $filename: expected = $filedata->{'timestamp'}, actual = $mtime\n";
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user