1//<-- CLI SHELL MODE --> 2// ============================================================================= 3// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab 4// Copyright (C) ????-2008 - INRIA 5// 6// This file is distributed under the same license as the Scilab package. 7// ============================================================================= 8// <-- Non-regression test for bug 629 --> 9// 10// <-- Bugzilla URL --> 11// http://bugzilla.scilab.org/show_bug.cgi?id=629 12// 13// <-- Short Description --> 14// When trying to use the wavread function I get these errors 15// that make this function totally unuseful, either calling it 16// with ONE parameter (a) or calling it with two parameters. 17// I made myself sure that the parameters would be of the form 18// indicated by help on line. 19// exec("e:\testNonReg\629.sce"); 20// iReturnCode=execstr("[x,fs,bits] = wavread("e:\testNonReg\t1.wav")','errcatch'); 21if execstr("wavread(SCI+''/modules/sound/tests/nonreg_tests/bug_629.wav'')","errcatch") <> 0 then bugmes();quit;end 22