FileCheck-ize these tests. Harden some of them.

llvm-svn: 155432
28 files changed