test/recipes/*.t: setup() doesn't play well with spaces in the argument
authorRichard Levitte <levitte@openssl.org>
Fri, 10 Jun 2022 17:50:01 +0000 (19:50 +0200)
committerTomas Mraz <tomas@openssl.org>
Thu, 16 Jun 2022 13:44:50 +0000 (15:44 +0200)
The argument translates into a directory name, and there are platforms
that don't allow spaces (at least not easily), which makes the test fail.
This modifies it to conform a bit better to the usual form for that arg.

Reviewed-by: Todd Short <todd.short@me.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/18531)

(cherry picked from commit e3ba938b584275839dda404d846abdb06a88693f)

test/recipes/02-test_localetest.t

index d46cb0ffdf1ca30be0bc85cafc5b8c156c2a89ee..9564d904f41b3f32c4066cae58bb5bf09b5b8fa4 100644 (file)
@@ -10,7 +10,7 @@
 use OpenSSL::Test;
 use OpenSSL::Test::Utils;
 
-setup("locale tests");
+setup("test_locale");
 
 plan skip_all => "Locale tests not available on Windows or VMS"
     if $^O =~ /^(VMS|MSWin32)$/;