summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorFrancois Vogel <fvogelnew1@free.fr>2007-08-25 11:52:45 +0000
committerFrancois Vogel <fvogelnew1@free.fr>2007-08-25 11:52:45 +0000
commit68e83961ad7b8872b2dd6f0057959685866fdd5b (patch)
treed82e1edce5905be0269e0c68068e135e09bcba4e /tests
parent510ea07b8165b8dbd5ab0a611bf85c4ed5c84cfd (diff)
downloadscilab-68e83961ad7b8872b2dd6f0057959685866fdd5b.zip
scilab-68e83961ad7b8872b2dd6f0057959685866fdd5b.tar.gz
Added non regression test for bug 2474
Diffstat (limited to 'tests')
-rw-r--r--tests/basic_tests/breakpoints.dia.ref18
-rw-r--r--tests/basic_tests/breakpoints.tst10
2 files changed, 28 insertions, 0 deletions
diff --git a/tests/basic_tests/breakpoints.dia.ref b/tests/basic_tests/breakpoints.dia.ref
index 5af9d63..4577cba 100644
--- a/tests/basic_tests/breakpoints.dia.ref
+++ b/tests/basic_tests/breakpoints.dia.ref
@@ -770,3 +770,21 @@ Stop after row 6 in function foo2.
770 770
771 771
772 772
773
774// non regression test for bug 2474
775
776for i=1;delbpt();end // should not say:
777
778// !--error 115
779
780//Stack problem detected within a loop
781
782// a primitive function has been called with wrong number
783
784// of lhs arguments. No lhs test made for this function;
785
786// please report this bug
787
788// !
789
790
diff --git a/tests/basic_tests/breakpoints.tst b/tests/basic_tests/breakpoints.tst
index 2afdc50..faca8d0 100644
--- a/tests/basic_tests/breakpoints.tst
+++ b/tests/basic_tests/breakpoints.tst
@@ -226,3 +226,13 @@ setbpt("foo1",[1:2]);setbpt("foo2",[1:10]);setbpt("foo3",[1:5]);
226// and not Stop after row 1 in function foo3 : 226// and not Stop after row 1 in function foo3 :
227resume 227resume
228 228
229
230// non regression test for bug 2474
231for i=1;delbpt();end // should not say:
232// !--error 115
233//Stack problem detected within a loop
234// a primitive function has been called with wrong number
235// of lhs arguments. No lhs test made for this function;
236// please report this bug
237// !
238