var file = Cc["@mozilla.org/file/local;1"] .createInstance(Ci.nsILocalFile); file.initWithPath(do_get_topsrcdir()); 
var file = do_get_topsrcdir(); 
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 = Cc["@mozilla.org/file/local;1"]               .createInstance(Ci.nsILocalFile);  file.initWithPath(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/c0fc6a93d5a6c38a3e11b0a681c184f231f892c2/test_bug333423.js/buggy/modules/libjar/test/unit/test_bug333423.js