UT: Path fixes for windows.

This commit is contained in:
Arthur Britto
2012-11-15 11:30:47 -08:00
parent b08beed974
commit 96dfb90c59
2 changed files with 2 additions and 2 deletions

View File

@@ -5,7 +5,7 @@
var path = require("path"); var path = require("path");
// Where to find the binary. // Where to find the binary.
exports.rippled = path.join(process.cwd(), "build/rippled"); exports.rippled = path.resolve("build/rippled");
exports.server_default = "alpha"; exports.server_default = "alpha";

View File

@@ -52,7 +52,7 @@ Server.prototype.once = function (e, c) {
}; };
Server.prototype.serverPath = function() { Server.prototype.serverPath = function() {
return "tmp/server/" + this.name; return path.resolve("tmp/server", this.name);
}; };
Server.prototype.configPath = function() { Server.prototype.configPath = function() {