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/rename/rename09.c b/testcases/kernel/syscalls/rename/rename09.c
index 89de1a7..cedbee0 100644
--- a/testcases/kernel/syscalls/rename/rename09.c
+++ b/testcases/kernel/syscalls/rename/rename09.c
@@ -128,7 +128,6 @@
*/
for (lc = 0; TEST_LOOPING(lc); lc++) {
- /* reset Tst_count in case we are looping. */
Tst_count = 0;
if ((pid = FORK_OR_VFORK()) == -1) {
@@ -233,15 +232,13 @@
exit(0);
}
}
- } /* End for TEST_LOOPING */
+ }
/*
* cleanup and exit
*/
cleanup();
- tst_exit();
-
}
/*
@@ -254,10 +251,8 @@
tst_brkm(TBROK, NULL, "Must run test as root");
}
- /* capture signals */
tst_sig(FORK, DEF_HANDLER, cleanup);
- /* Pause if that option was specified */
TEST_PAUSE;
/* Create a temporary directory and make it current. */
@@ -294,5 +289,5 @@
/*
* Exit with return code appropriate for results.
*/
- tst_exit();
-}
+
+}
\ No newline at end of file