summaryrefslogtreecommitdiffstats
path: root/tests/ts/uuid
Commit message (Collapse)AuthorAgeFilesLines
* tests: run oids test only when uuidgen tool was builtThomas Deutschmann2018-11-111-4/+6
| | | | | | | | | | | | oids test did not check if uuidgen was available. oids test was also calling uuidgen from PATH which could result in wrong results if uuidgen from a previous util-linux installation was used. With this commit we will check if uuidgen was built and make sure that we only call the uuidgen binary we just built. If uuidgen is not available we will skip this test.
* uuidd: don't truncate long socket pathsRuediger Meier2018-03-071-1/+2
| | | | | | | | | | | | | This was the error uuidd: couldn't bind unix socket /var/tmp/portage/sys-apps/util-linux-2.31.1/work/util-linux-2.31.1-abi_x86_64.amd64/tests/output/uuid/uuiddkOcTUuoZ7kaP3: Address already in use because the socket path was truncated to 108 chars which was luckily an existing directory. Now we abort early with "uuidd: socket name too long: ... " Reported-by: Thomas Deutschmann <whissi@gentoo.org> Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
* uuidgen: add support for hash-based UUIDsPhilip Prindeville2017-09-051-0/+31
| | | | Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
* libuuid: add support for hash-based UUIDsPhilip Prindeville2017-09-051-0/+29
| | | | | | | | | Adding V3 and V5 UUIDs per RFC-4122. [kzak@redhat.com: - fix symbols file] Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com> Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: remove UUIDs with time overflow from uuidparseKarel Zak2017-07-181-2/+0Star
| | | | | | | | The time_t used by timeval is "long", it means too small on 32-bits archs to hold large numbers. Reported-by: Ruediger Meier <ruediger.meier@ga-group.nl> Signed-off-by: Karel Zak <kzak@redhat.com>
* uuidparse: add new commandSami Kerola2017-06-261-0/+63
| | | | | | | | | | | This command will analyze and print information about UUID's. The command is based on libuuid/src/uuid_time.c but modified to use libsmartcol. [kzak@redhat.com: - minor coding style changes] Reference: http://marc.info/?l=util-linux-ng&m=149735980715600&w=2 Signed-off-by: Sami Kerola <kerolasa@iki.fi> Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: avoid sed -ERuediger Meier2015-12-031-1/+1
| | | | | | | GNU sed's -E option for BSD compatibility is relatively new (>=4.2) and undocumented. Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
* tests: add uuidd output checkSami Kerola2015-10-181-0/+57
| | | | Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* tests: add uuidgen output checkSami Kerola2015-10-181-0/+45
| | | | Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* tests: add uuid parser checkSami Kerola2015-10-181-0/+26
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>