Project

General

Profile

Bug #10374 ยป mvfail.rb

Demonstration - Polyergic (Shad Sterling), 10/12/2014 11:38 PM

 
1
require "fileutils"
2

    
3
FileUtils.symlink( "absent", "test" ) # create broken link
4
FileUtils.mv( "test", "fail" ) # moving that link fails with ENOENT
5

    
6