test: Add subdirectory with integration test
All checks were successful
CI / Packaging - Kali Linux (pull_request) Successful in 3m38s
CI / Packaging - OpenSUSE Tumbleweed (pull_request) Successful in 3m39s
CI / Packaging test (pull_request) Successful in 0s
CI / Packaging - Kali Linux (push) Successful in 4m21s
CI / Packaging - OpenSUSE Tumbleweed (push) Successful in 4m32s
CI / Packaging test (push) Successful in 0s

Add a test/integration subdirectory as a location for integration tests. The first tests that are added are unproblematic in that they don't need superuser privileges to run:

- help: Recursively check if jw-pkg.py's help messages are unchanged

- packages ls: Check if the bash package exists and contains

/usr/bin/bash /usr/bin/bashbug

Let's see how that fares in CI.

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2026-06-25 14:34:47 +02:00
commit efc5bc1c60
Signed by: Jan Lindemann
GPG key ID: 3750640C9E25DD61
10 changed files with 791 additions and 0 deletions

2
.gitignore vendored
View file

@ -3,6 +3,8 @@ bin/*.sh
bin/*.py
*.done
*.dist
*.out
test-out.txt
make/.cache.mk
make/jw-pkg.pc
minimal-to-master.sh