Skip to content

Commit

Permalink
path
Browse files Browse the repository at this point in the history
  • Loading branch information
elharo committed Nov 14, 2024
1 parent e6723b0 commit a90df51
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/it/dangling-symlinks/setup.bsh
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ try
File target = new File( targetDir, "link-target.txt" );

System.out.println( "Creating symlink " + link + " -> " + target );
Files.createSymbolicLink( target, link );
Files.createSymbolicLink( target.toPath(), link.toPath() );
if ( !link.exists() )
{
System.out.println( "Platform does not support symlinks, skipping test." );
Expand Down
2 changes: 1 addition & 1 deletion src/it/symlink-dont-follow/setup.bsh
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ for ( String[] pair : pairs )
File target = new File( basedir, pair[0] );
File link = new File( basedir, pair[1] );
System.out.println( "Creating symlink " + link + " -> " + target );
Files.createSymbolicLink( target, link );
Files.createSymbolicLink( target.toPath(), link.toPath() );
if ( !link.exists() )
{
System.out.println( "Platform does not support symlinks, skipping test." );
Expand Down

0 comments on commit a90df51

Please sign in to comment.