Home
last modified time | relevance | path

Searched refs:_fail (Results 1 – 2 of 2) sorted by relevance

/linux/tools/testing/selftests/net/lib/py/
A Dksft.py33 def _fail(*args): function
55 _fail("Check failed", a, "!=", b, comment)
61 _fail("Check failed", a, "==", b, comment)
66 _fail("Check failed", a, "does not eval to True", comment)
71 _fail("Check failed", a, "not in", b, comment)
76 _fail("Check failed", a, "<", b, comment)
81 _fail("Check failed", a, ">=", b, comment)
94 _fail(f"Expected exception {str(self.expected_type.__name__)}, none raised")
96_fail(f"Expected exception {str(self.expected_type.__name__)}, raised {str(exc_type.__name__)}")
108 _fail("Waiting for condition timed out", comment)
/linux/include/linux/
A Dcleanup.h311 #define scoped_cond_guard(_name, _fail, args...) \ argument
314 if (!__guard_ptr(_name)(&scope)) _fail; \

Completed in 3 milliseconds