From 365aeba7046148409ff70b6bd46f83d342c72ba7 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sat, 20 Dec 2014 12:07:42 +0100 Subject: [PATCH] tests/WgetTests.pm: Print timestamps when tests fail due to wrong timestamps --- tests/WgetTests.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/WgetTests.pm b/tests/WgetTests.pm index 889a65bb..3d3b9dd4 100644 --- a/tests/WgetTests.pm +++ b/tests/WgetTests.pm @@ -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"; } }