1//<-- CLI SHELL MODE --> 2// ============================================================================= 3// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab 4// Copyright (C) 2009 - DIGITEO - Allan CORNET 5// 6// This file is distributed under the same license as the Scilab package. 7// ============================================================================= 8// <-- JVM MANDATORY --> 9cd(TMPDIR); 10exec(SCI+"/modules/localization/tests/unit_tests/CreateDir.sce", -1); 11tab_ref = [ 12"世界您好", 13"азеазея", 14"ハロー・ワールド", 15"เฮลโลเวิลด์", 16"حريات وحقوق", 17"프로그램", 18"프로그램", 19"תוכנית"]; 20for i = 1 : size(tab_ref,'*') 21 dz = "dir_" + tab_ref(i); 22 p = cd(dz); 23 fz = "file_" + tab_ref(i); 24 fullfz = TMPDIR + filesep() + dz + filesep() + fz; 25 if getlongpathname(getshortpathname(fullfz)) <> fullfz then bugmes();quit;end 26 cd(TMPDIR); 27end 28