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 9// <-- JVM MANDATORY --> 10 11// ============================================================================ 12// Unitary tests for removedir function 13// ============================================================================ 14 15chdir(TMPDIR); 16 17warning("off"); 18a = createdir("test_removedir"); 19if(a <> %T) then pause, end 20 21cd("test_removedir"); 22exec(SCI+"/modules/localization/tests/unit_tests/CreateDir.sce", -1); 23 24chdir(TMPDIR); 25b = removedir("test_removedir"); 26if (b <> %T) then pause,end 27if(isdir("test_removedir") <> %F) then pause, end 28 29