I intend to do some refactoring of apt-build, but first I'd like to write autopkgtests for the package. I have two versions of a simple test case for install command, and I still can't decide what language use for tests. In attachment you'll find two identical scripts in Bash and Perl. Comments are welcome!
It'd be good to write full tests before new year and buster freeze. To be clear: I'm not going to adopt the package yet, because I'm unsure that I have enough time for this work.
install.pl
Description: Perl program
install.sh
Description: application/shellscript