Johannes Schauer Marin Rodrigues
d9e6d62328
tests: redirect all id output to /dev/null
2 years ago
Johannes Schauer Marin Rodrigues
a2d5573749
tests: drop qemu requirements for tests that only use it to create a user by defaulting to SUDO_USER
2 years ago
Johannes Schauer Marin Rodrigues
98aef0d023
tests: do not run sysctl -w kernel.unprivileged_userns_clone=1 as its the default value since linux 5.10.1 (Dec 2020)
2 years ago
Johannes Schauer Marin Rodrigues
090ce862c7
tests: replace adduser with useradd
2 years ago
Johannes Schauer Marin Rodrigues
4925587b34
tests/as-debootstrap-unshare-wrapper: run diff with -u
2 years ago
Johannes Schauer Marin Rodrigues
644ac62ecd
tests/as-debootstrap-unshare-wrapper: isc-dhcp-client postinst doesn't create /etc/apparmor.d/local/sbin.dhclient
2 years ago
Johannes Schauer Marin Rodrigues
d442f436de
shellcheck everything
2 years ago
Johannes Schauer Marin Rodrigues
07e3673161
tests/as-debootstrap-unshare-wrapper: systemd-sysusers before systemd 252 doesn't respect SOURCE_DATE_EPOCH when adding users to /etc/shadow
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
0ff2bef84c
tests/as-debootstrap-unshare-wrapper: redirect output of cmp and diff to stderr to preserve output order
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
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
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