1 // =============================================================================
2 // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
3 // Copyright (C) 2008 - DIGITEO - Allan CORNET
5 // This file is distributed under the same license as the Scilab package.
6 // =============================================================================
7 // <-- ENGLISH IMPOSED -->
8 // <-- CLI SHELL MODE -->
9 // <-- Non-regression test for bug 3191 -->
11 // <-- Bugzilla URL -->
12 // http://bugzilla.scilab.org/show_bug.cgi?id=3191
15 test_path = get_absolute_file_path('bug_3191.tst');
19 mkdir(OS_TMP_DIR,'bug_3191');
20 TEST_DIR = OS_TMP_DIR + filesep() + 'bug_3191';
21 copyfile(SCI+'/modules/dynamic_link/tests/nonreg_tests/bug_3191.c' , TEST_DIR + filesep() + 'bug_3191.c');
24 ilib_build('libc_fun',['c_fun','c_intfun'],files,[]);
25 // load the shared library
28 //using the new primitive
29 if c_fun(3,8) <> 3+8 then bugmes();quit;end
30 // ulink() all libraries
34 // =============================================================================