overlay: regression test for hardlink breakage after unlink and mount cycle
authorAmir Goldstein <amir73il@gmail.com>
Tue, 28 Nov 2017 16:42:00 +0000 (18:42 +0200)
committerEryu Guan <eguan@redhat.com>
Fri, 1 Dec 2017 08:51:00 +0000 (16:51 +0800)
commit77847f3e448991d9001280cde02f80b46bc5a346
treeba73e3b409822a7a1a99fad4847c9495111a16d4
parentf210cedc001535bbc466922adfb3fe27c6cabe38
overlay: regression test for hardlink breakage after unlink and mount cycle

- file A and B are hardlinked in lower
- modify A to trigger copy up and index lower
- unlink A and mount cycle
- check that B still contains the modified data

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/047 [new file with mode: 0755]
tests/overlay/047.out [new file with mode: 0644]
tests/overlay/group