summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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