6 Commits

Author SHA1 Message Date
Burak Yigit Kaya
fb5a7ece66 Fix symlinking on Windows
Fixes symlink creation on Windows systems and adds a test
for symlinking directories since it needs special treatment
on Windows.

Fixes #301.
2016-01-31 13:15:22 +02:00
Burak Yigit Kaya
175f5e1efd Fix tests on Windows 2016-01-27 22:53:31 +02:00
Brandon Freitag
70ec630f92 Add invalid tests for ln 2016-01-25 01:59:20 -08:00
Brandon Freitag
bceb066c5c Fix relative symlinks, add tests
When creating a symlink with a relative path, e.g. `ln('-s', '../baz.txt', 'foo/bar/link')`,
the link will be created releative to the destination directory, not to the
current working directory of the node process. Also added tests for
functionality.
2016-01-24 22:35:45 -08:00
Michael Schoonmaker
93987f6a4a Add a regression test for ln treating abspaths badly. 2013-10-11 11:33:49 -07:00
Michael Schoonmaker
b715c2c240 Add ln support, including both -s and -f options. 2013-10-10 18:03:09 -07:00