Johannes Schauer Marin Rodrigues
d442f436de
shellcheck everything
2 years ago
Johannes Schauer Marin Rodrigues
d15be6abbf
tests/check-against-debootstrap-dist: add more restrictions for remaining hacks
2 years ago
Johannes Schauer Marin Rodrigues
c2cd4a2a77
tests/check-against-debootstrap-dist: sort /etc/group for variant important
2 years ago
Johannes Schauer Marin Rodrigues
43ba07e790
tests/check-against-debootstrap-dist: avoid code duplication by using a loop
2 years ago
Johannes Schauer Marin Rodrigues
eb7cf54155
base-passwd now creates the _apt user
2 years ago
Johannes Schauer Marin Rodrigues
80ade97458
tests: put temporary files in /tmp and not into CWD
2 years ago
Johannes Schauer Marin Rodrigues
10c3d3e5f4
tests: output to stderr to prevent interleaving with set -x output
2 years ago
Johannes Schauer Marin Rodrigues
fc5b60e038
adjust tests as /var/lib/dpkg/arch is now created unconditionally
2 years ago
Johannes Schauer Marin Rodrigues
7123808b6c
do not clean up /run/lock as /var/lock is a symlink to it according to Debian policy §9.1.4
2 years ago
Johannes Schauer Marin Rodrigues
0af22912f7
also delete everything in /run and add --skip=cleanup/run
2 years ago
Johannes Schauer Marin Rodrigues
df2226fb25
tests/check-against-debootstrap-dist: cmp outputs errors to stdout -- redirect to stderr to presereve output order with set +x
2 years ago
Johannes Schauer Marin Rodrigues
3fb97753ea
tests/check-against-debootstrap-dist: systemd started using systemd-sysusers instead of adduser
2 years ago
Johannes Schauer Marin Rodrigues
432170c68e
tests/check-against-debootstrap-dist: account for ordering differences in /var/lib/dpkg/triggers/File
2 years ago
Johannes Schauer Marin Rodrigues
15c7de4a3b
tests/check-against-debootstrap-dist: static group ids for crontab, systemd-journal, systemd-network and systemd-resolve
2 years ago
Johannes Schauer Marin Rodrigues
d91a18a350
Adjust merged-/usr as it's done by debootstrap
...
- implements the same as debootstrap in
https://salsa.debian.org/installer-team/debootstrap/-/merge_requests/71
- builds a temporary usr-is-merged package and upgrades to the real one
- create merged-/usr chroots for unstable and testing (which will
become Debian 12 Bookworm)
- add a dedicated merged-/usr section to the manual page
2 years ago
Johannes Schauer Marin Rodrigues
c4962f9ab0
print value of SOURCE_DATE_EPOCH when creating and comparing debootstrap chroot to find bug only occurring when running autopkgtest around midnight
2 years ago
Johannes Schauer Marin Rodrigues
4c3fddcd54
rewrite coverage.sh
...
- multiple individual shell scripts instead of one 3.5k line monster
- tests driven by Python script allowing:
* declarative test description in coverage.txt
* collecting errors instead of aborting on first error
* skipping tests
* running specific tests
2 years ago