generic: test uid/gid recovery after power failure
authorChao Yu <yuchao0@huawei.com>
Tue, 25 Sep 2018 08:45:58 +0000 (16:45 +0800)
committerEryu Guan <guaneryu@gmail.com>
Sun, 30 Sep 2018 05:57:50 +0000 (13:57 +0800)
commitc01e04888139545ab331c83068e50e1958afd3a8
treeb2409be6e32036783caa3b594cf427e3e2fc0640
parent9437a03432116ce19d7e1cae27c29969752537b2
generic: test uid/gid recovery after power failure

After fsync, filesystem should guarantee inode metadata including
uid/gid being persisted, so even after sudden power-cut, durign
mount, we should recover uid/gid fields correctly, in order to not
loss those meta info.

So adding this testcase to check whether generic filesystem can
guarantee that.

Signed-off-by: Chao Yu <yuchao0@huawei.com>
Reviewed-by: Eryu Guan <guaneryu@gmail.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
tests/generic/505 [new file with mode: 0755]
tests/generic/505.out [new file with mode: 0644]
tests/generic/group