Similar to getdents0[34] and getdents0[234]_64, so I updated the patch to v2. These tests contain x86 asm so that they wouldn't be run on x86_64 machine, but run into a simple main() functions instead. However all of them are missing tst_exit() which could result in a exit_code=10 failure. Signed-off-by: Caspar Zhang --- testcases/kernel/syscalls/getdents/getdents02.c | 4 ++-- testcases/kernel/syscalls/getdents/getdents03.c | 4 ++-- testcases/kernel/syscalls/getdents/getdents04.c | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/testcases/kernel/syscalls/getdents/getdents02.c b/testcases/kernel/syscalls/getdents/getdents02.c index 4daae05..2503712 100644 --- a/testcases/kernel/syscalls/getdents/getdents02.c +++ b/testcases/kernel/syscalls/getdents/getdents02.c @@ -74,7 +74,7 @@ int main() { tst_resm(TINFO, "This test includes x86 asm and will not work on " "this machine"); - + tst_exit(); } #else @@ -208,4 +208,4 @@ void cleanup(void) } -#endif /* __i386__ */ \ No newline at end of file +#endif /* __i386__ */ diff --git a/testcases/kernel/syscalls/getdents/getdents03.c b/testcases/kernel/syscalls/getdents/getdents03.c index 95ec278..1fd9dc0 100644 --- a/testcases/kernel/syscalls/getdents/getdents03.c +++ b/testcases/kernel/syscalls/getdents/getdents03.c @@ -77,7 +77,7 @@ int main() { tst_resm(TINFO, "This test includes x86 asm and will not work on " "this machine"); - + tst_exit(); } #else @@ -217,4 +217,4 @@ void cleanup(void) } -#endif /* __i386__ */ \ No newline at end of file +#endif /* __i386__ */ diff --git a/testcases/kernel/syscalls/getdents/getdents04.c b/testcases/kernel/syscalls/getdents/getdents04.c index 88c8e04..c858cf2 100644 --- a/testcases/kernel/syscalls/getdents/getdents04.c +++ b/testcases/kernel/syscalls/getdents/getdents04.c @@ -78,7 +78,7 @@ int main() { tst_resm(TINFO, "This test includes x86 asm and will not work on " "this machine"); - + tst_exit(); } #else @@ -244,4 +244,4 @@ void cleanup(void) } -#endif /* __i386__ */ \ No newline at end of file +#endif /* __i386__ */ -- 1.7.4.1