check: functionality for symlinks

Default behavior (according to upstream mtree) for validating symlinks
is to just validate the link itself, not to follow it.

Signed-off-by: Stephen Chung <schung@redhat.com>
This commit is contained in:
Stephen Chung 2016-07-26 09:02:30 -04:00
parent d6b0881515
commit 2facedc401
16 changed files with 41 additions and 9 deletions

View file

View file

View file

@ -0,0 +1 @@
some spacious text

View file

@ -0,0 +1 @@
some nice text

View file

View file

View file

View file

View file

1
testdata/dirwithbrokenlink/dir1/badlink vendored Symbolic link
View file

@ -0,0 +1 @@
badfile

View file

@ -0,0 +1 @@
../../goodfile

View file

@ -0,0 +1 @@
link text

0
testdata/dirwithbrokenlink/file1 vendored Normal file
View file

0
testdata/dirwithbrokenlink/file2 vendored Normal file
View file