escape backslashes for windows pipe name
authorRyan Dahl <ry@tinyclouds.org>
Thu, 21 Jul 2011 21:19:24 +0000 (14:19 -0700)
committerRyan Dahl <ry@tinyclouds.org>
Thu, 21 Jul 2011 21:19:24 +0000 (14:19 -0700)
test/common.js

index c108afa..45a11b3 100644 (file)
@@ -29,7 +29,7 @@ exports.tmpDir = path.join(exports.testDir, 'tmp');
 exports.PORT = 12346;
 
 if (process.platform == 'win32') {
-  exports.PIPE = '\\.\pipe\libuv-test';
+  exports.PIPE = '\\\\.\\pipe\\libuv-test';
 } else {
   exports.PIPE = exports.tmpDir + '/test.sock';
 }