Mercurial > octave
diff test/io.tst @ 26698:63b5a17ba30f
Use save_default_options() to make BIST test suite robust against user configurations.
* call-stack.cc, addpref.m, getpref.m, ispref.m, rmpref.m, bug-45969.tst,
io.tst, pkg.tst: Use save_default_options() to make BIST test suite robust
against user configurations.
author | Rik <rik@octave.org> |
---|---|
date | Fri, 08 Feb 2019 16:00:59 -0800 |
parents | 00f796120a6d |
children | c13143821eef |
line wrap: on
line diff
--- a/test/io.tst Fri Feb 08 08:47:36 2019 -0800 +++ b/test/io.tst Fri Feb 08 16:00:59 2019 -0800 @@ -233,6 +233,7 @@ %! STR.struct_fld.y = 1; %! %! struct_dat = fullfile (P_tmpdir, "struct.dat"); +%! save_default_options ("-text", "local"); %! save (struct_dat, "-struct", "STR"); %! STR = load (struct_dat); %!