Style and conformance changes.
1. Strip all leading space.
2. Move tst_exit() to main().
3. Remove tst_exit() from cleanup().
4. Remove cluebat comments.
5. Reduce some unnecessary whitespace.
Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
diff --git a/testcases/kernel/syscalls/ipc/msgctl/msgctl01.c b/testcases/kernel/syscalls/ipc/msgctl/msgctl01.c
index 5cf2d66..bcbb52c 100644
--- a/testcases/kernel/syscalls/ipc/msgctl/msgctl01.c
+++ b/testcases/kernel/syscalls/ipc/msgctl/msgctl01.c
@@ -129,10 +129,9 @@
*/
void setup(void)
{
- /* capture signals */
+
tst_sig(NOFORK, DEF_HANDLER, cleanup);
- /* Pause if that option was specified */
TEST_PAUSE;
/*
@@ -163,7 +162,6 @@
/* if it exists, remove the message queue */
rm_queue(msg_q_1);
- /* Remove the temporary directory */
tst_rmdir();
/*
@@ -172,6 +170,4 @@
*/
TEST_CLEANUP;
- /* exit with return code appropriate for results */
- tst_exit();
-}
+}
\ No newline at end of file