Fix broken test on older Mac JDK

git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@816058 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/karaf/gshell/gshell-admin/src/test/java/org/apache/felix/karaf/gshell/admin/main/ExecuteTest.java b/karaf/gshell/gshell-admin/src/test/java/org/apache/felix/karaf/gshell/admin/main/ExecuteTest.java
index 2d0e122..06cee7e 100644
--- a/karaf/gshell/gshell-admin/src/test/java/org/apache/felix/karaf/gshell/admin/main/ExecuteTest.java
+++ b/karaf/gshell/gshell-admin/src/test/java/org/apache/felix/karaf/gshell/admin/main/ExecuteTest.java
@@ -163,7 +163,7 @@
         final File tempFile = File.createTempFile(name, null);
         tempFile.delete();
         tempFile.mkdirs();
-        return tempFile;
+        return tempFile.getCanonicalFile();
     }
 
     private static void delete(File tmp) {