8217438: Adapt tools/launcher/Test7029048.java for Aix

Reviewed-by: clanger, azeller
This commit is contained in:
Goetz Lindenmaier 2019-01-21 10:17:28 +01:00
parent 0b3979f8fe
commit 05a8750ec7

View File

@ -154,12 +154,22 @@ public class Test7029048 extends TestHelper {
} }
desc = "LD_LIBRARY_PATH should not be set (no libjvm.so)"; 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; break;
case NO_DIR: case NO_DIR:
if (dstLibDir.exists()) { if (dstLibDir.exists()) {
recursiveDelete(dstLibDir); recursiveDelete(dstLibDir);
} }
desc = "LD_LIBRARY_PATH should not be set (no directory)"; 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; break;
default: default:
throw new RuntimeException("unknown case"); throw new RuntimeException("unknown case");