tests: add a test program for lib/command.c

Signed-off-by: Christian Franke <chris@opensourcerouting.org>
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
diff --git a/tests/.gitignore b/tests/.gitignore
index 8d00a3d..0ace365 100644
--- a/tests/.gitignore
+++ b/tests/.gitignore
@@ -33,4 +33,6 @@
 testsig
 teststream
 testnexthopiter
+testcommands
+test-commands-defun.c
 site.exp