equal
deleted
inserted
replaced
86 } |
86 } |
87 |
87 |
88 public static void main(String[] args) throws Exception { |
88 public static void main(String[] args) throws Exception { |
89 if (TEST_CLASSPATH == null || TEST_CLASSPATH.isEmpty()) { |
89 if (TEST_CLASSPATH == null || TEST_CLASSPATH.isEmpty()) { |
90 System.out.println("Test is designed to be run from jtreg only"); |
90 System.out.println("Test is designed to be run from jtreg only"); |
|
91 return; |
|
92 } |
|
93 |
|
94 if (getPlatform() == null) { |
|
95 System.out.println("Test not designed to run on this operating " + |
|
96 "system (" + OSNAME + "), skipping..."); |
91 return; |
97 return; |
92 } |
98 } |
93 |
99 |
94 final FileSystem FS = FileSystems.getDefault(); |
100 final FileSystem FS = FileSystems.getDefault(); |
95 |
101 |
221 case "sunos": { |
227 case "sunos": { |
222 platform = "solaris"; |
228 platform = "solaris"; |
223 break; |
229 break; |
224 } |
230 } |
225 default: { |
231 default: { |
226 System.out.println("Test not designed to run on this operating " + |
232 platform = null; |
227 "system (" + OSNAME + "), skipping..."); |
|
228 } |
233 } |
229 } |
234 } |
230 |
235 |
231 return platform; |
236 return platform; |
232 } |
237 } |