@@ -0,0 +1,1259 @@
+package picard.cmdline;%0A%0Aimport org.testng.Assert;%0Aimport org.testng.annotations.Test;%0A%0Aimport java.io.ByteArrayOutputStream;%0Aimport java.io.PrintStream;%0A%0A/**%0A * Test that Picard CLPs don't log an ERROR just from starting up, which started happening%0A * after we enabled the Intel inflater / deflater because of a missing configuration file.%0A */%0Apublic class CommandLineProgramStartupErrorLogTest %7B%0A%0A    @CommandLineProgramProperties(%0A            usage = %22No-op CLP for testing initialization behavior.%22,%0A            usageShort = %22No-op CLP for testing initialization behavior.%22%0A    )%0A    private class MockCLP extends CommandLineProgram %7B%0A        @Override%0A        public int doWork() %7B return 0; %7D%0A    %7D%0A%0A    @Test%0A    public void testNoStartupErrorLog() %7B%0A        ByteArrayOutputStream stderrStream = new ByteArrayOutputStream();%0A        PrintStream newStderr = new PrintStream(stderrStream);%0A        PrintStream oldStderr = System.err;%0A        System.setErr(newStderr);%0A%0A        CommandLineProgram clp = new MockCLP();%0A%0A        try %7B%0A            clp.instanceMain(new String%5B%5D%7B%7D);%0A            Assert.assertFalse(stderrStream.toString().contains(%22ERROR%22), stderrStream.toString());%0A        %7D finally %7B%0A            System.setErr(oldStderr);%0A        %7D%0A    %7D%0A%7D%0A

Add regression test for #883. (#894)