diff options
Diffstat (limited to 'lib/libarchive/test/test_pax_filename_encoding.c')
-rw-r--r-- | lib/libarchive/test/test_pax_filename_encoding.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libarchive/test/test_pax_filename_encoding.c b/lib/libarchive/test/test_pax_filename_encoding.c index 217074d8fb26..01061199e63a 100644 --- a/lib/libarchive/test/test_pax_filename_encoding.c +++ b/lib/libarchive/test/test_pax_filename_encoding.c @@ -42,7 +42,7 @@ __FBSDID("$FreeBSD$"); */ DEFINE_TEST(test_pax_filename_encoding_1) { - static const char testname[] = "test_pax_filename_encoding.tar.gz"; + static const char testname[] = "test_pax_filename_encoding.tar"; /* * \314\214 is a valid 2-byte UTF-8 sequence. * \374 is invalid in UTF-8. @@ -105,9 +105,9 @@ DEFINE_TEST(test_pax_filename_encoding_2) * de_DE.UTF-8 seems to be commonly supported. */ /* If it doesn't exist, just warn and return. */ - if (NULL == setlocale(LC_ALL, "de_DE.UTF-8")) { + if (NULL == setlocale(LC_ALL, LOCALE_DE)) { skipping("invalid encoding tests require a suitable locale;" - " de_DE.UTF-8 not available on this system"); + " %s not available on this system", LOCALE_DE); return; } |