]> sourceware.org Git - glibc.git/commit
tst-getdate: Improve testcase flexibility and add test.
authorJoe Simmons-Talbott <josimmon@redhat.com>
Mon, 12 Jun 2023 15:39:00 +0000 (11:39 -0400)
committerArjun Shankar <arjun@redhat.com>
Mon, 12 Jun 2023 16:36:02 +0000 (18:36 +0200)
commit31df9fa8ff79ff5e5aeb245232e474ce21028b74
treed311e18c0b2dfcfce5d963b85cf31eec01a40cff
parent180897c161a171d8ef0faee1c6c9fd6b57d8b13b
tst-getdate: Improve testcase flexibility and add test.

The getdate testcases all expect successful results.  Add support for
negative testcases and testcases where a full date and time are not
supplied by skipping the tm checks in the test.  Add a testcase that
would catch a use-after-free that was recently found.

Reviewed-by: Arjun Shankar <arjun@redhat.com>
time/tst-getdate.c
This page took 0.040683 seconds and 5 git commands to generate.