Re: [PATCH v14 06/11] app/test: differentiate a strerror on different OS

2021-12-08 Thread Dmitry Kozlyuk
2021-12-08 10:59 (UTC-0800), Jie Zhou: > On Windows, strerror returns just "Unknown error" for errnum greater > than MAX_ERRNO, while linux and freebsd returns "Unknown error ", > which is the current expectation for errno_autotest. Differentiate > the error string on Windows to remove a "duplicate

[PATCH v14 06/11] app/test: differentiate a strerror on different OS

2021-12-08 Thread Jie Zhou
On Windows, strerror returns just "Unknown error" for errnum greater than MAX_ERRNO, while linux and freebsd returns "Unknown error ", which is the current expectation for errno_autotest. Differentiate the error string on Windows to remove a "duplicate error code" failure. Signed-off-by: Jie Zhou