Just a comment: override_dh_auto_test: + set -e; \ + if [ x$$TERM = x ] || [ x$$TERM = xunknown ]; then \ + export TERM=dumb; \ + fi; \ bin/bats --tap test
This sets TERM conditionally. From the point of view of reproducible builds it would be better and maybe more elegant to set TERM unconditionally, something like this: TERM=dumb && bin/bats --tap test Thanks.