Bug 402434 - Libjar unittests failing (due to DST?). Backout of extra logging...
authorsdwilsh@shawnwilsher.com
Sun, 04 Nov 2007 07:41:02 -0800
changeset 7332 490b1c8f20c943f743c84aff68d204648dc019c6
parent 7331 0fc1eeaab373dbdea0808d86ca454e5ea7f4748d
child 7333 18c57527dab1cdc233eb36976653f36e09299a99
push idunknown
push userunknown
push dateunknown
bugs402434
milestone1.9a9pre
Bug 402434 - Libjar unittests failing (due to DST?). Backout of extra logging...
modules/libjar/zipwriter/test/unit/test_storedata.js
--- a/modules/libjar/zipwriter/test/unit/test_storedata.js
+++ b/modules/libjar/zipwriter/test/unit/test_storedata.js
@@ -50,35 +50,31 @@ function testpass(source)
   var entry = source.getEntry(FILENAME);
   do_check_neq(entry, null);
 
   do_check_false(entry.isDirectory);
 
   // Should be stored
   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);
   if (diff > TIME_RESOLUTION)
     do_throw(diff);
 
   // File size should match our data size.
   do_check_eq(entry.realSize, DATA.length);
   // When stored sizes should match.
   do_check_eq(entry.size, entry.realSize);
 
   // Check that the CRC is accurate
   do_check_eq(entry.CRC32, CRC);
 }
 
 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);
 
   // Shouldn't be there to start with.
   do_check_false(zipW.hasEntry(FILENAME));
 
   do_check_false(zipW.inQueue);
 
   var stream = Cc["@mozilla.org/io/string-input-stream;1"]