From ecc59b9ee29491d3b27738c0a0bb75692e6bb011 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Tue, 15 Feb 2011 02:15:06 +0000 Subject: 2011-02-14 Joel Sherrill * psxaio03/init.c, psxaio03/psxaio03.scn: Run in a reasonable amount of time. Update screen. --- testsuites/psxtests/ChangeLog | 5 +++++ testsuites/psxtests/psxaio03/init.c | 13 ++++++------- testsuites/psxtests/psxaio03/psxaio03.scn | 13 +++++++++++++ 3 files changed, 24 insertions(+), 7 deletions(-) (limited to 'testsuites') diff --git a/testsuites/psxtests/ChangeLog b/testsuites/psxtests/ChangeLog index 9d5fd4a62a..19ee03d038 100644 --- a/testsuites/psxtests/ChangeLog +++ b/testsuites/psxtests/ChangeLog @@ -1,3 +1,8 @@ +2011-02-14 Joel Sherrill + + * psxaio03/init.c, psxaio03/psxaio03.scn: Run in a reasonable amount of + time. Update screen. + 2011-02-14 Joel Sherrill * psximfs02/init.c: Disable EPERM test which does not work when POSIX diff --git a/testsuites/psxtests/psxaio03/init.c b/testsuites/psxtests/psxaio03/init.c index cfd3133379..8d3fe2eb32 100644 --- a/testsuites/psxtests/psxaio03/init.c +++ b/testsuites/psxtests/psxaio03/init.c @@ -112,13 +112,12 @@ POSIX_Init (void *argument) status = aio_read (aiocbp[6]); rtems_test_assert (status != -1); - puts (" Init: going to sleep for 60 sec "); - sleep (60); - puts (" Init: going to sleep again for 60 sec "); - sleep (60); - puts (" Init: going to sleep again for 60 sec "); - sleep (60); - puts ("\n\n*** POSIX AIO TEST 03 ***"); + puts (" Init: going to sleep for 5 sec "); + sleep (5); + puts (" Init: going to sleep again for 5 sec "); + sleep (5); + puts (" Init: going to sleep again for 5 sec "); + sleep (5); puts ("*** END OF POSIX AIO TEST 03 ***"); diff --git a/testsuites/psxtests/psxaio03/psxaio03.scn b/testsuites/psxtests/psxaio03/psxaio03.scn index e69de29bb2..08df8cf5d2 100644 --- a/testsuites/psxtests/psxaio03/psxaio03.scn +++ b/testsuites/psxtests/psxaio03/psxaio03.scn @@ -0,0 +1,13 @@ +*** POSIX AIO TEST 03 *** + Init: Open files + Init: [WQ] aio_write on 1st file + Init: [WQ] aio_write on 2nd file + Init: [WQ] aio_read on 2nd file add by priority + Init: [WQ] aio_write on 3rd file + Init: [WQ] aio_write on 4th file + Init: [WQ] aio_write on 5th file -- [WQ] full + Init: [IQ] aio_write on 6th file + Init: going to sleep for 5 sec + Init: going to sleep again for 5 sec + Init: going to sleep again for 5 sec +*** END OF POSIX AIO TEST 03 *** -- cgit v1.2.3