[bug_4278] test updated. 40/18740/3
Cedric Delamarre [Fri, 2 Dec 2016 16:46:10 +0000 (17:46 +0100)]
Change-Id: Iaced50da15d897436cdc3e3a4105de8e9beffb10

scilab/modules/core/tests/nonreg_tests/bug_4278.dia.ref
scilab/modules/core/tests/nonreg_tests/bug_4278.tst

index 7ed36fa..6ec97cc 100644 (file)
 //
 // <-- Short Description -->
 // typename() called with a wrong number of input arguments  returns incoherent errors.
-ierr = execstr('typename(''hgh'')','errcatch');
-if ierr <> 999 then bugmes();quit;end
-ierr = execstr('typename([17])','errcatch');
-if ierr <> 999 then bugmes();quit;end
-typename('my type',100)
-ierr = execstr('typename(''my type'',110)','errcatch');
-if ierr <> 999 then bugmes();quit;end
+ierr = execstr("typename(''hgh'')","errcatch");
+if ierr <> 77 then bugmes();quit;end
+ierr = execstr("typename([17])","errcatch");
+if ierr <> 77 then bugmes();quit;end
+ierr = execstr("typename(''my type'',110)","errcatch");
+if ierr <> 77 then bugmes();quit;end
index c8ab9f5..a04326d 100644 (file)
 // typename() called with a wrong number of input arguments  returns incoherent errors.
 
 
-ierr = execstr('typename(''hgh'')','errcatch');
-if ierr <> 999 then pause,end
+ierr = execstr("typename(''hgh'')","errcatch");
+if ierr <> 77 then pause,end
 
-ierr = execstr('typename([17])','errcatch');
-if ierr <> 999 then pause,end
+ierr = execstr("typename([17])","errcatch");
+if ierr <> 77 then pause,end
 
-typename('my type',100)
-ierr = execstr('typename(''my type'',110)','errcatch');
-if ierr <> 999 then pause,end
+ierr = execstr("typename(''my type'',110)","errcatch");
+if ierr <> 77 then pause,end