RFR: 8009808 TEST-BUG : test case is using bash style tests. Default shell for jtreg is bourne. thus failure
mikael.gerdin at oracle.com
Tue Mar 26 06:30:11 PDT 2013
On 2013-03-22 08:06, Leonid Mesnik wrote:
> Could anyone please review this small test fix.
> On 03/20/2013 04:16 PM, Leonid Mesnik wrote:
>> Could you please review fix for 8009808 TEST-BUG : test case is using
>> bash style tests. Default shell for jtreg is bourne. thus failure.
>> I've completely rewritten test in java without major changes it test
>> I remove CMS so test could be run when CMS is not supported. Also I
>> changed max memory to 128M to reduce memory load and increase number
>> of GC log entries.
Do you think it would be useful to run this test with different GCs?
In that case you can pick up the test.vm.opts and test.java.opts system
properties and add them to the java command line you launch.
>> Here is the link:
Are you sure about this:
static final File currentDirectory = new
isn't user.dir the home directory? Current directory should be just "."
Something like new File(".").getAbsoluteFile() should give you the
current work dir.
What is the relation between "numberOfFiles" and "minutesToRun"??
How do you know that running for 3 minutes will cause a log rotation?
I know that you've just adapted the existing test but it seems strange
More information about the hotspot-gc-dev