-failure} (or @emph{xfail}). In case a test that is expected to fail ends
-up passing instead, many testing environments will flag the result as a
-special kind of failure called @emph{unexpected pass} (or @emph{xpass}).
+failure} (or @emph{xfail}). When writing such a test, it is highly
+desirable to note in the test what has to happen to make the test
+succeed. In case a test that is expected to fail ends up passing
+instead, many testing environments will flag the result as a special
+kind of failure called @emph{unexpected pass} (or @emph{xpass}).
+
+An expected failure result is not related to the contents of the test
+itself. For example, a test might check whether a given system call
+correctly returns failure given an invalid argument. If so, then the
+@emph{test} passes, even though it was testing a failure condition.