test/jdk/tools/launcher/Test7029048.java
changeset 53457 e3ed96060992
parent 53376 4948dda8ea41
parent 53455 c818e66338c1
child 54023 a764c49570c6
--- a/test/jdk/tools/launcher/Test7029048.java	Wed Jan 23 19:31:00 2019 +0100
+++ b/test/jdk/tools/launcher/Test7029048.java	Wed Jan 23 19:56:28 2019 +0100
@@ -155,12 +155,22 @@
                     }
 
                     desc = "LD_LIBRARY_PATH should not be set (no libjvm.so)";
+                    if (TestHelper.isAIX) {
+                        System.out.println("Skipping test case \"" + desc +
+                                           "\" because the Aix launcher adds the paths in any case.");
+                        continue;
+                    }
                     break;
                 case NO_DIR:
                     if (dstLibDir.exists()) {
                         recursiveDelete(dstLibDir);
                     }
                     desc = "LD_LIBRARY_PATH should not be set (no directory)";
+                    if (TestHelper.isAIX) {
+                        System.out.println("Skipping test case \"" + desc +
+                                           "\" because the Aix launcher adds the paths in any case.");
+                        continue;
+                    }
                     break;
                 default:
                     throw new RuntimeException("unknown case");