02769190ad
tests/as-debootstrap-unshare-wrapper: bind-mount /proc to work around #1031222
2023-02-13 16:17:21 +01:00
b3810b0fcd
tests/as-debootstrap-unshare-wrapper: run in variants minbase and important
2023-02-13 14:48:01 +01:00
b18849caac
Assume that we can always run unshare
...
With mount --rbind we can bind-mount /proc in a privileged docker
container as it is used by salsaci.
2023-02-12 14:05:08 +01:00
d9e6d62328
tests: redirect all id output to /dev/null
2023-02-09 10:53:09 +01:00
a2d5573749
tests: drop qemu requirements for tests that only use it to create a user by defaulting to SUDO_USER
2023-02-09 10:53:08 +01:00
98aef0d023
tests: do not run sysctl -w kernel.unprivileged_userns_clone=1 as its the default value since linux 5.10.1 (Dec 2020)
2023-02-01 18:39:27 +01:00
090ce862c7
tests: replace adduser with useradd
2023-02-01 18:03:38 +01:00
4925587b34
tests/as-debootstrap-unshare-wrapper: run diff with -u
2023-01-16 12:06:21 +01:00
644ac62ecd
tests/as-debootstrap-unshare-wrapper: isc-dhcp-client postinst doesn't create /etc/apparmor.d/local/sbin.dhclient
2023-01-16 07:43:09 +01:00
d442f436de
shellcheck everything
2022-11-16 13:59:38 +01:00
07e3673161
tests/as-debootstrap-unshare-wrapper: systemd-sysusers before systemd 252 doesn't respect SOURCE_DATE_EPOCH when adding users to /etc/shadow
2022-10-18 10:20:02 +02:00
fc5b60e038
adjust tests as /var/lib/dpkg/arch is now created unconditionally
2022-10-16 15:20:02 +02:00
7123808b6c
do not clean up /run/lock as /var/lock is a symlink to it according to Debian policy §9.1.4
2022-09-06 21:30:48 +02:00
0ff2bef84c
tests/as-debootstrap-unshare-wrapper: redirect output of cmp and diff to stderr to preserve output order
2022-09-02 23:36:44 +02:00
0af22912f7
also delete everything in /run and add --skip=cleanup/run
2022-09-02 23:29:52 +02:00
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
2022-07-26 22:29:08 +02:00
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
2022-05-28 17:49:05 +02:00