package io.aeron;

import org.junit.jupiter.api.Test;

class PrintEnvInfo
{
    @Test
    void test()
    {
        System.out.println("=========================");
        System.out.println("[PrintEnvInfo] System properties:");
        System.out.println("=========================");
        System.getProperties().entrySet().stream()
            .filter(e -> ((String)e.getKey()).contains("java."))
            .forEach(e -> System.out.println("- " + e.getKey() + ": " + e.getValue()));

        System.out.println("\n=========================");
        System.out.println("[PrintEnvInfo] ENV variables:");
        System.out.println("=========================");
        for (final String env : new String[]{ "JAVA_HOME", "BUILD_JAVA_HOME", "BUILD_JAVA_VERSION", "PATH" })
        {
            System.out.println("- " + env + ": " + System.getenv(env));
        }
    }
}

@@ -1,22 +1,666 @@
-package io.aeron;%0A
+/*%0A * Copyright 2014-2021 Real Logic Limited.%0A *%0A * Licensed under the Apache License, Version 2.0 (the %22License%22);%0A * you may not use this file except in compliance with the License.%0A * You may obtain a copy of the License at%0A *%0A * https://www.apache.org/licenses/LICENSE-2.0%0A *%0A * Unless required by applicable law or agreed to in writing, software%0A * distributed under the License is distributed on an %22AS IS%22 BASIS,%0A * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.%0A * See the License for the specific language governing permissions and%0A * limitations under the License.%0A */%0Apackage io.aeron;%0A%0Aimport org.junit.jupiter.api.Disabled;
 %0Aimp
@@ -713,16 +713,30 @@
 vInfo%0A%7B%0A
+    @Disabled%0A
     @Tes
@@ -1009,17 +1009,19 @@
 .filter(
-e
+(e)
  -%3E ((St
@@ -1077,17 +1077,19 @@
 forEach(
-e
+(e)
  -%3E Syst

Disable the printing of env information.