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

2024-12-03 Thread Shuah Khan
On 11/12/24 07:30, Shivam Chaudhary wrote: Replace direct error handling with 'ksft_test_result_*', 'ksft_exit_fail_msg' macros for better reporting. Don't fail the test - skip is the right exit code in this case. Test logs: Before change: - Without root error: unshare, errno 1 - With ro

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

2024-11-12 Thread Shivam Chaudhary
Replace direct error handling with 'ksft_test_result_*', 'ksft_exit_fail_msg' 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 Bail out! Error : Need to run as root# Planned te