telefonicaid/fiware-orion — pull request #394 by kzangeli (2014-05-31 14:19:12+00:00)
Title: Hardening/174 new functional test harness

### New functional test framework
The old testHarness.sh has been rewritten from scratch (scrpts/funcTest.sh).
Now all functional tests fail if ANYTHING is output on stderr.
All errors are now captured and hopefully the functional test nightmare is over ...

A note about valgrind tests.
If the functional test fails during a valgrind test, the valgrind test suite continues.
The valgrind test suite only reports error if a memory leak is discovered.
However, these failures in functional tests (I have discovered 3) should be fixed, naturally.
A FIXME is added for this purpose.

Another important thing is that for valgrind tests, we do a 'sleep 10' for the broker to have time to startup
inside valgrind. This could be better, but it has really not much to do with this PR.