From 5eb0e7236619299801a2667696bcd41b24ee53ba Mon Sep 17 00:00:00 2001 From: Stefan Bodewig Date: Tue, 26 Aug 2003 08:21:02 +0000 Subject: [PATCH] Make tests pass on OpenVMS. PR: 22696 Submitted by: Knut Wannheden git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275141 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/tools/ant/IntrospectionHelperTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/testcases/org/apache/tools/ant/IntrospectionHelperTest.java b/src/testcases/org/apache/tools/ant/IntrospectionHelperTest.java index d04aeaac8..66c25ab77 100644 --- a/src/testcases/org/apache/tools/ant/IntrospectionHelperTest.java +++ b/src/testcases/org/apache/tools/ant/IntrospectionHelperTest.java @@ -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 class IntrospectionHelperTest extends TestCase { } 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));