Mercurial > octave
changeset 21569:6a550a383bf1
system.tst: Remove tests of deprecated functions sleep, usleep.
* system.tst: Remove tests of deprecated functions sleep, usleep.
author | Rik <rik@octave.org> |
---|---|
date | Thu, 31 Mar 2016 08:57:06 -0700 |
parents | 3d60ed163b70 |
children | faa23d2161f8 |
files | test/system.tst |
diffstat | 1 files changed, 1 insertions(+), 17 deletions(-) [+] |
line wrap: on
line diff
--- a/test/system.tst Wed Mar 30 22:09:26 2016 -0700 +++ b/test/system.tst Thu Mar 31 08:57:06 2016 -0700 @@ -31,7 +31,7 @@ %!test %! tic (); -%! sleep (2); +%! pause (2); %! assert (toc () > 0); %!test @@ -42,22 +42,6 @@ %!error <Invalid call to pause> pause (1, 2) %!test -%! sleep (0); -%! __printf_assert__ ("ok\n"); -%! assert (__prog_output_assert__ ("ok")); - -%!error <Invalid call to sleep> sleep () -%!error <Invalid call to sleep> sleep (1, 2) - -%!test -%! usleep (0); -%! __printf_assert__ ("ok\n"); -%! assert (__prog_output_assert__ ("ok")); - -%!error <Invalid call to usleep> usleep () -%!error <Invalid call to usleep> usleep (1, 2) - -%!test %! from = tempname (); %! to = tempname (); %! id = fopen (from, "wb");