generic/059: also test that the file's mtime and ctime are updated
authorFilipe Manana <fdmanana@suse.com>
Wed, 19 Jun 2019 12:06:24 +0000 (13:06 +0100)
committerEryu Guan <guaneryu@gmail.com>
Sun, 23 Jun 2019 13:20:25 +0000 (21:20 +0800)
commitd864b9cb5de2911f5853e6e40210f5c3704d223f
tree71b70d67a4397401ada5971f0bffdbdf61480700
parentc132cd4de91b634c67158f5295a940a9a0f8f8bd
generic/059: also test that the file's mtime and ctime are updated

Test as well that hole punch operations that affect a single file block
also update the file's mtime and ctime.

This is motivated by a bug a found in btrfs which is fixed by the
following patch for the linux kernel:

 "Btrfs: add missing inode version, ctime and mtime updates when
  punching hole"

Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: Eryu Guan <guaneryu@gmail.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
tests/generic/059