mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Gaetan Boismal
23.30.2016 caf74d75e44a4769e6d4489970838703eedb745f
opendj-ldap-toolkit/src/test/java/com/forgerock/opendj/ldap/tools/LDAPSearchITCase.java
@@ -19,6 +19,7 @@
import static com.forgerock.opendj.ldap.tools.ToolsMessages.ERR_ERROR_PARSING_ARGS;
import static com.forgerock.opendj.ldap.tools.ToolsMessages.INFO_LDAPSEARCH_MATCHING_ENTRY_COUNT;
import static com.forgerock.opendj.ldap.tools.ToolsMessages.INFO_LDAPSEARCH_TOOL_DESCRIPTION;
import static com.forgerock.opendj.ldap.tools.Utils.runTool;
import java.io.PrintStream;
import java.util.Random;
@@ -75,7 +76,7 @@
        try (PrintStream outStream = new PrintStream(out.asOutputStream());
             PrintStream errStream = new PrintStream(err.asOutputStream())) {
            LDAPSearch.run(outStream, errStream, arguments);
            runTool(new LDAPSearch(outStream, errStream), arguments);
            checkOuputStreams(out, err, expectedOut, expectedErr);
        } catch (final LDAPToolException e) {
            checkOuputStreams(out, err, expectedOut, expectedErr);