mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-28 13:21:28 +00:00
Bug 402434 - Libjar unittests failing (due to DST?). Backout of extra logging...
This commit is contained in:
parent
48b2ee3b3a
commit
0de0974e41
@ -55,8 +55,6 @@ function testpass(source)
|
|||||||
// Should be stored
|
// Should be stored
|
||||||
do_check_eq(entry.compression, ZIP_METHOD_STORE);
|
do_check_eq(entry.compression, ZIP_METHOD_STORE);
|
||||||
|
|
||||||
print("*** time = " + time);
|
|
||||||
print("*** entry.lastModifiedTime / PR_USEC_PER_MSEC = " + (entry.lastModifiedTime / PR_USEC_PER_MSEC));
|
|
||||||
var diff = Math.abs((entry.lastModifiedTime / PR_USEC_PER_MSEC) - time);
|
var diff = Math.abs((entry.lastModifiedTime / PR_USEC_PER_MSEC) - time);
|
||||||
if (diff > TIME_RESOLUTION)
|
if (diff > TIME_RESOLUTION)
|
||||||
do_throw(diff);
|
do_throw(diff);
|
||||||
@ -72,8 +70,6 @@ function testpass(source)
|
|||||||
|
|
||||||
function run_test()
|
function run_test()
|
||||||
{
|
{
|
||||||
if (tmpFile.exists())
|
|
||||||
print("*** SOMEHOW THE TEMP FILE STILL EXISTS EVEN THOUGH IT SHOULD BE DELETED!");
|
|
||||||
zipW.open(tmpFile, PR_RDWR | PR_CREATE_FILE | PR_TRUNCATE);
|
zipW.open(tmpFile, PR_RDWR | PR_CREATE_FILE | PR_TRUNCATE);
|
||||||
|
|
||||||
// Shouldn't be there to start with.
|
// Shouldn't be there to start with.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user