generic: add test with more open by file handle use cases
authorAmir Goldstein <amir73il@gmail.com>
Thu, 2 Nov 2017 10:15:39 +0000 (12:15 +0200)
committerEryu Guan <eguan@redhat.com>
Fri, 10 Nov 2017 04:33:37 +0000 (12:33 +0800)
commitd360eeaff8ad6cc9322db642c5458bf03bd7e55b
treeec3a3b90ffa57fd1595c31f5b6f3ff7592bf79ed
parentd732a15548eff4f97bea6f732da5483f24b0a9ee
generic: add test with more open by file handle use cases

This test is a variant of test generic/426 that tests with less
files and more use cases:
- Create test dir with non empty files with known content and verify
  their content after opening file by handle.
- Check open by handle of directory.
- Check open by handle of files that have been unlinked, but still open.
- Check open by handle of files that have been renamed in same dir,
  moved to new dir and whose parent dir has been renamed.

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