changeset 597:ce085c4b3999

[xemacs-hg @ 2001-06-01 05:05:54 by martinb] Fix test suite failure if (temp-directory) is a symlink
author martinb
date Fri, 01 Jun 2001 05:06:15 +0000
parents cdb192350f65
children 6452bb72f5b9
files tests/ChangeLog tests/automated/mule-tests.el
diffstat 2 files changed, 8 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tests/ChangeLog	Fri Jun 01 04:40:36 2001 +0000
+++ b/tests/ChangeLog	Fri Jun 01 05:06:15 2001 +0000
@@ -1,3 +1,8 @@
+2001-05-29  Martin Buchholz  <martin@xemacs.org>
+
+	* automated/mule-tests.el:
+	Avoid test failure if (temp-directory) is a symlink.
+
 2001-05-09  Martin Buchholz <martin@xemacs.org>
 
 	* XEmacs 21.5.1 "anise" is released.
--- a/tests/automated/mule-tests.el	Fri Jun 01 04:40:36 2001 +0000
+++ b/tests/automated/mule-tests.el	Fri Jun 01 05:06:15 2001 +0000
@@ -293,7 +293,9 @@
   ;;---------------------------------------------------------------
   (let* ((scaron (make-char 'latin-iso8859-2 57))
 	 (latin2-string (make-string 4 scaron))
-	 (prefix (concat (file-name-as-directory (temp-directory)) latin2-string))
+	 (prefix (concat (file-name-as-directory
+			  (file-truename (temp-directory)))
+			 latin2-string))
 	 (name1 (make-temp-name prefix))
 	 (name2 (make-temp-name prefix))
 	 (file-name-coding-system 'iso-8859-2))