1
0
mirror of https://github.com/moparisthebest/wget synced 2024-07-03 16:38:41 -04:00

tests/WgetTests.pm: Print timestamps when tests fail due to wrong timestamps

This commit is contained in:
Eli Zaretskii 2014-12-20 12:07:42 +01:00 committed by Tim Ruehsen
parent b0893e84b3
commit 365aeba704

View File

@ -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";
}
}