diff scripts/path/savepath.m @ 20550:76f67400649e

Use '-local' option to warning to simplify BIST tests. * dos.m, unix.m, savepath.m, kurtosis.m, skewness.m: Use '-local' option to warning instead of unwind/protect block.
author Rik <rik@octave.org>
date Fri, 25 Sep 2015 21:00:29 -0700
parents 9fc020886ae9
children
line wrap: on
line diff
--- a/scripts/path/savepath.m	Fri Sep 25 18:50:41 2015 -0700
+++ b/scripts/path/savepath.m	Fri Sep 25 21:00:29 2015 -0700
@@ -202,7 +202,7 @@
 %!   assert (fid >= 0);
 %!   fclose (fid);
 %!   ## Save path into local .octaverc file
-%!   warning ("off", "Octave:savepath-local");
+%!   warning ("off", "Octave:savepath-local", "local");
 %!   status = savepath ();
 %!   assert (status == 0);
 %!   ## Compare old and new versions