From 08b42306f45dff0a8e69e745d1c3d81d28b5fd76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20Vav=C5=99=C3=ADk?= <43821672+michalvavrik@users.noreply.github.com> Date: Tue, 24 Sep 2024 15:49:06 +0200 Subject: [PATCH] Fix QuarkusCliTlsCommandIT truststore config val on Win (#2042) --- .../java/io/quarkus/ts/quarkus/cli/QuarkusCliTlsCommandIT.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quarkus-cli/src/test/java/io/quarkus/ts/quarkus/cli/QuarkusCliTlsCommandIT.java b/quarkus-cli/src/test/java/io/quarkus/ts/quarkus/cli/QuarkusCliTlsCommandIT.java index a449da74a..53bca84f5 100644 --- a/quarkus-cli/src/test/java/io/quarkus/ts/quarkus/cli/QuarkusCliTlsCommandIT.java +++ b/quarkus-cli/src/test/java/io/quarkus/ts/quarkus/cli/QuarkusCliTlsCommandIT.java @@ -79,7 +79,7 @@ public void generateCertificate() { .assertFileExistsStr(cmd -> cmd.getOutputLineRemainder("Key Store File:")) .assertFileExistsStr(cmd -> cmd.getOutputLineRemainder("Trust Store File:")) // save truststore path in application properties so that we can use it in TlsCommandTest - .addToAppProps(cmd -> TRUST_STORE_PATH + "=" + cmd.getOutputLineRemainder("Trust Store File:")) + .addToAppProps(cmd -> TRUST_STORE_PATH + "=" + addEscapes(cmd.getOutputLineRemainder("Trust Store File:"))) .assertCommandOutputContains( "Signed Certificate generated successfully and exported into `%s-keystore.p12`".formatted(CERT_NAME)) // following properties are set by this tls command, and we want to use them TlsCommandTest as well