RE: Tests cases that need fixing

Hi Dom,

>* ImagesSpecifySizeTest #7 should trigger an HTTP 401 error on loading
>an imaged called "gif401.gif", but there is no such a file in that
>directory, nor is there any specific configuration that would return 401

 >* likewise, the test MAIN_DOCUMENT #7 is supposed to trigger a 401
>response, but it doesn't seem to do for me either

The intention of these tests was to check the HTTP_RESPONSE-7 test. For that purpose it was necessary to provide the checker some authentication parameters. In order to simulate this, we defined a file (called config) to specify this kind of parameters. The funny thing is that the code that loaded such parameters is actually missing!. Anyway, the class affected is
OneTestTest. (I attach the modified one, because the CVS seems not to work for me).

>keystore:
       > Invalid keystore format
        >at
        >sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:633)
>This might be a Windows/Linux compatibility problem; could you tell me
>how you generated the keystore, and what values I should know to
>regenerate one that would work for me?

This seems a bit odd, indeed. We generated the keystore with the keytool that is included with the JRE.
The steps to generate it are based on http://tomcat.apache.org/tomcat-4.1-doc/ssl-howto.html 
Basically, type "keytool -genkey -alias tomcat -keyalg RSA" and then you are prompted for some questions (organization, location and so on).

By the way, Have you checked the validity of the current keystore?
(keytool -list -v -keystore .keystore)


Regards,

Abel.





-----Mensaje original-----
De: Dominique Hazael-Massieux [mailto:dom@w3.org] 
Enviado el: viernes, 20 de junio de 2008 16:35
Para: Abel Rionda
CC: public-mobileok-checker
Asunto: Tests cases that need fixing

Hi Abel,

As I was running the test suite to check that everything was in order, I
stumbled upon a few test cases that were failing. I corrected a number
of them (a number of them were due to the addition of checking the
differences between the <meta http-equiv/> and the HTTP headers).

There remains a few that are still failing, some of which I think are
just a matter of simple corrections:
 * ImagesSpecifySizeTest #7 should trigger an HTTP 401 error on loading
an imaged called "gif401.gif", but there is no such a file in that
directory, nor is there any specific configuration that would return 401
on such a file as far as I can tell
http://dev.w3.org/cvsweb/2007/mobileok-ref/test/data/ROOT/ImagesSpecifySizeTest/7/


 * likewise, the test MAIN_DOCUMENT #7 is supposed to trigger a 401
response, but it doesn't seem to do for me either

 * The test for the HTTPS check in LINK_TARGET_FORMAT 7 is failing for
me, and I believe this is because my set up doesn't manage to read the
keystore:
        Invalid keystore format
        at
        sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:633)
This might be a Windows/Linux compatibility problem; could you tell me
how you generated the keystore, and what values I should know to
regenerate one that would work for me?

(PageSizeLimitTest 3 is currently failing, pending the resolution of bug
#5590 http://www.w3.org/Bugs/Public/show_bug.cgi?id=5590 
)

Thanks,

Dom

Received on Monday, 23 June 2008 09:05:27 UTC