Re: [PATCH v4 2/2] selftests: tmpfs: Add kselftest support to tmpfs

2024-11-06 Thread Shuah Khan
On 11/5/24 13:26, Shivam Chaudhary wrote: Replace direct error handling with 'ksft_test_result_*', 'ksft_print_msg' and KSFT_SKIP macros for better reporting. Test logs: Before change: - Without root error: unshare, errno 1 - With root No, output After change: - Without root TAP vers

[PATCH v4 2/2] selftests: tmpfs: Add kselftest support to tmpfs

2024-11-05 Thread Shivam Chaudhary
Replace direct error handling with 'ksft_test_result_*', 'ksft_print_msg' and KSFT_SKIP macros for better reporting. Test logs: Before change: - Without root error: unshare, errno 1 - With root No, output After change: - Without root TAP version 13 1..1 ok 1 # SKIP This test needs root