1 // =============================================================================
2 // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
3 // Copyright (C) 2008 - INRIA
5 // This file is distributed under the same license as the Scilab package.
6 // =============================================================================
8 fd = mopen(SCI+'/modules/fileio/tests/nonreg_tests/bug_2059.txt','rt');
9 ierr = execstr("dataReadFromFile = mgetl(fd,100)","errcatch");
10 if ierr <> 0 then bugmes();quit;end
12 if size(dataReadFromFile,'*') <> 4 then bugmes();quit;end