try {
	require("foo");
} catch(e){}

it("should write relative paths to records", function() {
	var fs = require("fs");
	var path = require("path");
	var content = fs.readFileSync(path.join(__dirname, "records.json"), "utf-8");
	content.should.eql(`{
  "modules": {
    "byIdentifier": {
      "../../../../external \\"fs\\"": 0,
      "../../../../external \\"path\\"": 1,
      "../../../../ignored ../test/configCases/records/issue-2991 foo": 2,
      "test.js": 3
    },
    "usedIds": {
      "0": 0,
      "1": 1,
      "2": 2,
      "3": 3
    }
  },
  "chunks": {
    "byName": {
      "main": 0
    },
    "byBlocks": {},
    "usedIds": {
      "0": 0
    }
  }
}`);
});

@@ -230,16 +230,38 @@
 content.
+replace(/%5C%5C%5C%5C/g, %22/%22).
 should.e

fix test paths for windows