summaryrefslogtreecommitdiffstats
path: root/testsuites
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2011-02-15 02:15:06 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2011-02-15 02:15:06 +0000
commitecc59b9ee29491d3b27738c0a0bb75692e6bb011 (patch)
tree89d75e2c49abf427ce1f1b3630581a463e874c3d /testsuites
parent2011-02-14 Joel Sherrill <joel.sherrilL@OARcorp.com> (diff)
downloadrtems-ecc59b9ee29491d3b27738c0a0bb75692e6bb011.tar.bz2
2011-02-14 Joel Sherrill <joel.sherrill@oarcorp.com>
* psxaio03/init.c, psxaio03/psxaio03.scn: Run in a reasonable amount of time. Update screen.
Diffstat (limited to 'testsuites')
-rw-r--r--testsuites/psxtests/ChangeLog5
-rw-r--r--testsuites/psxtests/psxaio03/init.c13
-rw-r--r--testsuites/psxtests/psxaio03/psxaio03.scn13
3 files changed, 24 insertions, 7 deletions
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 <joel.sherrill@oarcorp.com>
+
+ * psxaio03/init.c, psxaio03/psxaio03.scn: Run in a reasonable amount of
+ time. Update screen.
+
2011-02-14 Joel Sherrill <joel.sherrilL@OARcorp.com>
* 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 ***