This test needs a complete rewrite, for now I just removed the annoying \n's
diff --git a/testcases/kernel/syscalls/syscall/syscall01.c b/testcases/kernel/syscalls/syscall/syscall01.c
index e22dbd1..fc17585 100644
--- a/testcases/kernel/syscalls/syscall/syscall01.c
+++ b/testcases/kernel/syscalls/syscall/syscall01.c
@@ -175,8 +175,8 @@
int blexit()
{
(local_flag == PASSED) ?
- tst_resm(TPASS, "Test passed\n")
- : tst_resm(TFAIL, "Test failed\n");
+ tst_resm(TPASS, "Test passed")
+ : tst_resm(TFAIL, "Test failed");
return(0);
}