am f015757f: am 1e07463f: Merge "Add tests for fprintf behavior when the underlying fd is bad."

* commit 'f015757fc6c36c63ff2f3332093e3527c579bfdb':
  Add tests for fprintf behavior when the underlying fd is bad.