generic: add syncfs test
authorChengguang Xu <cgxu519@icloud.com>
Fri, 15 Dec 2017 07:47:35 +0000 (15:47 +0800)
committerEryu Guan <eguan@redhat.com>
Sun, 24 Dec 2017 13:30:58 +0000 (21:30 +0800)
commit0f2373e045cf4b84599f99ed7a17f96461d35b1b
tree984bbc276b18b27bae38f07aaac3b37104e41071
parentc3594bec4e7f025d6f096c4dad6467d64e4e596b
generic: add syncfs test

Inspired by syncfs bug of overlayfs which does not sync dirtyinodes
in underlying filesystem.

Run syncfs and shutdown filesystem(or underlying filesystem of
overlayfs) to check syncfs result.

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