summaryrefslogtreecommitdiff
path: root/tests/uuid.scm
Commit message (Collapse)AuthorAge
* uuid: 'uuid' returns #f when 'string->uuid' returns #f.Ludovic Courtès2018-05-19
| | | | | | * gnu/system/uuid.scm (uuid): When STR is not a literal, return #f when 'string->uuid' returns #f. * tests/uuid.scm ("uuid, dynamic value"): New test.
* uuid: Fix typo in 'uuid=?' test.Ludovic Courtès2017-10-06
| | | | * tests/uuid.scm ("uuid=?"): Change to 'test-assert'.
* uuid: Add 'uuid=?' and use it.Ludovic Courtès2017-10-05
| | | | | | | * gnu/system/uuid.scm (uuid=?): New procedure. * tests/uuid.scm ("uuid=?"): New test. * gnu/build/file-systems.scm (partition-uuid-predicate) (luks-partition-uuid-predicate): Use it instead of 'bytevector=?'.
* uuid: Add a parser for FAT32 UUIDs.Ludovic Courtès2017-09-22
| | | | | | | * gnu/system/uuid.scm (%fat32-uuid-rx): New variable. (string->fat32-uuid): New procedure. (%uuid-parsers): Add it. * tests/uuid.scm ("uuid, FAT32, format preserved"): New test.
* uuid: Move tests to 'tests/uuid.scm'.Ludovic Courtès2017-09-14
* tests/file-systems.scm ("uuid->string", "string->uuid") ("uuid", "uuid, syntax error"): Move to... * tests/uuid.scm: ... here. New file. ("uuid, ISO-9660, format preserved"): New test.