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/sendfile/sendfile02.c b/testcases/kernel/syscalls/sendfile/sendfile02.c
index 8d89a11..a7c536b 100644
--- a/testcases/kernel/syscalls/sendfile/sendfile02.c
+++ b/testcases/kernel/syscalls/sendfile/sendfile02.c
@@ -192,10 +192,8 @@
int fd;
char buf[100];
- /* capture signals */
tst_sig(FORK, DEF_HANDLER, cleanup);
- /* Pause if that option was specified */
TEST_PAUSE;
/* make a temporary directory and cd to it */
@@ -229,8 +227,6 @@
/* delete the test directory created in setup() */
tst_rmdir();
- /* exit with return code appropriate for results */
- tst_exit();
}
int create_server(void)
@@ -318,4 +314,4 @@
cleanup();
tst_exit();
-}
+}
\ No newline at end of file