avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject cvs commit: avalon/merlin/util/env/src/test/org/apache/avalon/util/env EnvTest.java
Date Sun, 02 Nov 2003 21:28:03 GMT
akarasulu    2003/11/02 13:28:03

  Modified:    merlin/util/env/src/test/org/apache/avalon/util/env
                        EnvTest.java
  Log:
  I appologize for this - should be final now.
  
  Revision  Changes    Path
  1.3       +10 -1     avalon/merlin/util/env/src/test/org/apache/avalon/util/env/EnvTest.java
  
  Index: EnvTest.java
  ===================================================================
  RCS file: /home/cvs/avalon/merlin/util/env/src/test/org/apache/avalon/util/env/EnvTest.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- EnvTest.java	2 Nov 2003 21:23:15 -0000	1.2
  +++ EnvTest.java	2 Nov 2003 21:28:03 -0000	1.3
  @@ -80,6 +80,15 @@
       {
           Env l_env = new Env() ;
           assertNull( l_env.getProperty( "PAT" ) ) ;
  -        assertNotNull( l_env.getProperty( "PATH" ) ) ;
  +        
  +        if ( Env.isUnix() )
  +        {    
  +            assertNotNull( l_env.getProperty( "PATH" ) ) ;
  +        }
  +        
  +        if ( Env.isWindows() )
  +        {
  +            assertNotNull( l_env.getProperty( "PROMPT" ) ) ;
  +        }
       }
   }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: cvs-unsubscribe@avalon.apache.org
For additional commands, e-mail: cvs-help@avalon.apache.org


Mime
View raw message