The data contained in this repository can be downloaded to your computer using one of several clients.
Please see the documentation of your version control software client for more information.

Please select the desired protocol below to get the URL.

This URL has Read-Only access.

Statistics
| Branch: | Revision:

main_repo / test / simple / test-fs-realpath.js @ 6f043940

History | View | Annotate | Download (18.4 KB)

# Date Author Comment
21aa0df8 06/26/2012 06:20 PM isaacs

realpath: No sync cb() calling allowed.

13400e3e 06/14/2012 07:37 PM Bert Belder

windows: make symlinks tolerant to forward slashes

Closes #3440

412c1ab5 06/14/2012 07:15 PM isaacs

Fix test-fs-realpath on Windows

Also, in the process, fix a bug in fs.realpath on Windows.

If the user has permission to create symlinks, then use symlinks. If
not, then skip over all the tests that cannot be run using Junctions
instead.

65242abc 06/09/2012 12:43 PM isaacs

Fix fs.realpath tests so that they actually run

131a67e7 06/09/2012 12:43 PM isaacs

Fix #3394 fs.realpath: Properly cache symlink targets

6f96e78d 11/08/2011 07:03 AM Ben Noordhuis

test: fs.realpath() should not call its callback twice

Test case for #2045.

850609ea 11/02/2011 07:38 PM Ryan Dahl

Remove separation of libuv tests

018e110c 10/14/2011 07:08 PM Ben Noordhuis

test: replace .addListener() calls with .on()

4e1d6fca 08/24/2011 02:45 AM Ryan Dahl

Mark tests which are broken in libuv

55048cdf 03/14/2011 08:37 PM Ryan Dahl

Update copyright headers

9bed5dcb 02/08/2011 09:02 PM isaacs

Support caching for realpath, use in module load

This adds support for a cache object to be passed to the
fs.realpath and fs.realpathSync functions. The Module loader keeps an
object around which caches the resulting realpaths that it looks up in
the process of loading modules....

47c40bf1 12/05/2010 06:28 PM isaacs

test-fs-realpath: Put junk in tmp, not fixtures.

Prevents test/fixtures/cycles/folder/cycles from being created every time
the tests are run.

dc2b4b2a 12/05/2010 06:27 PM isaacs

test-fs-realpath: move absDir fetching to separate function

6525c045 12/05/2010 06:26 PM isaacs

test-fs-realpath: lint

a0159b4b 12/04/2010 06:58 PM Ryan Dahl

Fix global leaks

105501c1 11/29/2010 03:10 AM Ryan Dahl

test-fs-realpath: Don't ceate things in /tmp; use tmpDir

987cbbc1 10/27/2010 08:02 PM isaacs

Handle cyclic links smarter in fs.realpath

Rather than aborting in the face of any repeated link in a given path,
instead only abort if such a cycle actually makes a given path unresolvable.

Test for this by doing a normal stat. Still use the seenLinks object to...

83ff473d 09/14/2010 01:29 PM Ryan Dahl

Use child_process.exec rather than sys.exec

686d9f9c 09/14/2010 01:27 PM isaacs

Bug in realpath with symlinks to absolute folder paths which have children.

Found by Cliffano Subagio
http://groups.google.com/group/nodejs/browse_thread/thread/f46f093938265ac0/387e14da08c7dd7b?

3a957038 09/09/2010 09:49 PM Ryan Dahl

Fix fs.realpathSync('/')

ba0c32e2 09/08/2010 08:35 PM isaacs

Fix issue #262. Allow fs.realpath to traverse above the current working directory.

cf2b206a 08/17/2010 11:41 AM Herbert Vojčík

More changes to tests so they really work under context module loader.

Plus, getting rid of test/common.js defining things in global.

9fd5e3c8 07/15/2010 05:21 PM Ryan Dahl

Update tests to work with module contexts

8c853404 06/30/2010 02:59 AM Blake Mizerany

fix whitespace errors

ba792ea2 06/23/2010 11:05 PM Ryan Dahl

:%s/sys.puts/console.log/g

and there was much rejoicing

5861db8a 03/08/2010 08:57 PM isaacs

Remove process.mixin dependency from all tests.

44dde5f2 03/08/2010 01:20 PM Felix Geisendörfer

Remove fs/path globals from test suite

It is way too easy to not notice bugs due to those modules being
exported as globals while running the test suite.

See: http://github.com/ry/node/issues#issue/75

5c602b75 03/02/2010 08:35 PM Rasmus Andersson

Rewrote realpath implementation solving all known failing tests (also added a bunch of new test cases)

20d5963f 03/01/2010 10:14 PM Rasmus Andersson

Added fs.realpath and fs.realpathSync (pure javascript versions)