8022719: tools/launcher/RunpathTest.java fails after 8012146
authorerikj
Mon, 19 Aug 2013 12:30:48 +0200
changeset 20845 35f65a2db142
parent 20844 3f51de06462f
child 20846 8287d2ea9523
8022719: tools/launcher/RunpathTest.java fails after 8012146 Reviewed-by: chegar
jdk/test/tools/launcher/RunpathTest.java
--- a/jdk/test/tools/launcher/RunpathTest.java	Wed Aug 14 15:25:16 2013 +0800
+++ b/jdk/test/tools/launcher/RunpathTest.java	Mon Aug 19 12:30:48 2013 +0200
@@ -23,7 +23,7 @@
 
 /*
  * @test
- * @bug 7190813
+ * @bug 7190813, 8022719
  * @summary Check for extended  RPATHs on *nixes
  * @compile -XDignore.symbol.file RunpathTest.java
  * @run main RunpathTest
@@ -65,12 +65,10 @@
 
     void testRpath() {
         if (isDualMode && is64Bit) {
-            String expectedRpath = ".*RPATH.*\\$ORIGIN/../../lib/" + getJreArch()
-                    + ":\\$ORIGIN/../../jre/lib/" + getJreArch() + ".*";
+            String expectedRpath = ".*RPATH.*\\$ORIGIN/../../lib/" + getJreArch() + ".*";
             elfCheck(java64Cmd, expectedRpath);
         } else {
-            String expectedRpath = ".*RPATH.*\\$ORIGIN/../lib/" + getJreArch()
-                    + ":\\$ORIGIN/../jre/lib/" + getJreArch() + ".*";
+            String expectedRpath = ".*RPATH.*\\$ORIGIN/../lib/" + getJreArch() + ".*";
             elfCheck(javaCmd, expectedRpath);
         }
     }