changeset 20099:ab7582167810

Fix failing BIST test for tilde_expand() on Windows (bug #44796). * sysdep.cc (Ftilde_expand): Don't use fullfile in BIST test as it replaces all slashes in path with the current file separator.
author Rik <rik@octave.org>
date Thu, 09 Apr 2015 19:53:21 -0700
parents 654705239575
children def977567637
files libinterp/corefcn/sysdep.cc
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libinterp/corefcn/sysdep.cc	Thu Apr 09 18:36:07 2015 -0700
+++ b/libinterp/corefcn/sysdep.cc	Thu Apr 09 19:53:21 2015 -0700
@@ -1004,7 +1004,7 @@
 /*
 %!test
 %! home = get_home_directory ();
-%! assert (tilde_expand ("~/foobar"), fullfile (home, "/foobar"));
+%! assert (tilde_expand ("~/foobar"), [home "/foobar"]);
 %! assert (tilde_expand ("/foo/bar"), "/foo/bar");
 %! assert (tilde_expand ("foo/bar"), "foo/bar");
 */