diff options
author | Sami Kerola | 2015-10-18 19:39:21 +0200 |
---|---|---|
committer | Sami Kerola | 2015-10-18 19:39:21 +0200 |
commit | 4d3f964e4a5eecdfd17724f03696890bf22d4a3d (patch) | |
tree | 0cccccc5184f5c871bb9d39c9f937830e1a70fc8 /tests/expected/uuid | |
parent | script: be pedantic and use "%"SCNi64 (diff) | |
download | kernel-qcow2-util-linux-4d3f964e4a5eecdfd17724f03696890bf22d4a3d.tar.gz kernel-qcow2-util-linux-4d3f964e4a5eecdfd17724f03696890bf22d4a3d.tar.xz kernel-qcow2-util-linux-4d3f964e4a5eecdfd17724f03696890bf22d4a3d.zip |
tests: add uuid parser check
The check is based on code by Theodore Ts'o to test libuuid, from which
unstable output is commented out.
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'tests/expected/uuid')
-rw-r--r-- | tests/expected/uuid/uuid_parser | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/expected/uuid/uuid_parser b/tests/expected/uuid/uuid_parser new file mode 100644 index 000000000..a9eb67241 --- /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 |