summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSerge Steer <serge.steer@scilab.org>2007-01-02 16:31:35 +0000
committerSerge Steer <serge.steer@scilab.org>2007-01-02 16:31:35 +0000
commit23451134f40a3a720aec8bb688ec3fa4d0056b97 (patch)
tree686272232282cdf2df4913c8c0ca411e893a98a8
parent905369a73b45bdc2d8675b92d2fb2a0d300c0606 (diff)
downloadscilab-23451134f40a3a720aec8bb688ec3fa4d0056b97.zip
scilab-23451134f40a3a720aec8bb688ec3fa4d0056b97.tar.gz
bug2266 fixed
-rw-r--r--tests/nonRegression/bug2266.sci16
-rw-r--r--tests/nonRegression/list_nonreg.txt1
2 files changed, 17 insertions, 0 deletions
diff --git a/tests/nonRegression/bug2266.sci b/tests/nonRegression/bug2266.sci
new file mode 100644
index 0000000..e606d69
--- /dev/null
+++ b/tests/nonRegression/bug2266.sci
@@ -0,0 +1,16 @@
1// Non-regression test file for bug 2266
2// Serge Steer - Scilab Project
3// Copyright INRIA
4// 2 janv 2007
5
6mode(-1);
7clear;
8
9
10free=getmemory() ;
11for k=1:10000
12 foo=msscanf('1.234 44 55 66 77 88 88 ', '%f %f %f %f %f %f %f ');
13end
14leak=free-getmemory()
15T=leak<=4;
16affich_result(T,2266);
diff --git a/tests/nonRegression/list_nonreg.txt b/tests/nonRegression/list_nonreg.txt
index 39b5ea5..64a760e 100644
--- a/tests/nonRegression/list_nonreg.txt
+++ b/tests/nonRegression/list_nonreg.txt
@@ -155,3 +155,4 @@
1552149 1552149
1562162 1562162
1572181 1572181
1582266