bodewig     2003/08/26 01:21:02

  Modified:    src/testcases/org/apache/tools/ant
                        IntrospectionHelperTest.java
  Log:
  Make tests pass on OpenVMS.
  
  PR: 22696
  Submitted by: Knut Wannheden <knut at paranor dot ch>
  
  Revision  Changes    Path
  1.16      +2 -2      
ant/src/testcases/org/apache/tools/ant/IntrospectionHelperTest.java
  
  Index: IntrospectionHelperTest.java
  ===================================================================
  RCS file: 
/home/cvs/ant/src/testcases/org/apache/tools/ant/IntrospectionHelperTest.java,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- IntrospectionHelperTest.java      7 Mar 2003 11:23:10 -0000       1.15
  +++ IntrospectionHelperTest.java      26 Aug 2003 08:21:02 -0000      1.16
  @@ -1,7 +1,7 @@
   /*
    * The Apache Software License, Version 1.1
    *
  - * Copyright (c) 2000-2001 The Apache Software Foundation.  All rights
  + * Copyright (c) 2000-2001,2003 The Apache Software Foundation.  All rights
    * reserved.
    *
    * Redistribution and use in source and binary forms, with or without
  @@ -446,7 +446,7 @@
       }
   
       public void setTen(File f) {
  -        if (Os.isFamily("unix")) { 
  +        if (Os.isFamily("unix") || Os.isFamily("openvms")) {
               assertEquals(projectBasedir+"2", f.getAbsolutePath());
           } else if (Os.isFamily("netware")) {
               assertEquals(projectBasedir+"2", 
f.getAbsolutePath().toLowerCase(Locale.US));
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to