summaryrefslogtreecommitdiff
path: root/modules/jvm/tests/unit_tests/javaclasspath.tst
blob: ab7ddb25bfd3b98a485c736372a5117170be0e7b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// =============================================================================
// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
// Copyright (C) 2011 - DIGITEO - Sylvestre LEDRU
//
//  This file is distributed under the same license as the Scilab package.
// =============================================================================

ierr = execstr('a = javaclasspath(2);','errcatch');
if ierr <> 999 then pause,end

result = javaclasspath();
if size(result,"*") < 1 then pause, end

// Does not return anything
ierr = execstr('javaclasspath(TMPDIR);;','errcatch');
if ierr <> 0 then pause,end