Mercurial > octave
view test/bug-54490.tst @ 30932:3c3abe6dbe58 stable
Don't leak build directories in installed directories (bug #62295).
* test/mk-bc-overloads-tst.sh: Remove absolute output directory from file paths.
Use correct name when referencing itself.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Wed, 13 Apr 2022 13:54:52 +0200 |
parents | 9080316864bf |
children |
line wrap: on
line source
%!function out = bug54490 () %! global k; %! k = 1; %! out = 3; %!endfunction %!test <*54490> %! global k; %! k = 2; %! a = [5, 6]; %! a(k) = bug54490 (); %! assert (a, [5, 3]); %! k = 2; %! a = [5, 6]; %! [a(k)] = bug54490 (); %! assert (a, [5, 3]); %! clear -global k; # cleanup after test