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/fstatat/fstatat01.c b/testcases/kernel/syscalls/fstatat/fstatat01.c
index 0cf44a7..6d0e712 100644
--- a/testcases/kernel/syscalls/fstatat/fstatat01.c
+++ b/testcases/kernel/syscalls/fstatat/fstatat01.c
@@ -134,10 +134,8 @@
(fds[i], filenames[i], &statbuf, flags[i]));
if (TEST_ERRNO == expected_errno[i]) {
-
- if (STD_FUNCTIONAL_TEST)
- tst_resm(TPASS | TTERRNO,
- "fstatat failed as expected");
+ tst_resm(TPASS | TTERRNO,
+ "fstatat failed as expected");
} else
tst_resm(TFAIL | TTERRNO, "fstatat failed");
}