Browse Source

Make tests pass on OpenVMS.

PR: 22696
Submitted by:	Knut Wannheden <knut at paranor dot ch>


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275141 13f79535-47bb-0310-9956-ffa450edef68
master
Stefan Bodewig 22 years ago
parent
commit
5eb0e72366
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/testcases/org/apache/tools/ant/IntrospectionHelperTest.java

+ 2
- 2
src/testcases/org/apache/tools/ant/IntrospectionHelperTest.java View File

@@ -1,7 +1,7 @@
/* /*
* The Apache Software License, Version 1.1 * 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. * reserved.
* *
* Redistribution and use in source and binary forms, with or without * Redistribution and use in source and binary forms, with or without
@@ -446,7 +446,7 @@ public class IntrospectionHelperTest extends TestCase {
} }


public void setTen(File f) { public void setTen(File f) {
if (Os.isFamily("unix")) {
if (Os.isFamily("unix") || Os.isFamily("openvms")) {
assertEquals(projectBasedir+"2", f.getAbsolutePath()); assertEquals(projectBasedir+"2", f.getAbsolutePath());
} else if (Os.isFamily("netware")) { } else if (Os.isFamily("netware")) {
assertEquals(projectBasedir+"2", f.getAbsolutePath().toLowerCase(Locale.US)); assertEquals(projectBasedir+"2", f.getAbsolutePath().toLowerCase(Locale.US));


Loading…
Cancel
Save