1 // =============================================================================
2 // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
3 // Copyright (C) 2017 - Scilab Enterprises - Antoine ELIAS
5 // This file is distributed under the same license as the Scilab package.
6 // =============================================================================
8 // <-- CLI SHELL MODE -->
9 // <-- WINDOWS ONLY -->
11 // <-- Non-regression test for bug 14909 -->
13 // <-- Bugzilla URL -->
14 // http://bugzilla.scilab.org/show_bug.cgi?id=14909
16 // <-- Short Description -->
17 // getlongpathname and getshortpathname must return value with "\" instead of "/"
19 p = getlongpathname(SCI);
20 assert_checkequal(grep(p, "/"), []);
22 p = getshortpathname(WSCI);
23 assert_checkequal(grep(p, "/"), []);