summaryrefslogtreecommitdiffstats
path: root/scilab/modules/compatibility_functions/tests/nonreg_tests/bug_7079.tst
diff options
context:
space:
mode:
Diffstat (limited to 'scilab/modules/compatibility_functions/tests/nonreg_tests/bug_7079.tst')
-rw-r--r--scilab/modules/compatibility_functions/tests/nonreg_tests/bug_7079.tst23
1 files changed, 23 insertions, 0 deletions
diff --git a/scilab/modules/compatibility_functions/tests/nonreg_tests/bug_7079.tst b/scilab/modules/compatibility_functions/tests/nonreg_tests/bug_7079.tst
new file mode 100644
index 0000000..5b1de16
--- /dev/null
+++ b/scilab/modules/compatibility_functions/tests/nonreg_tests/bug_7079.tst
@@ -0,0 +1,23 @@
1// =============================================================================
2// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
3// Copyright (C) 2010 - DIGITEO - Pierre Lando <pierre.lando@scilab.org>
4//
5// This file is distributed under the same license as the Scilab package.
6// =============================================================================
7
8// <-- TEST WITH GRAPHIC -->
9
10// <-- Non-regression test for bug 7079 -->
11//
12// <-- Bugzilla URL -->
13// http://bugzilla.scilab.org/show_bug.cgi?id=7079
14//
15// <-- Short Description -->
16// "mtlb_get" used a "h" global variable instead of the given "H" parameter.
17
18
19h=8;
20f=scf(0);
21f.color_map=jetcolormap(14);
22if size(mtlb_get(0, "colormap"), "*") <> 42 then pause, end;
23