Remove STD_FUNCTIONAL_TEST
Only small part of the testcases was using STD_FUNCTIONAL_TEST and these
that were actually using it mostly misused the interface or used it only
to disable the tst_rest(TPASS, "sycall passed") message.
The default value was STD_FUNCTION_TEST enabled, so this only removes
code that is not executed in LTP testrun and there should be no
functional changes.
Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
diff --git a/testcases/kernel/syscalls/fcntl/fcntl05.c b/testcases/kernel/syscalls/fcntl/fcntl05.c
index 8a55096..e67de7b 100644
--- a/testcases/kernel/syscalls/fcntl/fcntl05.c
+++ b/testcases/kernel/syscalls/fcntl/fcntl05.c
@@ -153,15 +153,13 @@
if (TEST_RETURN == -1)
tst_resm(TFAIL | TTERRNO, "fcntl failed");
else {
- if (STD_FUNCTIONAL_TEST)
- tst_resm(TPASS, "fcntl returned %ld",
- TEST_RETURN);
+ tst_resm(TPASS, "fcntl returned %ld",
+ TEST_RETURN);
}
}
cleanup();
-
tst_exit();
}