fcntl/fcntl30.c: add F_SETPIPE_SZ, F_GETPIPE_SZ test for fcntl(2)
PATCH v3 1/1 fcntl/fcntl30.c: add F_SETPIPE_SZ, F_GETPIPE_SZ test for fcntl(2)
In reply to a message not in the archivecreate a new case to test F_SETPIPE_SZ, F_GETPIPE_SZ for fcntl(2)
Signed-off-by Xiaoguang Wang <[email protected]>
--- include/lapi/fcntl.h | 8 +++ runtest/ltplite | 1 + runtest/stress.part3 | 1 + runtest/syscalls | 2 + testcases/kernel/syscalls/.gitignore | 2 + testcases/kernel/syscalls/fcntl/fcntl30.c | 116 ++++++++++++++++++++++++++++++ 6 files changed, 130 insertions(+) create mode 100644 testcases/kernel/syscalls/fcntl/fcntl30.c
include/lapi/fcntl.h +8 -0
@@ -27,4 +27,12 @@# define F_DUPFD_CLOEXEC 1030#endif +#ifndef F_SETPIPE_SZ +#define F_SETPIPE_SZ 1031 +#endif + +#ifndef F_GETPIPE_SZ +#define F_GETPIPE_SZ 1032 +#endif +#endif /* __LAPI_FCNTL_H__ */
runtest/ltplite +1 -0
@@ -224,6 +224,7 @@ fcntl26 fcntl26 # fcntl27 fcntl27 # fcntl28 fcntl28 fcntl29 fcntl29 +fcntl30 fcntl30 fdatasync01 fdatasync01 fdatasync02 fdatasync02
runtest/stress.part3 +1 -0
@@ -163,6 +163,7 @@ fcntl26 fcntl26 # fcntl27 fcntl27 # fcntl28 fcntl28 fcntl29 fcntl29 +fcntl30 fcntl30 fdatasync01 fdatasync01 fdatasync02 fdatasync02
runtest/syscalls +2 -0
@@ -254,6 +254,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/.gitignore +2 -0
@@ -216,6 +216,8 @@ /fcntl/fcntl28_64 /fcntl/fcntl29 /fcntl/fcntl29_64 +/fcntl/fcntl30 +/fcntl/fcntl30_64 /fdatasync/fdatasync01 /fdatasync/fdatasync02 /flock/flock01
testcases/kernel/syscalls/fcntl/fcntl30.c new file +116 -0
116 lines not on this page · raw message
Signature · 13 lines
1.8.2.1 ------------------------------------------------------------------------------ Android apps run on BlackBerry 10 Introducing the new BlackBerry 10.2.1 Runtime for Android apps. Now with support for Jelly Bean, Bluetooth, Mapview and more. Get your Android app in front of a whole new audience. Start now. http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk _______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
Wanlong Gao
AppliedQuoted 12 lines · Xiaoguang Wang
create a new case to test
F_SETPIPE_SZ,F_GETPIPE_SZfor fcntl(2)Signed-off-by Xiaoguang Wang <[email protected]>--- include/lapi/fcntl.h | 8 +++ runtest/ltplite | 1 + runtest/stress.part3 | 1 + runtest/syscalls | 2 + testcases/kernel/syscalls/.gitignore | 2 + testcases/kernel/syscalls/fcntl/fcntl30.c | 116 ++++++++++++++++++++++++++++++ 6 files changed, 130 insertions(+) create mode 100644 testcases/kernel/syscalls/fcntl/fcntl30.c
Applied, thank you.
Wanlong Gao
------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list