clang: Cleanup style/security issues in the test.sh script.
clang: Cleanup style/security issues in the test.sh script.

- Function names:
Lower-case, with underscores to separate words. Parentheses are required after
the function name. The keyword function is disallowed.

- Use "$(...)" for commands.

- Test:
[ ... ] is preferred over [[, test and /usr/bin/[.

[[ ... ]] is not available in POSIX shell or dash. For testing string equality use =, as == is not in POSIX.

BUG=None
TEST=./test.sh ../../../../third_party/llvm-build/Release+Asserts/

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

git-svn-id: http://src.chromium.org/svn/trunk/src@77409 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

Former-commit-id: 5e2d08894a1b76b5aa2004b4f945d7b04f3ea45f
meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser