Fix require("../blah") issues
authorisaacs <i@foohack.com>
Tue, 22 Dec 2009 15:24:32 +0000 (16:24 +0100)
committerRyan Dahl <ry@tinyclouds.org>
Tue, 22 Dec 2009 16:22:12 +0000 (17:22 +0100)
commit4dcdfaf9291a5d6a2ed25b5742151a0de562a4a1
treed6d9945a1635caa6beef7a88afd102499f6e5f37
parenta2d809fe902f6c4102dba8f2e3e9551aad137c0f
Fix require("../blah") issues

Added some more tests, and refactored the uri and path modules to use the
same normalization logic, so that nothing is relying on flaky regexps.

http://groups.google.com/group/nodejs/browse_thread/thread/34779f8c10098c5e
http://groups.google.com/group/nodejs/browse_thread/thread/1aa0146b92582679#msg_9822c03998cb4064
lib/uri.js
src/node.js
test/mjsunit/fixtures/cycles/folder/foo.js [new file with mode: 0644]
test/mjsunit/fixtures/cycles/root.js [new file with mode: 0644]
test/mjsunit/fixtures/nested-index/one/hello.js [new file with mode: 0644]
test/mjsunit/fixtures/nested-index/one/index.js [new file with mode: 0644]
test/mjsunit/fixtures/nested-index/two/hello.js [new file with mode: 0644]
test/mjsunit/fixtures/nested-index/two/index.js [new file with mode: 0644]
test/mjsunit/test-module-loading.js
test/mjsunit/test-readdir.js