From e9e8177902e708e4d697b8dc028a58d231bf831f Mon Sep 17 00:00:00 2001 From: Cedric Delamarre Date: Mon, 26 Aug 2013 17:29:26 +0200 Subject: [PATCH] nonreg test 2059 corrected. Change-Id: Ide74c38a6d7dd6543f4d403120b84721580ff506 --- .../fileio/tests/nonreg_tests/bug_2059.dia.ref | 4 ++-- .../modules/fileio/tests/nonreg_tests/bug_2059.tst | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/scilab/modules/fileio/tests/nonreg_tests/bug_2059.dia.ref b/scilab/modules/fileio/tests/nonreg_tests/bug_2059.dia.ref index 462c8c3..fa5215f 100644 --- a/scilab/modules/fileio/tests/nonreg_tests/bug_2059.dia.ref +++ b/scilab/modules/fileio/tests/nonreg_tests/bug_2059.dia.ref @@ -1,6 +1,6 @@ // ============================================================================= // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab -// Copyright (C) 2008 - INRIA +// Copyright (C) 2008 - INRIA // // This file is distributed under the same license as the Scilab package. // ============================================================================= @@ -8,5 +8,5 @@ fd = mopen(SCI+'/modules/fileio/tests/nonreg_tests/bug_2059.txt','rt'); ierr = execstr("dataReadFromFile = mgetl(fd,100)","errcatch"); if ierr <> 0 then bugmes();quit;end -close(fd); +mclose(fd); if size(dataReadFromFile,'*') <> 4 then bugmes();quit;end diff --git a/scilab/modules/fileio/tests/nonreg_tests/bug_2059.tst b/scilab/modules/fileio/tests/nonreg_tests/bug_2059.tst index 9810172..232fb64 100644 --- a/scilab/modules/fileio/tests/nonreg_tests/bug_2059.tst +++ b/scilab/modules/fileio/tests/nonreg_tests/bug_2059.tst @@ -1,17 +1,17 @@ // ============================================================================= // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab -// Copyright (C) 2008 - INRIA +// Copyright (C) 2008 - INRIA // // This file is distributed under the same license as the Scilab package. // ============================================================================= // test bug 2059 -fd = mopen(SCI+'/modules/fileio/tests/nonreg_tests/bug_2059.txt','rt'); +fd = mopen(SCI+"/modules/fileio/tests/nonreg_tests/bug_2059.txt","rt"); ierr = execstr("dataReadFromFile = mgetl(fd,100)","errcatch"); if ierr <> 0 then pause,end -close(fd); +mclose(fd); -if size(dataReadFromFile,'*') <> 4 then pause,end +if size(dataReadFromFile,"*") <> 4 then pause,end -- 1.7.9.5