8217438: Adapt tools/launcher/Test7029048.java for Aix.
authorgoetz
Mon, 21 Jan 2019 10:17:28 +0100
changeset 53455 c818e66338c1
parent 53454 ba547b9b4996
child 53456 44f41693631f
8217438: Adapt tools/launcher/Test7029048.java for Aix. Reviewed-by: clanger, azeller
test/jdk/tools/launcher/Test7029048.java
--- a/test/jdk/tools/launcher/Test7029048.java	Tue Jan 22 17:31:19 2019 -0800
+++ b/test/jdk/tools/launcher/Test7029048.java	Mon Jan 21 10:17:28 2019 +0100
@@ -154,12 +154,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");