Index: tests/pybin/tools.py
===================================================================
--- tests/pybin/tools.py	(revision 129674b71c6e2204600a67243289eef543203401)
+++ tests/pybin/tools.py	(revision 8e516fdabae6d5e2e08c1a38c8a41fb6c51386af)
@@ -246,5 +246,5 @@
 # transform path to canonical form
 def canonical_path(path):
-	abspath = os.path.abspath(__main__.__file__)
+	abspath = os.path.abspath(os.path.realpath(__main__.__file__))
 	dname = os.path.dirname(abspath)
 	return os.path.join(dname, os.path.normpath(path) )
