Add mincore() test for anonymous mappings
PATCH v2 1/1 Add mincore() test for anonymous mappings
Changes from v1:
1.Changed testcase description.
2.Checked ptr before executing SAFE_MUNMAP() in cleanup(). 3.Added a setup() fuction.
4.Fixed formatting issues.
5.Changed TPASS and TFAIL messages.
6.Changed syntax for conditional statements.
References: #461
--- runtest/syscalls | 1 + testcases/kernel/syscalls/mincore/.gitignore | 1 + testcases/kernel/syscalls/mincore/mincore03.c | 83 +++++++++++++++++++ 3 files changed, 85 insertions(+) create mode 100644 testcases/kernel/syscalls/mincore/mincore03.c
runtest/syscalls +1 -0
@@ -879,6 +879,7 @@ open_tree02 open_tree02 mincore01 mincore01 mincore02 mincore02 +mincore03 mincore03 madvise01 madvise01 madvise02 madvise02
testcases/kernel/syscalls/mincore/.gitignore +1 -0
@@ -1,2 +1,3 @@ /mincore01 /mincore02 +/mincore03
testcases/kernel/syscalls/mincore/mincore03.c new file +83 -0
83 lines not on this page · raw message
Signature · 1 line
2.20.1
PATCH v2 1/1 Add mincore() test for anonymous mappings
----- Original Message -----
Quoted 9 lines
Changes from v1:
1.Changed testcase description.
2.Checked ptr before executingSAFE_MUNMAP()incleanup(). 3.Added asetup()fuction.
4.Fixed formatting issues.
5.Changed TPASS and TFAIL messages.
6.Changed syntax for conditional statements.
Quoted 4 lines
References: #461
Signed-off-by Shwetha Subramanian. <[email protected]>Reviewed-by Vijay Kumar B. <[email protected]>
PATCH v2 1/1 Add mincore() test for anonymous mappings
In reply to Shwetha SubramanianHi!
Pushed with minor chnages, thanks.
Quoted 7 lines
Changes from v1:
1.Changed testcase description.
2.Checked ptr before executingSAFE_MUNMAP()incleanup(). 3.Added asetup()fuction.
4.Fixed formatting issues.
5.Changed TPASS and TFAIL messages.
6.Changed syntax for conditional statements.
This part belongs right after the --- below, so that it's not included in the final commit message.
Quoted 28 lines
References: #461
Signed-off-by Shwetha Subramanian. <[email protected]>Reviewed-by Vijay Kumar B. <[email protected]>--- runtest/syscalls | 1 + testcases/kernel/syscalls/mincore/.gitignore | 1 + testcases/kernel/syscalls/mincore/mincore03.c | 83 +++++++++++++++++++ 3 files changed, 85 insertions(+) create mode 100644 testcases/kernel/syscalls/mincore/mincore03.cruntest/syscalls +1
-0@@ -879,6 +879,7 @@ open_tree02 open_tree02 mincore01 mincore01 mincore02 mincore02 +mincore03 mincore03 madvise01 madvise01 madvise02 madvise02testcases/kernel/syscalls/mincore/.gitignore +0
-0
testcases/kernel/syscalls/mincore/.gitignore line 3
Quoted 4 lines
testcases/kernel/syscalls/mincore/.gitignore +1
-0@@ -1,2 +1,3 @@ /mincore01 /mincore02 +/mincore03
And I've added the missing newline here.
Signature · 2 lines
Cyril Hrubis [email protected]