From 71d237e6a0c9b66a8f2a7335e3f1231b556dc066 Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Fri, 26 Feb 2010 12:13:33 -0800 Subject: [PATCH] Move net2 tests into test/simple --- test/{mjsunit => }/fixtures/net-fd-passing-receiver.js | 0 test/{mjsunit => simple}/test-buffer.js | 2 +- test/{mjsunit => simple}/test-http-parser.js | 2 +- test/{mjsunit => simple}/test-net-fd-passing.js | 2 +- test/{mjsunit => simple}/test-net-pingpong.js | 2 +- 5 files changed, 4 insertions(+), 4 deletions(-) rename test/{mjsunit => }/fixtures/net-fd-passing-receiver.js (100%) rename test/{mjsunit => simple}/test-buffer.js (97%) rename test/{mjsunit => simple}/test-http-parser.js (97%) rename test/{mjsunit => simple}/test-net-fd-passing.js (97%) rename test/{mjsunit => simple}/test-net-pingpong.js (98%) diff --git a/test/mjsunit/fixtures/net-fd-passing-receiver.js b/test/fixtures/net-fd-passing-receiver.js similarity index 100% rename from test/mjsunit/fixtures/net-fd-passing-receiver.js rename to test/fixtures/net-fd-passing-receiver.js diff --git a/test/mjsunit/test-buffer.js b/test/simple/test-buffer.js similarity index 97% rename from test/mjsunit/test-buffer.js rename to test/simple/test-buffer.js index c8792e8..481b04b 100644 --- a/test/mjsunit/test-buffer.js +++ b/test/simple/test-buffer.js @@ -1,4 +1,4 @@ -process.mixin(require("./common")); +process.mixin(require("../common")); assert = require("assert"); diff --git a/test/mjsunit/test-http-parser.js b/test/simple/test-http-parser.js similarity index 97% rename from test/mjsunit/test-http-parser.js rename to test/simple/test-http-parser.js index db148c7..f41e2d6 100644 --- a/test/mjsunit/test-http-parser.js +++ b/test/simple/test-http-parser.js @@ -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 diff --git a/test/mjsunit/test-net-fd-passing.js b/test/simple/test-net-fd-passing.js 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 --- a/test/mjsunit/test-net-fd-passing.js +++ b/test/simple/test-net-fd-passing.js @@ -1,4 +1,4 @@ -process.mixin(require("./common")); +process.mixin(require("../common")); net = require("net"); process.Buffer.prototype.toString = function () { diff --git a/test/mjsunit/test-net-pingpong.js b/test/simple/test-net-pingpong.js similarity index 98% rename from test/mjsunit/test-net-pingpong.js rename to test/simple/test-net-pingpong.js index 7017e41..ded3153 100644 --- a/test/mjsunit/test-net-pingpong.js +++ b/test/simple/test-net-pingpong.js @@ -1,4 +1,4 @@ -process.mixin(require("./common")); +process.mixin(require("../common")); net = require("net"); process.Buffer.prototype.toString = function () { -- 2.7.4