]> git.ozlabs.org Git - ccan/blobdiff - ccan/failtest/_info
failtest: failtest_restore.h as an antidote to function overload.
[ccan] / ccan / failtest / _info
index 73aa6a2daef21d92d48afd68833f5e5f40ad191f..4b43246fff06973433a288ed385595f557259ec0 100644 (file)
@@ -8,7 +8,8 @@
  * The failtest module overrides various standard functions, and forks
  * your unit test at those points to test failure paths.  The failing
  * child are expected to fail (eg. when malloc fails), but should not
- * leak memory or crash.
+ * leak memory or crash.  After including failtest_override.h, you can
+ * include failtest_restore.h to return to non-failing versions.
  *
  * The unit test is a normal CCAN tap-style test, except it should
  * start by calling failtest_init() and end by calling