From bug-request at octave dot org Mon Oct 17 15:09:34 2005 Subject: mk-rm-dir-1 test fails From: "John W. Eaton" To: Paul Kienzle Cc: bug at octave dot org Date: Mon, 17 Oct 2005 16:09:27 -0400 On 17-Oct-2005, Paul Kienzle wrote: | Paul Kienzle | * octave.test/system/mk-rm-dir-1.m: mkdir/rmdir return 1 | on success and 0 on failure. | Index: mk-rm-dir-1.m | =================================================================== | RCS file: /cvs/octave/test/octave.test/system/mk-rm-dir-1.m,v | retrieving revision 1.1 | diff -c -p -r1.1 mk-rm-dir-1.m | *** a/mk-rm-dir-1.m 26 Feb 1997 04:29:24 -0000 1.1 | --- b/mk-rm-dir-1.m 17 Oct 2005 18:08:09 -0000 | *************** e1 = mkdir (nm); | *** 3,6 **** | [s2, e2] = stat (nm); | e3 = rmdir (nm); | [s4, e4] = stat (nm); | ! (! e1 && strcmp (s2.modestr(1), "d") && ! e3 && e4 < 0) | --- 3,6 ---- | [s2, e2] = stat (nm); | e3 = rmdir (nm); | [s4, e4] = stat (nm); | ! (e1 && strcmp (s2.modestr(1), "d") && e3 && e4 < 0) I applied this change. Thanks, jwe ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html -------------------------------------------------------------