moby--moby/pkg/symlink/testdata/fs
lalyos 8b77a5b7ae Adding test case for symlink causes infinit loop, reproduces: dotcloud#5370
normally symlinks are created as either
ln -s /path/existing /path/new-name
or
cd /path && ln -s ./existing new-name

but one can create it this way
cd /path && ln -s existing new-name

this drives FollowSymlinkInScope into infinite loop

Docker-DCO-1.1-Signed-off-by: Lajos Papp <lajos.papp@sequenceiq.com> (github: lalyos)
2014-05-16 00:47:20 +02:00
..
a Move Follow symlink to pkg 2014-05-13 10:35:57 -07:00
b Move Follow symlink to pkg 2014-05-13 10:35:57 -07:00
g Move Follow symlink to pkg 2014-05-13 10:35:57 -07:00
i Adding test case for symlink causes infinit loop, reproduces: dotcloud#5370 2014-05-16 00:47:20 +02:00