From 30ff6afe596eddafacf22b1a5b2d1a3d6254ea15 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 27 Apr 2024 15:14:44 +0200 Subject: Adding upstream version 2.36.1. Signed-off-by: Daniel Baumann --- tests/expected/uuid/namespace | 7 +++++++ tests/expected/uuid/oids | 4 ++++ tests/expected/uuid/uuid_parser | 15 +++++++++++++++ tests/expected/uuid/uuidd | 11 +++++++++++ tests/expected/uuid/uuidgen | 8 ++++++++ tests/expected/uuid/uuidparse | 31 +++++++++++++++++++++++++++++++ 6 files changed, 76 insertions(+) create mode 100644 tests/expected/uuid/namespace create mode 100644 tests/expected/uuid/oids create mode 100644 tests/expected/uuid/uuid_parser create mode 100644 tests/expected/uuid/uuidd create mode 100644 tests/expected/uuid/uuidgen create mode 100644 tests/expected/uuid/uuidparse (limited to 'tests/expected/uuid') diff --git a/tests/expected/uuid/namespace b/tests/expected/uuid/namespace new file mode 100644 index 0000000..7860975 --- /dev/null +++ b/tests/expected/uuid/namespace @@ -0,0 +1,7 @@ +uuid_get_template dns returns 6ba7b810-9dad-11d1-80b4-00c04fd430c8 +uuid_get_template url returns 6ba7b811-9dad-11d1-80b4-00c04fd430c8 +uuid_get_template oid returns 6ba7b812-9dad-11d1-80b4-00c04fd430c8 +uuid_get_template x500 returns 6ba7b814-9dad-11d1-80b4-00c04fd430c8 +uuid_get_template NULL returns NULL +uuid_get_template returns NULL +uuid_get_template unknown returns NULL diff --git a/tests/expected/uuid/oids b/tests/expected/uuid/oids new file mode 100644 index 0000000..c121cbe --- /dev/null +++ b/tests/expected/uuid/oids @@ -0,0 +1,4 @@ +3d813cbb-47fb-32ba-91df-831e1593ac29 +5df41881-3aed-3515-88a7-2f4a814cf09e +2ed6657d-e927-568b-95e1-2665a8aea6a2 +fcdc2122-78d2-59f7-b1ed-041a561ef652 diff --git a/tests/expected/uuid/uuid_parser b/tests/expected/uuid/uuid_parser new file mode 100644 index 0000000..a9eb672 --- /dev/null +++ b/tests/expected/uuid/uuid_parser @@ -0,0 +1,15 @@ +84949cc5-4701-4a84-895b-354c584a981b is valid, OK +84949CC5-4701-4A84-895B-354C584A981B is valid, OK +84949cc5-4701-4a84-895b-354c584a981bc is invalid, OK +84949cc5-4701-4a84-895b-354c584a981 is invalid, OK +84949cc5x4701-4a84-895b-354c584a981b is invalid, OK +84949cc504701-4a84-895b-354c584a981b is invalid, OK +84949cc5-470104a84-895b-354c584a981b is invalid, OK +84949cc5-4701-4a840895b-354c584a981b is invalid, OK +84949cc5-4701-4a84-895b0354c584a981b is invalid, OK +g4949cc5-4701-4a84-895b-354c584a981b is invalid, OK +84949cc5-4701-4a84-895b-354c584a981g is invalid, OK +00000000-0000-0000-0000-000000000000 is valid, OK +01234567-89ab-cdef-0134-567890abcedf is valid, OK +ffffffff-ffff-ffff-ffff-ffffffffffff is valid, OK +return value: 0 diff --git a/tests/expected/uuid/uuidd b/tests/expected/uuid/uuidd new file mode 100644 index 0000000..ae440b2 --- /dev/null +++ b/tests/expected/uuid/uuidd @@ -0,0 +1,11 @@ +options: -t +return value: 0 +options: --time +return value: 0 +options: -r +return value: 0 +options: --random +return value: 0 +options: -r -n 65 +return value: 0 +Killed uuidd running at pid . diff --git a/tests/expected/uuid/uuidgen b/tests/expected/uuid/uuidgen new file mode 100644 index 0000000..b0d1d98 --- /dev/null +++ b/tests/expected/uuid/uuidgen @@ -0,0 +1,8 @@ +option: -r +return values: 0 and 0 +option: -t +return values: 0 and 0 +option: --random +return values: 0 and 0 +option: --time +return values: 0 and 0 diff --git a/tests/expected/uuid/uuidparse b/tests/expected/uuid/uuidparse new file mode 100644 index 0000000..8b23a25 --- /dev/null +++ b/tests/expected/uuid/uuidparse @@ -0,0 +1,31 @@ +UUID VARIANT TYPE TIME +00000000-0000-0000-0000-000000000000 NCS nil +00000000-0000-1000-0000-000000000000 NCS time-based +00000000-0000-2000-0000-000000000000 NCS DCE +00000000-0000-3000-0000-000000000000 NCS name-based +00000000-0000-4000-0000-000000000000 NCS random +00000000-0000-5000-0000-000000000000 NCS sha1-based +00000000-0000-6000-0000-000000000000 NCS unknown +00000000-0000-0000-8000-000000000000 DCE unknown +00000000-0000-2000-8000-000000000000 DCE DCE +00000000-0000-3000-8000-000000000000 DCE name-based +00000000-0000-4000-8000-000000000000 DCE random +00000000-0000-5000-8000-000000000000 DCE sha1-based +00000000-0000-6000-8000-000000000000 DCE unknown +00000000-0000-0000-d000-000000000000 Microsoft unknown +00000000-0000-1000-d000-000000000000 Microsoft time-based +00000000-0000-2000-d000-000000000000 Microsoft DCE +00000000-0000-3000-d000-000000000000 Microsoft name-based +00000000-0000-4000-d000-000000000000 Microsoft random +00000000-0000-5000-d000-000000000000 Microsoft sha1-based +00000000-0000-6000-d000-000000000000 Microsoft unknown +00000000-0000-0000-f000-000000000000 other unknown +00000000-0000-1000-f000-000000000000 other time-based +00000000-0000-2000-f000-000000000000 other DCE +00000000-0000-3000-f000-000000000000 other name-based +00000000-0000-4000-f000-000000000000 other random +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+00:00 +invalid-input invalid invalid invalid +return value: 0 -- cgit v1.2.3