Moved check() function from individual tests to common.sh.
[mmh] / test / bad-input /
drwxr-xr-x   ..
-rwxr-xr-x 1518 test-header