Skip to contentSkip to conversation

acct/acct01.c: Add ELOOP ENAMETOOLONG EROFS

PATCH Superseded Zeng Linggang 2 participants 3 messages Oct 22, 2013 – Oct 23, 2013

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 acct/acct01.c: Add ELOOP ENAMETOOLONG EROFS

Add ELOOP, ENAMETOOLONG, EROFS error number test in acct01.c for acct(2)

---
 runtest/syscalls                        |  2 +-
 testcases/kernel/syscalls/acct/acct01.c | 77 ++++++++++++++++++++++++++++++++-
 2 files changed, 77 insertions(+), 2 deletions(-)
runtest/syscalls +1 -1
index 09e5f7f..a3a65b6 100644
@@ -10,7 +10,7 @@ access03 access03
 access04 access04
 access05 access05
 
-acct01 acct01
+acct01 acct01 -D DEVICE -T DEVICE_FS_TYPE
 acct02 acct02
 
 add_key01 add_key01
testcases/kernel/syscalls/acct/acct01.c +76 -1

138 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
#1 lore raw

Hi!

Quoted 26 lines

Add ELOOP, ENAMETOOLONG, EROFS error number test in acct01.c for acct(2)

---
 runtest/syscalls                        |  2 +-
 testcases/kernel/syscalls/acct/acct01.c | 77 ++++++++++++++++++++++++++++++++-
 2 files changed, 77 insertions(+), 2 deletions(-)
runtest/syscalls +1 -1
index 09e5f7f..a3a65b6 100644
@@ -10,7 +10,7 @@ access03 access03
 access04 access04
 access05 access05
 
-acct01 acct01
+acct01 acct01 -D DEVICE -T DEVICE_FS_TYPE
 acct02 acct02
 
 add_key01 add_key01
testcases/kernel/syscalls/acct/acct01.c +0 -0
index 062cc2b..1545df1 100644

testcases/kernel/syscalls/acct/acct01.c line 47

Quoted 4 lines
testcases/kernel/syscalls/acct/acct01.c +1 -0
@@ -44,22 +44,41 @@
 #include <stdio.h>		/* needed by testhead.h */
 #include <stdlib.h>
 #include <unistd.h>
+#include <sys/mount.h>

I've tried to apply this one, but it appears to be based on the first version of the cleanup patch (see the /* needed by testhead.h */ comment for example).

Can you please rebase it on the current cleanup (as pushed to git) and resend?

Signature · 13 lines
Cyril Hrubis
[email protected]

------------------------------------------------------------------------------
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
#2 lore raw

Hi!

Quoted 36 lines
Quoted 26 lines

Add ELOOP, ENAMETOOLONG, EROFS error number test in acct01.c for acct(2)

---
 runtest/syscalls                        |  2 +-
 testcases/kernel/syscalls/acct/acct01.c | 77 ++++++++++++++++++++++++++++++++-
 2 files changed, 77 insertions(+), 2 deletions(-)
runtest/syscalls +1 -1
index 09e5f7f..a3a65b6 100644
@@ -10,7 +10,7 @@ access03 access03
 access04 access04
 access05 access05
 
-acct01 acct01
+acct01 acct01 -D DEVICE -T DEVICE_FS_TYPE
 acct02 acct02
 
 add_key01 add_key01
testcases/kernel/syscalls/acct/acct01.c +0 -0
index 062cc2b..1545df1 100644

testcases/kernel/syscalls/acct/acct01.c line 47

Quoted 4 lines
testcases/kernel/syscalls/acct/acct01.c +1 -0
@@ -44,22 +44,41 @@
 #include <stdio.h>		/* needed by testhead.h */
 #include <stdlib.h>
 #include <unistd.h>
+#include <sys/mount.h>

I've tried to apply this one, but it appears to be based on the first version of the cleanup patch (see the /* needed by testhead.h */ comment for example).

Quoted 2 lines

Can you please rebase it on the current cleanup (as pushed to git) and resend?

Also note that I've just added one more testcase into acct01 and removed the messy acct02 that is now covered by the acct01 test.

Signature · 13 lines
Cyril Hrubis
[email protected]

------------------------------------------------------------------------------
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