summaryrefslogtreecommitdiffstats
path: root/testsuites/libtests/block08/bdbuf_test2_2.c
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2016-05-23 15:29:49 +1000
committerChris Johns <chrisj@rtems.org>2016-05-25 15:47:34 +1000
commitaddf1aa8689d64f7aaf0b97185c29265aa713730 (patch)
treefad7b2c6581797197d1d4a4ca5e92fafe7fbd253 /testsuites/libtests/block08/bdbuf_test2_2.c
parenttestsuite: Fix printk formating warning. (diff)
downloadrtems-addf1aa8689d64f7aaf0b97185c29265aa713730.tar.bz2
testsuite: Fix printk format warnings.
Diffstat (limited to '')
-rw-r--r--testsuites/libtests/block08/bdbuf_test2_2.c16
1 files changed, 7 insertions, 9 deletions
diff --git a/testsuites/libtests/block08/bdbuf_test2_2.c b/testsuites/libtests/block08/bdbuf_test2_2.c
index d9f3489ffd..7f65e692f4 100644
--- a/testsuites/libtests/block08/bdbuf_test2_2.c
+++ b/testsuites/libtests/block08/bdbuf_test2_2.c
@@ -9,7 +9,7 @@
* Test sequence:
* -# Call rtems_bdbuf_read() function in thread #1 and block on
* waiting for read complete notification.
- * -# Call rtems_bdbuf_read() function in thread #2 for
+ * -# Call rtems_bdbuf_read() function in thread #2 for
* the same block number. As the result it blocks on this read
* as well (but it will block on transfer semaphore).
* -# Disk device reports success in read complete notification.
@@ -62,7 +62,7 @@ bdbuf_test2_2_main()
/*
* Step 2:
- * Thread #2 calls rtems_bdbuf_read() for the same
+ * Thread #2 calls rtems_bdbuf_read() for the same
* block number, as the result it shall block waiting
* on buffer state change (waiting on TRANSFER state).
*/
@@ -121,7 +121,7 @@ bdbuf_test2_2_main()
WAIT_DRV_MSG_WR(&msg);
SEND_DRV_MSG(0, 0, RTEMS_SUCCESSFUL, 0);
- TEST_END();
+ TEST_STOP();
}
static rtems_task
@@ -136,8 +136,8 @@ bdbuf_test2_2_thread1(rtems_task_argument arg)
* We will block on this read and meanwhile
* thread #2 will try to read the same block.
* After blocking on read in thread #2, device
- * driver will notify successful completion of
- * date transfer, and as the result this call
+ * driver will notify successful completion of
+ * date transfer, and as the result this call
* will return valid buffer.
*/
rc = rtems_bdbuf_read(test_dd, TEST_BLK_NUM, &bd);
@@ -173,8 +173,8 @@ bdbuf_test2_2_thread2(rtems_task_argument arg)
* on data transfer operation, so we will block here as well.
*
* Step 5:
- * On step 4 thread #1 releases buffer and as the result
- * our read operation should finish with success.
+ * On step 4 thread #1 releases buffer and as the result
+ * our read operation should finish with success.
*/
rc = rtems_bdbuf_read(test_dd, TEST_BLK_NUM, &bd);
if (rc != RTEMS_SUCCESSFUL)
@@ -194,5 +194,3 @@ bdbuf_test2_2_thread2(rtems_task_argument arg)
}
THREAD_END();
}
-
-