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:
parent
b0893e84b3
commit
365aeba704
@ -319,7 +319,7 @@ sub _verify_download
|
|||||||
= stat $filename;
|
= stat $filename;
|
||||||
|
|
||||||
$mtime == $filedata->{'timestamp'}
|
$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