summaryrefslogtreecommitdiffstats
path: root/testsuites/libtests/block08/bdbuf_test2_1.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_1.c
parenttestsuite: Fix printk formating warning. (diff)
downloadrtems-addf1aa8689d64f7aaf0b97185c29265aa713730.tar.bz2
testsuite: Fix printk format warnings.
Diffstat (limited to 'testsuites/libtests/block08/bdbuf_test2_1.c')
-rw-r--r--testsuites/libtests/block08/bdbuf_test2_1.c13
1 files changed, 6 insertions, 7 deletions
diff --git a/testsuites/libtests/block08/bdbuf_test2_1.c b/testsuites/libtests/block08/bdbuf_test2_1.c
index c24cf07246..4e8b1a6884 100644
--- a/testsuites/libtests/block08/bdbuf_test2_1.c
+++ b/testsuites/libtests/block08/bdbuf_test2_1.c
@@ -62,7 +62,7 @@ bdbuf_test2_1_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_1_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_1_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_1_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,4 +194,3 @@ bdbuf_test2_1_thread2(rtems_task_argument arg)
}
THREAD_END();
}
-