This test contains x86 asm so that it wouldn't be run on x86_64 machine, but run into a simple main() functions instead. However it forgets to give a return value, so that the program will exit with exit_code=10. added tst_exit() to solve this issue. Signed-off-by: Caspar Zhang --- testcases/kernel/syscalls/getdents/getdents02.c | 4 ++-- 1 files changed, 2 insertions(+), 2 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__ */ -- 1.7.4.1 -- Quality Engineer (Kernel) in Red Hat Software (Beijing) Co., R&D Branch http://www.cn.redhat.com/ TEL: +86-10-62608150