]> git.ipfire.org Git - thirdparty/libarchive.git/commit
[cpio test] Dates can be more than 12 bytes, depending on the locale (#2237)
authorTim Kientzle <kientzle@acm.org>
Mon, 17 Jun 2024 03:23:11 +0000 (20:23 -0700)
committerGitHub <noreply@github.com>
Mon, 17 Jun 2024 03:23:11 +0000 (20:23 -0700)
commit13c710a825d1c8b5604d8ce6eb712f7f7cfadc80
tree916dcb8574fc4ce5c281017086620cfda9299fc3
parent2cadb8708940ae09be0e70a628fe81bbdfb6f02f
[cpio test] Dates can be more than 12 bytes, depending on the locale (#2237)

In order to match cpio output, format the reference date with _at least_
12 bytes instead of _exactly_ 12 bytes. This should fix a gratuitous
test failure on certain systems that default to multi-byte locales.
cpio/test/test_option_t.c