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/times/times03.c b/testcases/kernel/syscalls/times/times03.c
index b802f40..13fccf9 100644
--- a/testcases/kernel/syscalls/times/times03.c
+++ b/testcases/kernel/syscalls/times/times03.c
@@ -80,7 +80,7 @@
if ((msg = parse_opts(argc, argv, NULL, NULL)) !=
NULL) {
tst_brkm(TBROK, NULL, "OPTION PARSING ERROR - %s", msg);
- /*NOT REACHED */
+
}
setup();
@@ -97,7 +97,7 @@
if (sigaction(SIGALRM, &sa, NULL) < 0) {
tst_brkm(TBROK, cleanup, "Sigaction failed !\n");
- /* NOT REACHED */
+
}
timeout = 0;
@@ -276,7 +276,7 @@
*/
void setup(void)
{
- /* capture signals */
+
tst_sig(FORK, DEF_HANDLER, cleanup);
/* set the expected errnos... */
@@ -301,6 +301,4 @@
*/
TEST_CLEANUP;
- /* exit with return code appropriate for results */
- tst_exit();
- }
+ }
\ No newline at end of file