Home
last modified time | relevance | path

Searched refs:ERRNO_NAME (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/tools/testing/selftests/kmod/
H A Dkmod.sh308 ERRNO_NAME=$2
309 ERRNO=$(errno_name_to_val $ERRNO_NAME)
311 if [[ $ERRNO_NAME = "-ERR_ANY" ]]; then
313 echo "$1: FAIL, test expects $ERRNO_NAME - got $RC_NAME ($RC)" >&2
318 echo "$1: FAIL, test expects $ERRNO_NAME ($ERRNO) - got $RC_NAME ($RC)" >&2
322 echo "$1: OK! - Return value: $RC ($RC_NAME), expected $ERRNO_NAME"
/kernel/linux/linux-6.6/tools/testing/selftests/kmod/
H A Dkmod.sh297 ERRNO_NAME=$2
298 ERRNO=$(errno_name_to_val $ERRNO_NAME)
300 if [[ $ERRNO_NAME = "-ERR_ANY" ]]; then
302 echo "$1: FAIL, test expects $ERRNO_NAME - got $RC_NAME ($RC)" >&2
307 echo "$1: FAIL, test expects $ERRNO_NAME ($ERRNO) - got $RC_NAME ($RC)" >&2
311 echo "$1: OK! - Return value: $RC ($RC_NAME), expected $ERRNO_NAME"

Completed in 2 milliseconds