Some llvm-test patches

These patches allow all llvm-tests to compile and run under FreeBSD. However, as there is a risk I broke something under other dialects of Unix, I won't commit them until others have verify I haven't.

test.fixes (10.6 KB)

Looks good to me, go for it. Just watch for any mysterious new failures on the testers the day after you commit.

Thanks!

-Chris