Move net2 tests into test/simple
authorRyan Dahl <ry@tinyclouds.org>
Fri, 26 Feb 2010 20:13:33 +0000 (12:13 -0800)
committerRyan Dahl <ry@tinyclouds.org>
Fri, 26 Feb 2010 20:13:33 +0000 (12:13 -0800)
test/fixtures/net-fd-passing-receiver.js [moved from test/mjsunit/fixtures/net-fd-passing-receiver.js with 100% similarity]
test/simple/test-buffer.js [moved from test/mjsunit/test-buffer.js with 97% similarity]
test/simple/test-http-parser.js [moved from test/mjsunit/test-http-parser.js with 97% similarity]
test/simple/test-net-fd-passing.js [moved from test/mjsunit/test-net-fd-passing.js with 97% similarity]
test/simple/test-net-pingpong.js [moved from test/mjsunit/test-net-pingpong.js with 98% similarity]

similarity index 97%
rename from test/mjsunit/test-buffer.js
rename to test/simple/test-buffer.js
index c8792e8..481b04b 100644 (file)
@@ -1,4 +1,4 @@
-process.mixin(require("./common"));
+process.mixin(require("../common"));
 assert = require("assert");
 
 
similarity index 97%
rename from test/mjsunit/test-http-parser.js
rename to test/simple/test-http-parser.js
index db148c7..f41e2d6 100644 (file)
@@ -1,4 +1,4 @@
-process.mixin(require("./common"));
+process.mixin(require("../common"));
 
 // The purpose of this test is not to check HTTP compliance but to test the
 // binding. Tests for pathological http messages should be submitted
similarity index 97%
rename from test/mjsunit/test-net-fd-passing.js
rename to test/simple/test-net-fd-passing.js
index 9b8f888..0e8620c 100644 (file)
@@ -1,4 +1,4 @@
-process.mixin(require("./common"));
+process.mixin(require("../common"));
 net = require("net");
 
 process.Buffer.prototype.toString = function () {
similarity index 98%
rename from test/mjsunit/test-net-pingpong.js
rename to test/simple/test-net-pingpong.js
index 7017e41..ded3153 100644 (file)
@@ -1,4 +1,4 @@
-process.mixin(require("./common"));
+process.mixin(require("../common"));
 net = require("net");
 
 process.Buffer.prototype.toString = function () {