[LTP] [PATCH] sched_getattr/sched_getattr02: Add some message to describe the case

Cui Bixuan cuibixuan@huawei.com
Fri Nov 6 07:33:02 CET 2015


Add some message to describe the testcase

Signed-off-by: Cui Bixuan <cuibixuan@huawei.com>
---
 .../syscalls/sched_getattr/sched_getattr02.c       |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/testcases/kernel/syscalls/sched_getattr/sched_getattr02.c b/testcases/kernel/syscalls/sched_getattr/sched_getattr02.c
index c5201c5..5db9942 100644
--- a/testcases/kernel/syscalls/sched_getattr/sched_getattr02.c
+++ b/testcases/kernel/syscalls/sched_getattr/sched_getattr02.c
@@ -11,6 +11,14 @@
  * the GNU General Public License for more details.
  */
 
+ /* Description:
+ *   Verify that:
+ *              1) sched_getattr fails with unused pid
+ *              2) sched_getattr fails with invalid address
+ *              3) sched_getattr fails with invalid value
+ *              4) sched_getattr fails with invalid flag
+ */
+
 #define _GNU_SOURCE
 
 #include <unistd.h>
-- 
1.6.0.2



More information about the Ltp mailing list