Skip to content

Commit

Permalink
8217438: Adapt tools/launcher/Test7029048.java for Aix
Browse files Browse the repository at this point in the history
Reviewed-by: clanger, azeller
  • Loading branch information
GoeLin committed Jan 21, 2019
1 parent 0b3979f commit 05a8750
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions test/jdk/tools/launcher/Test7029048.java
Original file line number Diff line number Diff line change
Expand Up @@ -154,12 +154,22 @@ static void test7029048() throws IOException {
}

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

0 comments on commit 05a8750

Please sign in to comment.