selftests/functional: Add output tests

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
.travis.yml: Install C toolchain in Travis's VM

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>