:0 xfail:0 xpass:0 skip:1 error:0
- With root
TAP version 13
1..1
ok 1 Test : Success
Totals: pass:1 fail:0 xfail:0 xpass:0 skip:0 error:0
Signed-off-by: Shivam Chaudhary
---
.../selftests/tmpfs/bug-link-o-tmpfile.c | 29 +--
1 file changed, 14 insertions(+), 15 deletion
er change:
- Without root
TAP version 13
1..1
ok 2 # SKIP This test needs root to run!
Totals: pass:0 fail:0 xfail:0 xpass:0 skip:1 error:0
- With root
TAP version 13
1..1
Signed-off-by: Shivam Chaudhary
---
tools/testing/selftests/tmpfs/bug-link-o-tmpfile.c | 12
1 file changed,
plan()
- Remove function for unshare()
- Fix the comment style
v2: https://lore.kernel.org/all/20241026191621.2860376-1-cvam0...@gmail.com/
v1->v2:
- Make the commit message more clear.
v1: https://lore.kernel.org/all/20241024200228.1075840-1-cvam0...@gmail.com/T/#u
On 03/01/25 3:24 AM, Shuah Khan wrote:
On 1/2/25 03:04, Shivam Chaudhary wrote:
Add 'ksft_exit_skip()', if not run as root, with an appropriate
Warning.
Add 'ksft_print_header()' and 'ksft_set_plan()' to structure test
outputs more effectively.
Test logs:
:0 xfail:0 xpass:0 skip:1 error:0
- With root
TAP version 13
1..1
ok 1 Test : Success
Totals: pass:1 fail:0 xfail:0 xpass:0 skip:0 error:0
Signed-off-by: Shivam Chaudhary
---
.../selftests/tmpfs/bug-link-o-tmpfile.c | 28 +--
1 file changed, 14 insertions(+), 14 deletion
er change:
- Without root
TAP version 13
1..1
ok 2 # SKIP This test needs root to run!
Totals: pass:0 fail:0 xfail:0 xpass:0 skip:1 error:0
- With root
TAP version 13
1..1
Signed-off-by: Shivam Chaudhary
---
tools/testing/selftests/tmpfs/bug-link-o-tmpfile.c | 12
1 file changed,
clear.
v1: https://lore.kernel.org/all/20241024200228.1075840-1-cvam0...@gmail.com/T/#u
thanks
Shivam
Shivam Chaudhary (2):
selftests: tmpfs: Add Test-skip if not run as root
selftests: tmpfs: Add kselftest support to tmpfs
.../selftests/tmpfs/bug-link-o-tmpfile.c | 40 ---
1 file changed, 26 insertions(+), 14 deletions(-)
--
2.34.1
ok 2 # SKIP This test needs root to run!
Totals: pass:0 fail:0 xfail:0 xpass:0 skip:1 error:0
Signed-off-by: Shivam Chaudhary
---
v1->v2 : Replace ksft_exit_fail_msg -> ksft_exit_skip
v1 : https://lore.kernel.org/all/20241115191721.621381-1-cvam0...@gmail.com/
tools/testing/selftest
out! Error : Need to run as root# Planned tests != run tests (1 != 0)
Totals: pass:0 fail:0 xfail:0 xpass:0 skip:0 error:0
Signed-off-by: Shivam Chaudhary
---
tools/testing/selftests/acct/acct_syscall.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/tools/testing/selftests
run as root# Planned tests != run tests (1 != 0)
Totals: pass:0 fail:0 xfail:0 xpass:0 skip:0 error:0
- With root
TAP version 13
1..1
ok 1 Test : Success
Totals: pass:1 fail:0 xfail:0 xpass:0 skip:0 error:0
Signed-off-by: Shivam Chaudhary
---
.../selftests/tmpfs/bug-link-o-tmpfile.c | 49 ++
ter Change:
- Without root
TAP version 13
1..1
Bail out! Error : Need to run as root# Planned tests != run tests (1 != 0)
- With root
TAP version 13
1..1
Signed-off-by: Shivam Chaudhary
---
tools/testing/selftests/tmpfs/bug-link-o-tmpfile.c | 11 +++
1 file changed, 11 insertions(
ve function for unshare()
- Fix the comment style
v2: https://lore.kernel.org/all/20241026191621.2860376-1-cvam0...@gmail.com/
v1->v2:
- Make the commit message more clear.
v1: https://lore.kernel.org/all/20241024200228.1075840-1-cvam0...@gmail.com/T/#u
thanks
Shivam
Shivam Chaudhary (2):
root
TAP version 13
1..1
- With root
TAP version 13
1..1
Signed-off-by: Shivam Chaudhary
---
tools/testing/selftests/tmpfs/bug-link-o-tmpfile.c | 13 +
1 file changed, 13 insertions(+)
diff --git a/tools/testing/selftests/tmpfs/bug-link-o-tmpfile.c
b/tools/testing/selfte
openat(): Opening the second temporary file: Success
ok 1 Test : Success
Totals: pass:1 fail:0 xfail:0 xpass:0 skip:0 error:0
Signed-off-by: Shivam Chaudhary
---
.../selftests/tmpfs/bug-link-o-tmpfile.c | 66 ++-
1 file changed, 49 insertions(+), 17 deletions(-)
function for unshare()
- Fix the comment style
v2: https://lore.kernel.org/all/20241026191621.2860376-1-cvam0...@gmail.com/
v1->v2:
- Make the commit message more clear.
v1: https://lore.kernel.org/all/20241024200228.1075840-1-cvam0...@gmail.com/T/#u
thanks
Shivam
Shivam Chaudhary (2):
self
- Without root
TAP version 13
1..1
- With root
TAP version 13
1..1
Signed-off-by: Shivam Chaudhary
---
Notes:
Changes in v4 1/2:
- Start a patchset
- Split patch into smaller pathes to mak
t temporary file: Success
linkat(): Linking the temporary file: Success
openat(): Opening the second temporary file: Success
ok 1 Test : Success
Totals: pass:1 fail:0 xfail:0 xpass:0 skip:0 error:0
Signed-off-by: Shivam Chaudhary
---
Notes:
Changes in v3:
ff-by: Shivam Chaudhary
---
Notes:
Changes in v2:
- Make the commit message more clear.
link to v1:
https://lore.kernel.org/all/20241024200228.1075840-1-cvam0...@gmail.com/T/#u
.../selftests/tmpfs/bug-link-o-tmpfile.c | 72 +++
1 file ch
ff-by: Shivam Chaudhary
---
Changes in v2:
- Make the commit message more clear.
.../selftests/tmpfs/bug-link-o-tmpfile.c | 72 +++
1 file changed, 58 insertions(+), 14 deletions(-)
diff --git a/tools/testing/selftests/tmpfs/bug-link-o-tmpfile.c
b/tools/testing/selftests/
On 08/10/24 8:22 PM, Shivam Chaudhary wrote:
Corrected minor typo in tools/virtio/vringh_test.c:
- Fixed "retreives" to "retrieves"
Signed-off-by: Shivam Chaudhary
---
tools/virtio/vringh_test.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/
Corrected minor typo in tools/virtio/vringh_test.c:
- Fixed "retreives" to "retrieves"
Signed-off-by: Shivam Chaudhary
---
tools/virtio/vringh_test.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/virtio/vringh_test.c b/tools/virtio/vringh_test.
21 matches
Mail list logo