From 924e2eefd99b2c93d50c19db146253c85e04fe6d Mon Sep 17 00:00:00 2001
From: Sven Gothel <sgothel@jausoft.com>
Date: Mon, 2 Apr 2012 17:23:31 +0200
Subject: Fix IOUtil: Handle all '../' and './' cases by reducing the path.

---
 .../com/jogamp/common/net/AssetURLConnectionUnregisteredTest.java     | 4 ++++
 1 file changed, 4 insertions(+)

(limited to 'src/junit/com/jogamp/common/net/AssetURLConnectionUnregisteredTest.java')

diff --git a/src/junit/com/jogamp/common/net/AssetURLConnectionUnregisteredTest.java b/src/junit/com/jogamp/common/net/AssetURLConnectionUnregisteredTest.java
index 6db8c17..cf26da4 100644
--- a/src/junit/com/jogamp/common/net/AssetURLConnectionUnregisteredTest.java
+++ b/src/junit/com/jogamp/common/net/AssetURLConnectionUnregisteredTest.java
@@ -39,6 +39,10 @@ public class AssetURLConnectionUnregisteredTest extends AssetURLConnectionBase {
         final URL url1 = IOUtil.getRelativeOf(urlConn0.getURL(), test_asset_test3_rel);
         Assert.assertNotNull(url1); // JARFile URL ..
         testAssetConnection(url1.openConnection(), test_asset_test3_entry);
+        
+        final URL url2 = IOUtil.getRelativeOf(urlConn0.getURL(), test_asset_test4_rel);
+        Assert.assertNotNull(url1);
+        testAssetConnection(url2.openConnection(), test_asset_test4_entry);        
     }
     
     protected static URLConnection createAssetURLConnection(String path, ClassLoader cl) throws IOException {
-- 
cgit v1.2.3