Fix some non-standard parts of our test suite. Reported by STL

llvm-svn: 267131
22 files changed