Fix a test tool for OTS, ot-sanitise. 

Check if stdout is a regular file (and not a special file such as /dev/null and /dev/zero) in main() of test/ot-sanitise.cc. 

Review URL: http://codereview.chromium.org/427014

BUG=27127
TEST=Run "./ot-sanitise 9de66fe4842edf59e46e15c90e686087.ttf > /dev/null" and verity that it does not trigger an assert failure. 



git-svn-id: http://ots.googlecode.com/svn/trunk@19 a4e77c2c-9104-11de-800e-5b313e0d2bf3
2 files changed
tree: 4b5b67e9fb46773bcd50376ad89f536c65be08bd
  1. include/
  2. src/
  3. test/
  4. tools/
  5. INSTALL
  6. LICENSE
  7. ots.gyp
  8. README