summaryrefslogtreecommitdiff
path: root/modules/jvm/tests/unit_tests/javalibrarypath.tst
blob: b2ad5c1bcfc0b5c80a05abedb5cc0b1ed9616622 (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 = javalibrarypath(2);','errcatch');
if ierr <> 999 then pause,end

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

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