[patch] minimal test case for sha-1 and md5

Andreas Tobler toa@pop.agri.ch
Mon Oct 11 20:48:00 GMT 2004


Tom Tromey wrote:

>>>>>>"Andreas" == Andreas Tobler <toa@pop.agri.ch> writes:
> 
> 
> Andreas> xxx added a test case for 17903, I asked him to add one for
> Andreas> md5 too.
> 
> Andreas> Here they are. Where should we place them?  Is libjava.lang
> Andreas> ok? It gives there 36 new results if everything works fine.
> 
> There wasn't an attachment or anything, so I didn't read the test
> cases.

Yeah, soooorry, pressed send too early.

Ok, Rutger Ovidius is the xxx, had to find his name first :)

And attached now the test cases, they are organized now in the way we 
run libjava.lang tests. *.java and the corresponding *.out file.

> Is this something we can add to Mauve?  For instance testing via
> java.security.MessageDigest?

I think it would be good to have a more complete security test suite in 
mauve.
Unfortunately I'm not a security hacker so I do not know yet what to 
test exactly.

My motivation with these two tests was simply not to forget a test, we 
need every single test even if they are small. And they would have shown 
us in gcc world that something has been broken.

Sure, mauve would be a better place, but I do not know many gcc test 
result posters who run mauve. ... ;)

Andreas

P.S, maybe there are already security tests which could be integrated to 
mauve ??



-------------- next part --------------
A non-text attachment was scrubbed...
Name: sha-test.tar.gz
Type: application/gzip
Size: 1273 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20041011/80a1a210/attachment.gz>


More information about the Java-patches mailing list