changeset 24391:06a7646a5619

fileattrib.m: Fix BIST test failing on Mac OSX due to symlinked tmp dir. * fileattrib.m: Use canonicalize_file_name() to get the true name of the tmp directory.
author Rik <rik@octave.org>
date Fri, 08 Dec 2017 13:02:19 -0800
parents 3ef6430ab807
children 583e6447d7dc
files scripts/miscellaneous/fileattrib.m
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/miscellaneous/fileattrib.m	Thu Dec 07 21:47:53 2017 -0800
+++ b/scripts/miscellaneous/fileattrib.m	Fri Dec 08 13:02:19 2017 -0800
@@ -153,7 +153,7 @@
 
 
 %!test
-%! def_tmpdir = P_tmpdir ();
+%! def_tmpdir = canonicalize_file_name (P_tmpdir ());
 %! while (length (def_tmpdir) > 2 && strfind (filesep ("all"), def_tmpdir(end)))
 %!   def_tmpdir(end) = [];
 %! endwhile