jtreg fails if directory timestamps are 0 (start of Unix epoch)

Jonathan Gibbons jonathan.gibbons at oracle.com
Wed Jan 9 17:41:17 PST 2013


On 01/09/2013 05:20 PM, Martin Buchholz wrote:
> Hey,
>
> This is a cute bug (maybe a bug in java.io <http://java.io> or jtreg 
> or jtharness; not sure).
>
> $ perl -e 'utime 0, 0, "java/lang/String"' && ls -ld java/lang/String 
> && ~/jct-tools/jtreg-4.1-b5/linux/bin/jtreg java/lang/String/IsEmpty.java
> drwxr-x--- 2 martinrb eng 4096 Dec 31  1969 java/lang/String
> Error: Bad parameters specified: The following path does not identify 
> a valid test or folder of tests:
> java/lang/String/IsEmpty.java
>
> jdk/test $ touch java/lang/String && ls -ld java/lang/String && 
> ~/jct-tools/jtreg-4.1-b5/linux/bin/jtreg java/lang/String/IsEmpty.java
> drwxr-x--- 2 martinrb eng 4096 Jan  9 17:19 java/lang/String
> Test results: passed: 1
>

How did you trip over that one?

-- Jon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/jtreg-use/attachments/20130109/32986126/attachment.html 


More information about the jtreg-use mailing list