overlay: test hardlink breakage on copy up
authorAmir Goldstein <amir73il@gmail.com>
Tue, 13 Dec 2016 05:12:37 +0000 (07:12 +0200)
committerEryu Guan <eguan@redhat.com>
Sun, 18 Dec 2016 04:14:54 +0000 (12:14 +0800)
commitd6e6c05c45bc9cbd80ebf8c7c3800ef230f4b6a0
tree92c2e165f7190c2a382e8df0e2862631fcf44cbf
parent84db46e3d327ad06b6eb7cb8c90bea72fed257aa
overlay: test hardlink breakage on copy up

Introduce a new test to demonstrate a known issue with overlayfs:
- file A and B are hardlinked in lower
- modify A to trigger copy up
- file A is no longer a hardlink of file B

There is no fix for this issue at this time.

Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Reviewed-by: Eryu Guan <eguan@redhat.com>
Signed-off-by: Eryu Guan <eguan@redhat.com>
tests/overlay/018 [new file with mode: 0755]
tests/overlay/018.out [new file with mode: 0644]
tests/overlay/group