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
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
2 matches
Mail list logo