1//<-- CLI SHELL MODE --> 2// ============================================================================ 3// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab 4// Copyright (C) 2008 - INRIA - Sylvestre Ledru 5// 6// This file is distributed under the same license as the Scilab package. 7// ============================================================================ 8// <-- JVM MANDATORY --> 9// ============================================================================ 10// Unitary tests for removedir function 11// ============================================================================ 12chdir(TMPDIR); 13warning("off"); 14a = createdir("test_removedir"); 15if(a <> %T) then bugmes();quit;end 16cd("test_removedir"); 17exec(SCI+"/modules/localization/tests/unit_tests/CreateDir.sce", -1); 18chdir(TMPDIR); 19b = removedir("test_removedir"); 20if (b <> %T) then bugmes();quit;end 21if(isdir("test_removedir") <> %F) then bugmes();quit;end 22