contrib: Add inotify-based watch test script
contrib: Add inotify-based watch test script

Add a bash script which makes use of inotifytools to rebuild/retest
changes every time a file is written.

The 'inotify-tools' package must be installed for these to work.

To use, add the following to your .bashrc:

    source $GOPATH/src/github.com/cilium/cilium/contrib/shell/test.sh

Then, in one terminal, go into the cilium working path and run
'watchtest'. In another terminal, make some changes to the Cilium
codebase. When you save the file in this terminal, the other terminal
will immediately start building and run all unit tests.

More advanced usage example:

    watchtest policy

This will watch for changes to any Cilium code, and run the unit tests
for the pkg/policy package.

    watchdo <file> <command...>

This will watch for changes to the specified file or directory
recursively, and run the command specified by the 2nd and (optionally)
later parameters.

Signed-off-by: Joe Stringer <16a9a54ddf4259952e3c118c763138e83693d7fd@covalent.io>

cilium/cilium,scanf/cilium,eloycoto/cilium,tklauser/cilium,tgraf/cilium,eloycoto/cilium,scanf/cilium,tklauser/cilium,tgraf/cilium,tklauser/cilium,michi-covalent/cilium,cilium/cilium,tklauser/cilium,cilium/cilium,cilium/cilium,michi-covalent/cilium,michi-covalent/cilium,eloycoto/cilium,tgraf/cilium,scanf/cilium,michi-covalent/cilium,eloycoto/cilium,eloycoto/cilium,tgraf/cilium,cilium-team/cilium,eloycoto/cilium,scanf/cilium,cilium-team/cilium,michi-covalent/cilium,scanf/cilium,eloycoto/cilium,scanf/cilium,tgraf/cilium,tgraf/cilium,tklauser/cilium,scanf/cilium,cilium/cilium