This is an automated email from the ASF dual-hosted git repository.

elharo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-shared-utils.git


The following commit(s) were added to refs/heads/master by this push:
     new 673509e  remove debugging output that should not appear in a passing 
test (#135)
673509e is described below

commit 673509e6a7ec98232356f8913af14d570ac92e48
Author: Elliotte Rusty Harold <[email protected]>
AuthorDate: Thu Mar 9 15:47:08 2023 -0500

    remove debugging output that should not appear in a passing test (#135)
---
 .../org/apache/maven/shared/utils/cli/shell/BourneShellTest.java | 9 ---------
 1 file changed, 9 deletions(-)

diff --git 
a/src/test/java/org/apache/maven/shared/utils/cli/shell/BourneShellTest.java 
b/src/test/java/org/apache/maven/shared/utils/cli/shell/BourneShellTest.java
index 199f36e..8032ae2 100644
--- a/src/test/java/org/apache/maven/shared/utils/cli/shell/BourneShellTest.java
+++ b/src/test/java/org/apache/maven/shared/utils/cli/shell/BourneShellTest.java
@@ -81,7 +81,6 @@ public class BourneShellTest
         List<String> shellCommandLine = sh.getShellCommandLine("\"some arg 
with spaces\"");
 
         String cli = StringUtils.join( shellCommandLine.iterator(), " " );
-        System.out.println( cli );
         assertTrue( cli.endsWith( "'\"some arg with spaces\"'" ) );
     }
 
@@ -95,7 +94,6 @@ public class BourneShellTest
         List<String> shellCommandLine = sh.getShellCommandLine("some arg with 
spaces");
 
         String cli = StringUtils.join( shellCommandLine.iterator(), " " );
-        System.out.println( cli );
         assertTrue( cli.endsWith("'some arg with spaces'"));
     }
 
@@ -114,8 +112,6 @@ public class BourneShellTest
     public void testArgumentsWithSemicolon()
     {
 
-        System.out.println( "---- semi colon tests ----" );
-
         Shell sh = newShell();
 
         sh.setWorkingDirectory( "/usr/bin" );
@@ -124,7 +120,6 @@ public class BourneShellTest
         List<String> shellCommandLine = 
sh.getShellCommandLine(";some&argwithunix$chars");
 
         String cli = StringUtils.join( shellCommandLine.iterator(), " " );
-        System.out.println( cli );
         assertTrue( cli.endsWith( "';some&argwithunix$chars'" ) );
 
         Commandline commandline = new Commandline( newShell() );
@@ -134,7 +129,6 @@ public class BourneShellTest
         commandline.createArg().setValue( ";password" );
 
         List<String> lines = commandline.getShell().getShellCommandLine( 
commandline.getArguments() );
-        System.out.println( lines  );
 
         assertEquals( "/bin/sh", lines.get( 0 ) );
         assertEquals( "-c", lines.get( 1 ) );
@@ -146,7 +140,6 @@ public class BourneShellTest
         commandline.createArg().setValue( "--password" );
         commandline.createArg().setValue( ";password" );
         lines = commandline.getShell().getShellCommandLine( 
commandline.getArguments() );
-        System.out.println( lines );
 
         assertEquals( "/bin/sh", lines.get( 0) );
         assertEquals( "-c", lines.get( 1 ) );
@@ -157,7 +150,6 @@ public class BourneShellTest
         commandline.createArg().setValue( "--password" );
         commandline.createArg().setValue( ";password" );
         lines = commandline.getShell().getShellCommandLine( 
commandline.getArguments() );
-        System.out.println( lines );
 
         assertEquals( "cmd.exe", lines.get( 0 ) );
         assertEquals( "/X", lines.get( 1 ) );
@@ -195,7 +187,6 @@ public class BourneShellTest
         commandline.createArg().setValue( "#" );
 
         List<String> lines = commandline.getShell().getShellCommandLine( 
commandline.getArguments() );
-        System.out.println( lines  );
 
         assertEquals( "/bin/sh", lines.get( 0 ) );
         assertEquals( "-c", lines.get( 1 ) );

Reply via email to