Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for symlink and link #16

Open
toddr opened this issue Nov 8, 2018 · 2 comments
Open

Add support for symlink and link #16

toddr opened this issue Nov 8, 2018 · 2 comments
Labels
Feature Request New feature or request Ready for work

Comments

@toddr
Copy link
Member

toddr commented Nov 8, 2018

No description provided.

@toddr toddr changed the title Add support for link Add support for symlink and link Nov 8, 2018
@xsawyerx xsawyerx added the Feature Request New feature or request label Jan 3, 2022
@atoomic
Copy link
Contributor

atoomic commented Jul 24, 2023

we cannot mock a non existing symlink

my $mocked = Test::MockFile->file( "/abc.txt" );

# then later
symlink( '/somewhere', "/abc.txt" );

# this is failing and not viewing this as a symlink
ok -l $ma->path, 'this is a symlink';

The symlink helper will create a symlink. We have no way to declare a non existing symlink.

@toddr
Copy link
Member Author

toddr commented Jul 24, 2023

I'm not sure that's right...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Request New feature or request Ready for work
Development

No branches or pull requests

3 participants