Replace directories/links with files (fixes #580)

This commit is contained in:
Audrius Butkevicius
2014-11-17 11:25:32 +00:00
parent ba019efaf1
commit 37ebbb53be
3 changed files with 15 additions and 13 deletions

View File

@@ -191,8 +191,6 @@ func TestSymlinks(t *testing.T) {
}
fd.Close()
/* Currently fails, to be fixed with #80
// Replace one with a directory
err = os.Remove("s1/repDirLink")
@@ -204,7 +202,6 @@ func TestSymlinks(t *testing.T) {
if err != nil {
log.Fatal(err)
}
*/
// Replace a file with a symlink
@@ -217,8 +214,6 @@ func TestSymlinks(t *testing.T) {
log.Fatal(err)
}
/* Currently fails, to be fixed with #80
// Replace a directory with a symlink
err = os.RemoveAll("s1/dirToReplace")
@@ -229,7 +224,6 @@ func TestSymlinks(t *testing.T) {
if err != nil {
log.Fatal(err)
}
*/
// Sync these changes and recheck