Skip to content
Permalink
Browse files

[JENKINS-28790] Baptiste comments fixed

(cherry picked from commit 7fb1ac9)
  • Loading branch information
escoem authored and olivergondza committed Feb 8, 2016
1 parent 0782aa5 commit f6db6670a8f9107f189fedc4fed07b1bbc6a7dc3
Showing with 4 additions and 4 deletions.
  1. +4 −4 core/src/test/java/hudson/util/ArgumentListBuilderTest.java
@@ -104,8 +104,8 @@ public void assertPrependBeforeAddingMasked() {

@Test
public void testToWindowsCommand() {
ArgumentListBuilder builder = new ArgumentListBuilder().
add("ant.bat").add("-Dfoo1=abc"). // nothing special, no quotes
ArgumentListBuilder builder = new ArgumentListBuilder().
add("ant.bat").add("-Dfoo1=abc"). // nothing special, no quotes
add("-Dfoo2=foo bar").add("-Dfoo3=/u*r").add("-Dfoo4=/us?"). // add quotes
add("-Dfoo10=bar,baz").
add("-Dfoo5=foo;bar^baz").add("-Dfoo6=<xml>&here;</xml>"). // add quotes
@@ -133,11 +133,11 @@ public void testToWindowsCommand() {
}

@Test
@Ignore
@Ignore("It's only for reproduce JENKINS-28790 issue. It's added to testToWindowsCommand")
@Issue("JENKINS-28790")
public void testToWindowsCommandMasked() {
ArgumentListBuilder builder = new ArgumentListBuilder().
add("ant.bat").add("-Dfoo1=abc"). // nothing special, no quotes
add("ant.bat").add("-Dfoo1=abc"). // nothing special, no quotes
add("-Dfoo2=foo bar").add("-Dfoo3=/u*r").add("-Dfoo4=/us?"). // add quotes
add("-Dfoo10=bar,baz").
add("-Dfoo5=foo;bar^baz").add("-Dfoo6=<xml>&here;</xml>"). // add quotes

0 comments on commit f6db667

Please sign in to comment.
You can’t perform that action at this time.