Unit test

* Add click as submodule (it will be used to validate tracebox)
* configure script takes a --enable-tests option (disabled by default)

Signed-off-by: Benjamin Hesmans <benjamin.hesmans@uclouvain.be>
Update submodules

Signed-off-by: Gregory Detal <gregory.detal@uclouvain.be>
Move click source tree

Signed-off-by: Gregory Detal <gregory.detal@uclouvain.be>
Add tests

Signed-off-by: Gregory Detal <gregory.detal@uclouvain.be>
Ensure that make distcheck build tests

Signed-off-by: Gregory Detal <gregory.detal@uclouvain.be>
Ensure that tests timeout after 60 seconds

Signed-off-by: Gregory Detal <gregory.detal@uclouvain.be>
Do not use select for pcap read

For unknown reason select does not work correctly while reading
a pcap dump.

Signed-off-by: Gregory Detal <gregory.detal@uclouvain.be>
Update tests

 * Fix: compatibility with older automake versions

Signed-off-by: Benjamin Hesmans <benjamin.hesmans@uclouvain.be>
Fix: warning: passing NULL to non-pointer argument 4 of ‘int lua_pcallk'

Signed-off-by: Benjamin Hesmans <benjamin.hesmans@uclouvain.be>
Fix: automake 1.13

Signed-off-by: Gregory Detal <gregory.detal@uclouvain.be>
Merge pull request #1 from bhesmans/master

Add unit testing