generic: check userspace handling of extreme timestamps
authorDarrick J. Wong <djwong@kernel.org>
Wed, 21 Apr 2021 00:23:07 +0000 (17:23 -0700)
committerEryu Guan <guaneryu@gmail.com>
Sun, 25 Apr 2021 06:27:40 +0000 (14:27 +0800)
commit472f957a8cf782011a241f1bb503e69e26ecfdbe
treed332e7f8078cb6db05df87ba9acb39b6ebcdeb02
parent7d20ed3e1fb902f419e34d9c00da013d8a79c562
generic: check userspace handling of extreme timestamps

These two tests ensure we can store and retrieve timestamps on the
extremes of the date ranges supported by userspace, and the common
places where overflows can happen.

They differ from generic/402 in that they don't constrain the dates
tested to the range that the filesystem claims to support; we attempt
various things that /userspace/ can parse, and then check that the vfs
clamps and persists the values correctly.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Amir Goldstein <amir73il@gmail.com>
Reviewed-by: Allison Henderson <allison.henderson@oracle.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
tests/generic/634 [new file with mode: 0755]
tests/generic/634.out [new file with mode: 0644]
tests/generic/635 [new file with mode: 0755]
tests/generic/635.out [new file with mode: 0644]
tests/generic/group