From 8d7370e01cf5b867dd58e4e941ba65e8c393764c Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Tue, 18 Jul 2017 10:01:22 +0200 Subject: [PATCH] tests: remove UUIDs with time overflow from uuidparse The time_t used by timeval is "long", it means too small on 32-bits archs to hold large numbers. Reported-by: Ruediger Meier Signed-off-by: Karel Zak --- tests/expected/uuid/uuidparse | 2 -- tests/ts/uuid/uuidparse | 2 -- 2 files changed, 4 deletions(-) diff --git a/tests/expected/uuid/uuidparse b/tests/expected/uuid/uuidparse index cda67e4a35..7fc64bcd22 100644 --- a/tests/expected/uuid/uuidparse +++ b/tests/expected/uuid/uuidparse @@ -7,7 +7,6 @@ UUID VARIANT TYPE TIME 00000000-0000-5000-0000-000000000000 NCS sha1-based 00000000-0000-6000-0000-000000000000 NCS unknown 00000000-0000-0000-8000-000000000000 DCE nil -00000000-0000-1000-8000-000000000000 DCE time-based 60038-03-11 05:36:10,955161+0000 00000000-0000-2000-8000-000000000000 DCE DCE 00000000-0000-3000-8000-000000000000 DCE name-based 00000000-0000-4000-8000-000000000000 DCE random @@ -28,6 +27,5 @@ UUID VARIANT TYPE TIME 00000000-0000-5000-f000-000000000000 other sha1-based 00000000-0000-6000-f000-000000000000 other unknown 9b274c46-544a-11e7-a972-00037f500001 DCE time-based 2017-06-18 17:21:46,544647+0000 -ffffffff-ffff-1fff-8fff-ffffffffffff DCE time-based 5236-03-31 21:21:00,684697+0000 invalid-input invalid invalid invalid return value: 0 diff --git a/tests/ts/uuid/uuidparse b/tests/ts/uuid/uuidparse index 229994f6f9..2414353f3d 100755 --- a/tests/ts/uuid/uuidparse +++ b/tests/ts/uuid/uuidparse @@ -31,7 +31,6 @@ echo '00000000-0000-0000-0000-000000000000 00000000-0000-6000-0000-000000000000 00000000-0000-0000-8000-000000000000 -00000000-0000-1000-8000-000000000000 00000000-0000-2000-8000-000000000000 00000000-0000-3000-8000-000000000000 00000000-0000-4000-8000-000000000000 @@ -55,7 +54,6 @@ echo '00000000-0000-0000-0000-000000000000 00000000-0000-6000-f000-000000000000 9b274c46-544a-11e7-a972-00037f500001 -ffffffff-ffff-1fff-8fff-ffffffffffff invalid-input' | $TS_CMD_UUIDPARSE 1>$TS_OUTPUT 2>&1 echo "return value: $?" >> $TS_OUTPUT -- 2.47.3