changeset 54519:c818e66338c1

8217438: Adapt tools/launcher/Test7029048.java for Aix. Reviewed-by: clanger, azeller
author goetz
date Mon, 21 Jan 2019 10:17:28 +0100
parents ba547b9b4996
children 44f41693631f
files test/jdk/tools/launcher/Test7029048.java
diffstat 1 files changed, 10 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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");