Re: [PATCH] selftests: Add kselftest framework to the testfile

2024-10-24 Thread Shuah Khan
On 10/24/24 10:55, Shivam Chaudhary wrote: This patch updates the existing test that checks for `open(O_TMPFILE)` and `linkat()` behaviors in mount namespaces to use the kselftest framework. This includes the following changes: - Replaced direct error handling with `ksft_test_result_*` macros

[PATCH] selftests: Add kselftest framework to the testfile

2024-10-24 Thread Shivam Chaudhary
This patch updates the existing test that checks for `open(O_TMPFILE)` and `linkat()` behaviors in mount namespaces to use the kselftest framework. This includes the following changes: - Replaced direct error handling with `ksft_test_result_*` macros for better reporting of test outcomes. - A