var file = do_get_topsrcdir(); file.append("modules"); file.append("libjar"); file.append("test"); file.append("unit"); file.append("data"); file.append("test_bug333423.zip") dump("Using " + file.path + " for testing\n"); 
var file = do_get_file("modules/libjar/test/unit/data/test_bug333423.zip"); 
function run_test() {  const Cc = Components.classes;  const Ci = Components.interfaces;  // the build script have created the zip we can test on in the current dir.  var file = do_get_topsrcdir();  file.append("modules");  file.append("libjar");  file.append("test");  file.append("unit");  file.append("data");  file.append("test_bug333423.zip")  dump("Using " + file.path + " for testing\n");  var zipreader = Cc["@mozilla.org/libjar/zip-reader;1"].                  createInstance(Ci.nsIZipReader);  zipreader.open(file);  zipreader.close();  var entries = zipreader.findEntries('*.*');  do_check_true(!entries.hasMore()); // this shouldn't crash}
5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5459/45bb59aa847ad0bfe7fadbff4adeca8b0aaa2b78/test_bug333423.js/clean/modules/libjar/test/unit/test_bug333423.js