Adding a check to avoid an potential crash.
Make make test actually fail the build.

Also improve the existing read_file tests.

Conflicts:
	src/testsuite/single/tests/efuns/read_file.c
Fix one clang compile warning.
Include LPC optimize routine in test.

Conflicts:
	src/local_options.test
Fix a valgrind complain in posix_timer.c