summaryrefslogtreecommitdiffstats
path: root/testsuites/libtests/block08/bdbuf_test1_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_test1_1.c
parenttestsuite: Fix printk formating warning. (diff)
downloadrtems-addf1aa8689d64f7aaf0b97185c29265aa713730.tar.bz2
testsuite: Fix printk format warnings.
Diffstat (limited to 'testsuites/libtests/block08/bdbuf_test1_1.c')
-rw-r--r--testsuites/libtests/block08/bdbuf_test1_1.c13
1 files changed, 6 insertions, 7 deletions
diff --git a/testsuites/libtests/block08/bdbuf_test1_1.c b/testsuites/libtests/block08/bdbuf_test1_1.c
index 5514948d0b..c4f242c95b 100644
--- a/testsuites/libtests/block08/bdbuf_test1_1.c
+++ b/testsuites/libtests/block08/bdbuf_test1_1.c
@@ -1,19 +1,19 @@
/*! @file
- * @brief Check the behaviour of rtems_bdbuf_read() function
+ * @brief Check the behaviour of rtems_bdbuf_read() function
* with different reports from disk device driver.
*
* Test sequence:
- * -# Call rtems_bdbuf_read() function and return 0 from disk device
+ * -# Call rtems_bdbuf_read() function and return 0 from disk device
* driver ioctl() function, and the result of asynchronous read
* complete notification is successful.
* -# Check that rtems_bdbuf_read() returns RTEMS_SUCCESSFUL and
* provides buffer descriptor.
* -# Call rtems_bdbuf_read() function and return -1 from disk device
- * driver ioctl() function (there will be no asynchronous read
+ * driver ioctl() function (there will be no asynchronous read
* complete notification).
* -# Check that rtems_bdbuf_read() returns RTEMS_IO_ERROR.
* -# Call rtems_bdbuf_read() function and return 0 from disk device
- * driver ioctl() function, but the result of asynchronous read
+ * driver ioctl() function, but the result of asynchronous read
* complete notification is faulty (with some erroneous status).
* -# Check that rtems_bdbuf_read() returns that status and does not
* return buffer descriptor.
@@ -47,7 +47,7 @@ bdbuf_test1_1_main()
* Create working thread that will call rtems_bdbuf_read() function.
*/
START_THREAD(1, bdbuf_test1_1_thread1);
-
+
/*
* Step 1:
* Check that rtems_bdbuf_read() returns RTEMS_SUCCESSFUL
@@ -91,7 +91,7 @@ bdbuf_test1_1_main()
CONTINUE_THREAD(1);
- TEST_END();
+ TEST_STOP();
}
@@ -147,4 +147,3 @@ bdbuf_test1_1_thread1(rtems_task_argument arg)
THREAD_END();
}
-