aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/uuid/tst_uuid.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/uuid/tst_uuid.c b/lib/uuid/tst_uuid.c
index 33fb80b9..88d928fe 100644
--- a/lib/uuid/tst_uuid.c
+++ b/lib/uuid/tst_uuid.c
@@ -154,7 +154,10 @@ main(int argc ATTR((unused)) , char **argv ATTR((unused)))
printf("UUID time comparison succeeded.\n");
}
- uuid_parse(str, tst);
+ if (uuid_parse(str, tst) < 0) {
+ printf("UUID parse failed\n");
+ failed++;
+ }
if (!uuid_compare(buf, tst)) {
printf("UUID parse and compare succeeded.\n");
} else {