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/syslog/syslog11.c b/testcases/kernel/syscalls/syslog/syslog11.c
index b4d4560..e1c1f42 100644
--- a/testcases/kernel/syscalls/syslog/syslog11.c
+++ b/testcases/kernel/syscalls/syslog/syslog11.c
@@ -129,7 +129,6 @@
}
setup();
- /* check looping state if -i option is given */
for (lc = 0; TEST_LOOPING(lc); lc++) {
/* reset Tst_count in case we are looping */
Tst_count = 0;
@@ -196,7 +195,7 @@
*/
void setup(void)
{
- /* capture signals */
+
tst_sig(NOFORK, DEF_HANDLER, cleanup);
/* Check whether we are root */
@@ -207,7 +206,7 @@
/* Check for nobody_uid user id */
if ((ltpuser = getpwnam("nobody")) == NULL) {
tst_brkm(TBROK, NULL, "nobody user id doesn't exist");
-
+
}
/* Pause if that option was specified
@@ -230,6 +229,4 @@
TEST_CLEANUP;
- /* exit with return code appropriate for results */
- tst_exit();
- }
+ }
\ No newline at end of file