Skip to contentSkip to conversation

getdents/getdents02.c: add ENOENT test for getdents(2)

PATCH Applied Xiaoguang Wang 2 participants 2 messages Feb 12, 2014 – Feb 18, 2014

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 getdents/getdents02.c: add ENOENT test for getdents(2)

Merge getdents02.c, getdents03.c, getdents04.c into one getdents02 test, which contains EBADF, EINVAL and ENOTDIR error value tests.

And add new ENOENT error value test.

---
 runtest/ltplite                                 |   2 -
 runtest/stress.part3                            |   2 -
 runtest/syscalls                                |   4 -
 testcases/kernel/syscalls/getdents/getdents02.c | 160 ++++++++++++++++++------
 testcases/kernel/syscalls/getdents/getdents03.c | 126 -------------------
 testcases/kernel/syscalls/getdents/getdents04.c | 127 -------------------
 6 files changed, 125 insertions(+), 296 deletions(-)
 delete mode 100644 testcases/kernel/syscalls/getdents/getdents03.c
 delete mode 100644 testcases/kernel/syscalls/getdents/getdents04.c
runtest/ltplite +0 -2
index 2f8f977..2e44f09 100644
@@ -276,8 +276,6 @@ getcwd03 getcwd03
 
 getdents01 getdents01
 getdents02 getdents02
-getdents03 getdents03
-getdents04 getdents04
 
 getdomainname01 getdomainname01
 
runtest/stress.part3 +0 -2
index 5703d13..187adf9 100644
@@ -215,8 +215,6 @@ getcwd03 getcwd03
 
 getdents01 getdents01
 getdents02 getdents02
-getdents03 getdents03
-getdents04 getdents04
 
 getdomainname01 getdomainname01
 
runtest/syscalls +0 -4
index 083c240..f794143 100644
@@ -326,13 +326,9 @@ getcwd03 getcwd03
 
 getdents01 getdents01
 getdents02 getdents02
-getdents03 getdents03
-getdents04 getdents04
 
 getdents01_64 getdents01 -l
 getdents02_64 getdents02 -l
-getdents03_64 getdents03 -l
-getdents04_64 getdents04 -l
 
 getdomainname01 getdomainname01
 
testcases/kernel/syscalls/getdents/getdents02.c +125 -35

199 lines not on this page · raw message

testcases/kernel/syscalls/getdents/getdents03.c deleted +0 -126

126 lines not on this page · raw message

testcases/kernel/syscalls/getdents/getdents04.c deleted +0 -127

127 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
Applied
#1 lore raw
Quoted 6 lines · Xiaoguang Wang

Merge getdents02.c, getdents03.c, getdents04.c into one getdents02 test, which contains EBADF, EINVAL and ENOTDIR error value tests.

And add new ENOENT error value test.

Quoted 10 lines
---
 runtest/ltplite                                 |   2 -
 runtest/stress.part3                            |   2 -
 runtest/syscalls                                |   4 -
 testcases/kernel/syscalls/getdents/getdents02.c | 160 ++++++++++++++++++------
 testcases/kernel/syscalls/getdents/getdents03.c | 126 -------------------
 testcases/kernel/syscalls/getdents/getdents04.c | 127 -------------------
 6 files changed, 125 insertions(+), 296 deletions(-)
 delete mode 100644 testcases/kernel/syscalls/getdents/getdents03.c
 delete mode 100644 testcases/kernel/syscalls/getdents/getdents04.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