Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
PojavLauncherTeam
GitHub Repository: PojavLauncherTeam/openj9
Path: blob/master/test/functional/cmdLineTests/loadLibraryTest/loadLibraryTest.xml
6004 views
1
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
2
3
<!--
4
Copyright (c) 2013, 2020 IBM Corp. and others
5
6
This program and the accompanying materials are made available under
7
the terms of the Eclipse Public License 2.0 which accompanies this
8
distribution and is available at https://www.eclipse.org/legal/epl-2.0/
9
or the Apache License, Version 2.0 which accompanies this distribution and
10
is available at https://www.apache.org/licenses/LICENSE-2.0.
11
12
This Source Code may also be made available under the following
13
Secondary Licenses when the conditions for such availability set
14
forth in the Eclipse Public License, v. 2.0 are satisfied: GNU
15
General Public License, version 2 with the GNU Classpath
16
Exception [1] and GNU General Public License, version 2 with the
17
OpenJDK Assembly Exception [2].
18
19
[1] https://www.gnu.org/software/classpath/license.html
20
[2] http://openjdk.java.net/legal/assembly-exception.html
21
22
SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 OR LicenseRef-GPL-2.0 WITH Assembly-exception
23
-->
24
25
<!DOCTYPE suite SYSTEM "cmdlinetester.dtd">
26
27
<suite id="LoadLibrary test intended for CMVC 201408" timeout="6000">
28
<variable name="CP" value="$TESTSJARPATH$" />
29
<variable name="TEST_APP" value="-cp $CP$ org.openj9.test.loadLibrary.TestLoadLibrary" />
30
<variable name="LIB_PATH" value="$Q$.;'C:$PATHSEP$Program Files (x86)$PATHSEP$ibm$PATHSEP$tivoli';C:$PATHSEP$Users$PATHSEP$j9build;C:$PATHSEP$dev;.$Q$"/>
31
32
<test id="LoadLibrary testcase with invalid paths specified in the library path list">
33
<command>$JAVA_EXE$ -Djava.library.path=$LIB_PATH$ $TEST_APP$</command>
34
<output type="success" regex="no" showMatch="yes">Not found in java.library.path</output>
35
<!-- Accept "The specified network name is no longer available" as pass, since this test fails on win8 intermittently with follow message. For more detail, please see JAZZ103 69396 -->
36
<output type="success" regex="no" showMatch="yes">The specified network name is no longer available</output>
37
<output type="success" regex="no" showMatch="yes">java.lang.UnsatisfiedLinkError: Can't load abcdef</output>
38
39
<output type="failure" caseSensitive="no" regex="no">The specified path is invalid</output>
40
<output type="failure" caseSensitive="no" regex="no">Could not find or load main class Files</output>
41
<output type="failure" caseSensitive="no" regex="no">Unhandled Exception</output>
42
<output type="failure" caseSensitive="no" regex="no">corrupt</output>
43
<output type="failure" caseSensitive="yes" regex="no">Processing dump event</output>
44
<output type="failure" caseSensitive="yes" regex="no">JVM requested Java dump</output>
45
<output type="failure" caseSensitive="yes" regex="no">JVM requested Snap dump</output>
46
</test>
47
48
</suite>
49