fcntl/fcntl30.c: add F_SETPIPE_SZ, F_GETPIPE_SZ test for fcntl(2)
PATCH 2/3 fcntl/fcntl30.c: add F_SETPIPE_SZ, F_GETPIPE_SZ test for fcntl(2)
create a new case to test F_SETPIPE_SZ, F_GETPIPE_SZ for fcntl(2)
Signed-off-by Xiaoguang Wang <[email protected]>
--- runtest/syscalls | 2 + testcases/kernel/syscalls/fcntl/fcntl30.c | 140 ++++++++++++++++++++++++++++++ 2 files changed, 142 insertions(+) create mode 100644 testcases/kernel/syscalls/fcntl/fcntl30.c
runtest/syscalls +2 -0
@@ -253,6 +253,8 @@ fcntl28 fcntl28 fcntl28_64 fcntl28_64 fcntl29 fcntl29 fcntl29_64 fcntl29_64 +fcntl30 fcntl30 +fcntl30_64 fcntl30_64 fdatasync01 fdatasync01 fdatasync02 fdatasync02
testcases/kernel/syscalls/fcntl/fcntl30.c new file +140 -0
140 lines not on this page · raw message
Signature · 12 lines
1.8.2.1 ------------------------------------------------------------------------------ Sponsored by Intel(R) XDK Develop, test and display web and hybrid apps with a single code base. Download it for free now! http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk _______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
testcases/kernel/syscalls/fcntl/fcntl30.c line 140
Quoted 11 lines · On Wednesday 04 December 2013 22:49:51 Xiaoguang Wang wrote:
testcases/kernel/syscalls/fcntl/fcntl30.c new file +10
-0+#if defined(F_SETPIPE_SZ ) && defined(F_GETPIPE_SZ ) +#else + +int main (int ac,char **av) +{ +tst_brkm (TCONF ,NULL ,"This test can only run on kernels" +"that are 2.6.35 and higher" ); +} + +#endif
same comment as your 1/3 patch
-mike
------------------------------------------------------------------------------
Sponsored by Intel(R) XDK
Develop, test and display web and hybrid apps with a single code base. Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list