test-runner.sh: more portable empty file check.