You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Tony Wu (JIRA)" <ji...@apache.org> on 2006/12/05 09:26:22 UTC

[jira] Commented: (HARMONY-2453) [luni] Environment provides inconsistent map on Windows

    [ http://issues.apache.org/jira/browse/HARMONY-2453?page=comments#action_12455543 ] 
            
Tony Wu commented on HARMONY-2453:
----------------------------------

would you please tell me the exact env key which fails on? Thanks a lot!

> [luni] Environment provides inconsistent map on Windows
> -------------------------------------------------------
>
>                 Key: HARMONY-2453
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2453
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: WinXP, Win2003 Server
>            Reporter: Alexey Varlamov
>
> The following test fails often on WIndows:
>     public void testGetenv() {
>         Map<String, String> env = System.getenv();
>         for (String key : env.keySet()) {
>             assertEquals("Value of " + key, env.get(key), System.getenv(key));
>         }
>     }
> junit.framework.ComparisonFailure: Value of  expected:&lt;G:=G:\avarlamo\harmony\2commit&gt; but was:&lt;null&gt;
> 	at junit.framework.Assert.assertEquals(Assert.java:81)
> 	at java.lang.SystemTest.testGetenv(SystemTest.java:49)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira