From: Garrett C. <su...@li...> - 2011-01-07 18:43:57
|
The branch, master, has been updated via e477fed9b545041f9b5e610c4d6737b6403109c8 (commit) from 857712fe2a8a93dd5a30f2981061c6fe797a76f1 (commit) - Log ----------------------------------------------------------------- commit e477fed9b545041f9b5e610c4d6737b6403109c8 Author: Garrett Cooper <yan...@gm...> Date: Sun Dec 19 17:25:40 2010 -0800 More apps that don't use libltp. Signed-off-by: Garrett Cooper <yan...@gm...> ----------------------------------------------------------------------- Summary of changes: testcases/kernel/io/ltp-aiodio/dirty.c | 4 ++-- testcases/kernel/security/cap_bound/dummy.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/testcases/kernel/io/ltp-aiodio/dirty.c b/testcases/kernel/io/ltp-aiodio/dirty.c index 55825cc..b13ede3 100644 --- a/testcases/kernel/io/ltp-aiodio/dirty.c +++ b/testcases/kernel/io/ltp-aiodio/dirty.c @@ -53,5 +53,5 @@ int main() fsync(fd); close(fd); unlink(filename); - tst_exit(); -} \ No newline at end of file + return 0; +} diff --git a/testcases/kernel/security/cap_bound/dummy.c b/testcases/kernel/security/cap_bound/dummy.c index 6544423..3ee7c9b 100644 --- a/testcases/kernel/security/cap_bound/dummy.c +++ b/testcases/kernel/security/cap_bound/dummy.c @@ -13,7 +13,7 @@ int main(void) cur = cap_from_text("all=eip"); cap_set_proc(cur); cap_free(cur); - tst_exit(); + return 0; #else /* libcap */ printf("System doesn't support POSIX capabilities.\n"); return 1; @@ -22,4 +22,4 @@ int main(void) printf("System doesn't support sys/capability.h\n"); return 1; #endif -} \ No newline at end of file +} hooks/post-receive -- ltp |