From: Kiran Rangoon Date: Mon, 29 Dec 2025 03:51:00 +0000 (-0500) Subject: tests: correct UUID timestamp test expectations X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9d392f11a3c74ef1244c772fa523a86285db3883;p=thirdparty%2Futil-linux.git tests: correct UUID timestamp test expectations Update expected timestamps for additional test UUIDs to match actual output. These test cases provide coverage for various timestamp ranges including pre-epoch, historical, and far-future dates. Signed-off-by: Kiran Rangoon Reviewed-by: Thomas Weißschuh --- diff --git a/tests/expected/uuid/uuidparse b/tests/expected/uuid/uuidparse index e44964b30..61b49ef66 100644 --- a/tests/expected/uuid/uuidparse +++ b/tests/expected/uuid/uuidparse @@ -29,6 +29,9 @@ UUID VARIANT TYPE TIME 9b274c46-544a-11e7-a972-00037f500001 DCE time-based 2017-06-18 17:21:46,544647+00:00 1ec9414c-232a-6b00-b3c8-9f6bdeced846 DCE time-v6 2022-02-22 19:22:22,000000+00:00 017f22e2-79b2-7cc3-98c4-dc0c0c07398f DCE time-v7 2022-02-22 19:22:22,002000+00:00 +bf2eb110-d788-1003-aa59-ce1e9e293641 DCE time-based 1586-03-19 15:05:26,3611398+00:00 +f81d4fae-7dec-11d0-a765-00a0c91e6bf6 DCE time-based 1997-02-03 17:43:12,216875+00:00 +01234567-89ab-1def-8000-123456789abc DCE time-based 4764-11-18 19:35:47,841162+00:00 5c146b14-3c52-8afd-938a-375d0df1fbf6 DCE vendor invalid-input invalid invalid invalid return value: 0 diff --git a/tests/ts/uuid/uuidparse b/tests/ts/uuid/uuidparse index 2903ce56d..f131986ba 100755 --- a/tests/ts/uuid/uuidparse +++ b/tests/ts/uuid/uuidparse @@ -56,6 +56,9 @@ echo '00000000-0000-0000-0000-000000000000 9b274c46-544a-11e7-a972-00037f500001 1ec9414c-232a-6b00-b3c8-9f6bdeced846 017f22e2-79b2-7cc3-98c4-dc0c0c07398f +bf2eb110-d788-1003-aa59-ce1e9e293641 +f81d4fae-7dec-11d0-a765-00a0c91e6bf6 +01234567-89ab-1def-8000-123456789abc 5c146b14-3c52-8afd-938a-375d0df1fbf6 invalid-input' | $TS_CMD_UUIDPARSE >> $TS_OUTPUT 2>> $TS_ERRLOG