Make unit test compatible with Octave.

time-shift
Stéphane Adjemian (Charybdis) 2015-10-07 17:47:14 +02:00
parent 7b2ccc5a52
commit c064e9ed5e
1 changed files with 10 additions and 10 deletions

View File

@ -65,24 +65,24 @@ end
%$ cd tata %$ cd tata
%$ mkdir tutu %$ mkdir tutu
%$ cd tutu %$ cd tutu
%$ !touch a.m %$ system('touch a.m')
%$ cd .. %$ cd ..
%$ !touch b.m %$ system('touch b.m')
%$ !touch c.m %$ system('touch c.m')
%$ cd ../titi %$ cd ../titi
%$ !touch d.m %$ system('touch d.m')
%$ cd .. %$ cd ..
%$ pause(1) %$ pause(1)
%$ !touch e.m %$ system('touch e.m')
%$ t(1) = isequal(isolder('e.m'), false); %$ t(1) = isequal(isolder('e.m'), false);
%$ pause(1) %$ pause(1)
%$ !touch tata/tutu/a.m %$ system('touch tata/tutu/a.m')
%$ !touch tata/b.m %$ system('touch tata/b.m')
%$ !touch tata/c.m %$ system('touch tata/c.m')
%$ !touch titi/d.m %$ system('touch titi/d.m')
%$ t(2) = isequal(isolder('e.m'), true); %$ t(2) = isequal(isolder('e.m'), true);
%$ pause(1) %$ pause(1)
%$ !touch e.m %$ system('touch e.m')
%$ t(3) = isequal(isolder('e.m'), false); %$ t(3) = isequal(isolder('e.m'), false);
%$ cd .. %$ cd ..
%$ rmdir('toto','s'); %$ rmdir('toto','s');