test: add initial structure for the common integration tests.

- Add bats common helpers.
- Add a first set of tests for some simple program.
This commit is contained in:
Alexandre Pujol 2024-10-21 19:07:47 +01:00
parent d6d4648106
commit 061f5aa95e
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
9 changed files with 381 additions and 0 deletions

View file

@ -108,6 +108,10 @@ lint:
check:
@bash tests/check.sh
.PHONY: bats
bats:
@bats --print-output-on-failure tests/bats/
manual:
@pandoc -t man -s -o root/usr/share/man/man8/aa-log.8 root/usr/share/man/man8/aa-log.md