Skip to contentSkip to conversation

chown/chown04.c: Add ELOOP EROFS

PATCH Applied Zeng Linggang 2 participants 2 messages Oct 25, 2013 – Oct 31, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 chown/chown04.c: Add ELOOP EROFS

Add ELOOP, EROFS error number test in chown04.c for chown(2)

---
 runtest/ltplite                           |  2 +-
 runtest/stress.part3                      |  2 +-
 runtest/syscalls                          |  4 +--
 testcases/kernel/syscalls/chown/chown04.c | 58 +++++++++++++++++++++++++++++--
 4 files changed, 59 insertions(+), 7 deletions(-)
runtest/ltplite +1 -1
index 60140e2..a6f57e2 100644
@@ -110,7 +110,7 @@ chmod07 chmod07
 chown01 chown01
 chown02 chown02
 chown03 export change_owner=$LTPROOT/testcases/bin/change_owner;chown03
-chown04 cp -p $LTPROOT/testcases/bin/change_owner $TMPDIR;chown04
+chown04 cp -p $LTPROOT/testcases/bin/change_owner $TMPDIR;chown04 -D DEVICE -T DEVICE_FS_TYPE
 chown05 chown05
 
 chroot01 chroot01
runtest/stress.part3 +1 -1
index 7e7f1b7..2962cc4 100644
@@ -52,7 +52,7 @@ chmod07 chmod07
 chown01 chown01
 chown02 chown02
 chown03 export change_owner=$LTPROOT/testcases/bin/change_owner;chown03
-chown04 cp -p $LTPROOT/testcases/bin/change_owner $TMPDIR;chown04
+chown04 cp -p $LTPROOT/testcases/bin/change_owner $TMPDIR;chown04 -D DEVICE -T DEVICE_FS_TYPE
 chown05 chown05
 
 chroot01 chroot01
runtest/syscalls +2 -2
index 0486b95..180fb58 100644
@@ -63,8 +63,8 @@ chown02 chown02
 chown02_16 chown02_16
 chown03 chown03
 chown03_16 chown03_16
-chown04 chown04
-chown04_16 chown04_16
+chown04 chown04 -D DEVICE -T DEVICE_FS_TYPE
+chown04_16 chown04_16 -D DEVICE -T DEVICE_FS_TYPE
 chown05 chown05
 chown05_16 chown05_16
 
testcases/kernel/syscalls/chown/chown04.c +55 -3

120 lines not on this page · raw message

Signature · 14 lines
1.8.2.1



------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list
Applied
#1 lore raw
Quoted 3 lines · Zeng Linggang

Add ELOOP, EROFS error number test in chown04.c for chown(2)

Applied, thank you.

Wanlong gao

------------------------------------------------------------------------------
Android is increasing in popularity, but the open development platform that developers love is also attractive to malware creators. Download this white paper to learn more about secure code signing practices that can help keep Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list