]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
test: Add tests for symlink pathological cases
authorSam Lang <sam.lang@inktank.com>
Mon, 5 Nov 2012 15:15:21 +0000 (09:15 -0600)
committerSam Lang <sam.lang@inktank.com>
Mon, 5 Nov 2012 23:19:33 +0000 (17:19 -0600)
commitbeaafe8528fda2e136676a6d301a293d98cebdb9
tree21f4e133095e031a2e0610da89a9dfed287101aa
parente49969a67b381d62611796c2a2d6f4bc469b5706
test: Add tests for symlink pathological cases

The DirSyms test checks verifies that the new path_walk()
handling code properly walks through symlinked directories
even if the followsym flag is false.

The LoopSyms test checks that we correctly handle symlink
loops, where /a/b/c points back to /a.

Signed-off-by: Sam Lang <sam.lang@inktank.com>
src/test/libcephfs/test.cc