# HG changeset patch # User Rik # Date 1512766939 28800 # Node ID 06a7646a5619de6589452c318c3deed43c1f5ecb # Parent 3ef6430ab807978f8739dc40607ca47e8e88b044 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. diff -r 3ef6430ab807 -r 06a7646a5619 scripts/miscellaneous/fileattrib.m --- 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