Use os.path.realpath() in stead of abspath(), so the tests don't fail if
we have a symlink somewhere in the TESTFN path.
diff --git a/Lib/test/test_macostools.py b/Lib/test/test_macostools.py
index 268d9bb..f5abb6d 100644
--- a/Lib/test/test_macostools.py
+++ b/Lib/test/test_macostools.py
@@ -68,7 +68,7 @@
             pass
         macostools.mkalias(test_support.TESTFN, TESTFN2)
         fss, _, _ = macfs.ResolveAliasFile(TESTFN2)
-        self.assertEqual(fss.as_pathname(), os.path.abspath(test_support.TESTFN))
+        self.assertEqual(fss.as_pathname(), os.path.realpath(test_support.TESTFN))
         
     def test_mkalias_relative(self):
         try:
@@ -77,7 +77,7 @@
             pass
         macostools.mkalias(test_support.TESTFN, TESTFN2, sys.prefix)
         fss, _, _ = macfs.ResolveAliasFile(TESTFN2)
-        self.assertEqual(fss.as_pathname(), os.path.abspath(test_support.TESTFN))
+        self.assertEqual(fss.as_pathname(), os.path.realpath(test_support.TESTFN))
         
     
 def test_main():