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)";
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");