[
https://issues.apache.org/jira/browse/MSHARED-416?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16558554#comment-16558554
]
ASF GitHub Bot commented on MSHARED-416:
----------------------------------------
KathrynN commented on a change in pull request #2: Bug/MSHARED-416
URL: https://github.com/apache/maven-shared-utils/pull/2#discussion_r205526437
##########
File path:
src/test/java/org/apache/maven/shared/utils/cli/CommandLineUtilsTest.java
##########
@@ -19,22 +19,29 @@
* under the License.
*/
+import java.io.BufferedReader;
+import java.io.InputStreamReader;
import java.util.Arrays;
import java.util.HashMap;
import java.util.Locale;
import java.util.Map;
import java.util.Properties;
+import java.util.concurrent.TimeUnit;
+
import org.apache.maven.shared.utils.Os;
-import junit.framework.TestCase;
+import org.junit.Assert;
+import org.junit.Test;
+
+import static org.junit.Assert.*;
Review comment:
Done! Thanks for catching it.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> Odd number of quotes in command-line fails
> ------------------------------------------
>
> Key: MSHARED-416
> URL: https://issues.apache.org/jira/browse/MSHARED-416
> Project: Maven Shared Components
> Issue Type: Bug
> Components: maven-shared-utils
> Reporter: Eric Citaire
> Priority: Major
> Attachments: QuoteTest.java
>
>
> When using org.apache.maven.shared.utils.cli.Commandline, if the command
> contains a single-quote, the execution fails with output :
> {{/bin/sh: 1: Syntax error: Unterminated quoted string}}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)