From 96dfb90c59faa820760c85e225ec61c38e3793b9 Mon Sep 17 00:00:00 2001 From: Arthur Britto Date: Thu, 15 Nov 2012 11:30:47 -0800 Subject: [PATCH] UT: Path fixes for windows. --- test/config.js | 2 +- test/server.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/config.js b/test/config.js index 42ce8bea4..b0e9c4448 100644 --- a/test/config.js +++ b/test/config.js @@ -5,7 +5,7 @@ var path = require("path"); // Where to find the binary. -exports.rippled = path.join(process.cwd(), "build/rippled"); +exports.rippled = path.resolve("build/rippled"); exports.server_default = "alpha"; diff --git a/test/server.js b/test/server.js index fde2dfae0..2608c1d73 100644 --- a/test/server.js +++ b/test/server.js @@ -52,7 +52,7 @@ Server.prototype.once = function (e, c) { }; Server.prototype.serverPath = function() { - return "tmp/server/" + this.name; + return path.resolve("tmp/server", this.name); }; Server.prototype.configPath = function() {