Path: blob/master/test/functional/cmdLineTests/gcRegressionTests/gcRotatingVerboseLogTests.xml
6004 views
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>12<!--3Copyright (c) 2001, 2022 IBM Corp. and others45This program and the accompanying materials are made available under6the terms of the Eclipse Public License 2.0 which accompanies this7distribution and is available at https://www.eclipse.org/legal/epl-2.0/8or the Apache License, Version 2.0 which accompanies this distribution and9is available at https://www.apache.org/licenses/LICENSE-2.0.1011This Source Code may also be made available under the following12Secondary Licenses when the conditions for such availability set13forth in the Eclipse Public License, v. 2.0 are satisfied: GNU14General Public License, version 2 with the GNU Classpath15Exception [1] and GNU General Public License, version 2 with the16OpenJDK Assembly Exception [2].1718[1] https://www.gnu.org/software/classpath/license.html19[2] http://openjdk.java.net/legal/assembly-exception.html2021SPDX-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-exception22-->2324<!DOCTYPE suite SYSTEM "cmdlinetester.dtd">2526<suite id="J9 GC Rotating Verbose Log Tests" timeout="900">2728<!-- Arguments used in all tests -->29<variable name="CP" value="-cp $TESTSJARPATH$" />30<variable name="XINT" value="-Xint" />3132<test id="GC rotating verbose log file name contains %s">33<exec command="rm foo*.*" />34<exec command="$EXE$ $XINT$ -verbose:gc -Xms8m -Xmx8m -Xverbosegclog:foo%s%s%s%s%s%s,5,1 $CP$ com.ibm.tests.garbagecollector.SpinAllocate 5" />35<!-- check a file with name foo%s%s%s%s%s%s.003 is created -->36<command>cat foo%s%s%s%s%s%s.003</command>37<output regex="no" type="failure">No such file or directory</output>38<output regex="no" type="success"></verbosegc></output>39</test>4041<test id="GC rotating verbose log file name contains %s and other random symbols">42<exec command="rm foo*.*" />43<exec command="$EXE$ $XINT$ -verbose:gc -Xms8m -Xmx8m -Xverbosegclog:foo%s%s%s%s%s%s1234567%s%s%s%s%s%s!@%^*%s%s%s%s%s%sabcdef.#,5,1 $CP$ com.ibm.tests.garbagecollector.SpinAllocate 5" />44<!-- check a file with name foo%s%s%s%s%s%s1234567%s%s%s%s%s%s!@%^*%s%s%s%s%s%sabcdef.003 is created -->45<command>cat foo%s%s%s%s%s%s1234567%s%s%s%s%s%s!@%^*%s%s%s%s%s%sabcdef.003</command>46<output regex="no" type="failure">No such file or directory</output>47<output regex="no" type="success"></verbosegc></output>48</test>4950<test id="GC rotating verbose log file name contains %s %c %i">51<exec command="rm foo*.*" />52<exec command="$EXE$ $XINT$ -verbose:gc -Xms8m -Xmx8m -Xverbosegclog:foo%s%s%s%s%s%s%c%c%c%c%c%i%i%i%i%i,5,1 $CP$ com.ibm.tests.garbagecollector.SpinAllocate 5" />53<!-- check a file with name foo%s%s%s%s%s%s%c%c%c%c%c%i%i%i%i%i.003 is created -->54<command>cat foo%s%s%s%s%s%s%c%c%c%c%c%i%i%i%i%i.003</command>55<output regex="no" type="failure">No such file or directory</output>56<output regex="no" type="success"></verbosegc></output>57</test>5859<test id="GC rotating verbose log file name contains %s %c %i and other random symbols">60<exec command="rm foo*.*" />61<exec command="$EXE$ $XINT$ -verbose:gc -Xms8m -Xmx8m -Xverbosegclog:foo%s%s%s%s%s%s%c%c%c%c%c%i%i%i%i%i1234567!@%^*%s%s%s%s%s%s%c%c%c%c%c%i%i%i%i%isabcdef.#,5,1 $CP$ com.ibm.tests.garbagecollector.SpinAllocate 5" />62<!-- check a file with name foo%s%s%s%s%s%s1234567%s%s%s%s%s%s!@%^*%s%s%s%s%s%sabcdef.003 is created -->63<command>cat foo%s%s%s%s%s%s%c%c%c%c%c%i%i%i%i%i1234567!@%^*%s%s%s%s%s%s%c%c%c%c%c%i%i%i%i%isabcdef.003</command>64<output regex="no" type="failure">No such file or directory</output>65<output regex="no" type="success"></verbosegc></output>66</test>67</suite>686970