You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mmdebstrap/tests
Johannes Schauer Marin Rodrigues fd33bd2a40 set DPkg::Chroot-Directory in APT_CONFIG
This is so that users calling apt-get install from a hook only need to
have APT_CONFIG=$MMDEBSTRAP_APT_CONFIG set and do not also have to pass
-oDPkg::Chroot-Directory="$1".

This breaks users running apt-get with
DPkg::Options::=--force-script-chrootless or with Dpkg::Pre-Install-Pkgs
from within a hook with APT_CONFIG=$MMDEBSTRAP_APT_CONFIG.

In those situations, DPkg::Chroot-Directory has to be set to the empty
string explicitly with -o to overwrite the APT_CONFIG setting.

Thanks: Helmut Grohne
6 months ago
..
apt-patterns Do not split --include values again in run_download and run_install 1 year ago
apt-patterns-custom Do not split --include values again in run_download and run_install 1 year ago
aptopt rewrite coverage.sh 2 years ago
arm64-without-qemu-support tests/arm64-without-qemu-support: removing qemu-user disables binfmt support again since src:systemd 251.2-4 2 years ago
as-debootstrap-unshare-wrapper export container=mmdebstrap-unshare environment variable in unshare-mode hooks 7 months ago
ascii-armored-keys tests/ascii-armored-keys: convert key to armored using gpg instead of sed 8 months ago
aspcud-apt-solver shellcheck everything 1 year ago
auto-mode-as-normal-user add tests/auto-mode-as-normal-user 1 year ago
auto-mode-without-unshare-capabilities tests: do not run sysctl -w kernel.unprivileged_userns_clone=1 as its the default value since linux 5.10.1 (Dec 2020) 1 year ago
automatic-mirror-from-suite rewrite coverage.sh 2 years ago
check-against-debootstrap-dist since debootstrap 1.0.133, the buildd variant only installs apt and not priority:required anymore 6 months ago
check-for-bit-by-bit-identical-format-output tests/check-for-bit-by-bit-identical-format-output: use the default user check 1 year ago
chroot-directory-not-accessible-by-apt-user rewrite coverage.sh 2 years ago
chrootless tests: fall back to diffoscope if cmp failed 1 year ago
chrootless-fakeroot tests: fall back to diffoscope if cmp failed 1 year ago
chrootless-foreign tests: fall back to diffoscope if cmp failed 1 year ago
compare-output-with-pre-seeded-var-cache-apt-archives shellcheck everything 1 year ago
copy-mirror rewrite coverage.sh 2 years ago
create-arm64-tarball tests: redirect all id output to /dev/null 1 year ago
create-directory tests: more cleanup traps 1 year ago
create-directory-dry-run adjust tests as /var/lib/dpkg/arch is now created unconditionally 2 years ago
create-gzip-compressed-tarball tests: redirect all id output to /dev/null 1 year ago
create-tarball-dry-run tests: redirect all id output to /dev/null 1 year ago
create-tarball-with-tmp-mounted-nodev tests/create-tarball-with-tmp-mounted-nodev: increase tmpfs size 2 years ago
custom-tmpdir tests: redirect all id output to /dev/null 1 year ago
customize-hook rewrite coverage.sh 2 years ago
cwd-directory-not-accessible-by-unshared-user tests: redirect all id output to /dev/null 1 year ago
deb822-1-2 rewrite coverage.sh 2 years ago
deb822-2-2 rewrite coverage.sh 2 years ago
debootstrap testsuite changes for bookworm release 10 months ago
debootstrap-no-op-options rewrite coverage.sh 2 years ago
debug tests: do not run debug and verbose tests with variant standards for arches affected by #1031276 1 year ago
debug-output-on-fake-tty rewrite coverage.sh 2 years ago
dev-ptmx Assume that we can always run unshare 1 year ago
directory-ending-in-tar rewrite coverage.sh 2 years ago
dist-using-codename Use an caching apt proxy instead of copying /var/cache/apt/archives/*.deb 1 year ago
dpkgopt rewrite coverage.sh 2 years ago
eatmydata-via-hook-dir tests/{eatmydata-via-hook-dir,jessie-or-older}: dash 0.5.12-3 dropped diversions 12 months ago
empty-sources.list allow empty sources.list entries 1 year ago
error-if-stdout-is-tty error out if stdout is a tty 2 years ago
essential-hook tests: tzdata dropped /etc/timezone 1 year ago
existing-directory-with-lost-found rewrite coverage.sh 2 years ago
existing-empty-directory rewrite coverage.sh 2 years ago
fail-installing-to-existing-file tests: more cleanup traps 1 year ago
fail-installing-to-non-empty-lost-found rewrite coverage.sh 2 years ago
fail-installing-to-non-empty-target-directory rewrite coverage.sh 2 years ago
fail-installing-to-root rewrite coverage.sh 2 years ago
fail-with-missing-lz4 rewrite coverage.sh 2 years ago
fail-with-path-with-quotes tests: more cleanup traps 1 year ago
fail-without-etc-subuid try unsharing before automatically choosing unshare mode 1 year ago
fail-without-username-in-etc-subuid try unsharing before automatically choosing unshare mode 1 year ago
failing-customize-hook rewrite coverage.sh 2 years ago
file-mirror tests/file-mirror: wrap lines 1 year ago
file-mirror-automount-hook tests: replace adduser with useradd 1 year ago
help rewrite coverage.sh 2 years ago
hook-directory rewrite coverage.sh 2 years ago
i386-which-can-be-executed-without-qemu tests/i386-which-can-be-executed-without-qemu: fixup spurious merged-/usr problem 1 year ago
include tests: doc-debian 11.0 changed the doc-base paths 12 months ago
include-deb-file tests/include-deb-file: run in all modes 1 year ago
include-libmagic-mgc-arm64 adjust tests as /var/lib/dpkg/arch is now created unconditionally 2 years ago
include-libmagic-mgc-arm64-with-multiple-arch-options adjust tests as /var/lib/dpkg/arch is now created unconditionally 2 years ago
include-with-multiple-apt-sources rewrite coverage.sh 2 years ago
install-busybox-based-sub-essential-system tests: more cleanup traps 1 year ago
install-doc-debian tests: doc-debian 11.0 changed the doc-base paths 12 months ago
install-doc-debian-and-output-tarball tests: redirect all id output to /dev/null 1 year ago
install-doc-debian-and-test-hooks tests: doc-debian 11.0 changed the doc-base paths 12 months ago
install-libmagic-mgc-on-arm64 tests: redirect all id output to /dev/null 1 year ago
invalid-mirror rewrite coverage.sh 2 years ago
jessie-or-older tests/{eatmydata-via-hook-dir,jessie-or-older}: dash 0.5.12-3 dropped diversions 12 months ago
keyring debian-archive-keyring now puts *.asc keys into /etc/apt/trusted.gpg.d 1 year ago
keyring-overwrites rewrite coverage.sh 2 years ago
logfile tests: more cleanup traps 1 year ago
man rewrite coverage.sh 2 years ago
merged-fakechroot-inside-unmerged-chroot tests: fall back to diffoscope if cmp failed 1 year ago
mirror-is-deb rewrite coverage.sh 2 years ago
mirror-is-real-file rewrite coverage.sh 2 years ago
mirror-is-stdin rewrite coverage.sh 2 years ago
missing-dev-sys-proc-inside-the-chroot tests: redirect all id output to /dev/null 1 year ago
missing-device-nodes-outside-the-chroot tests: do not run sysctl -w kernel.unprivileged_userns_clone=1 as its the default value since linux 5.10.1 (Dec 2020) 1 year ago
mmdebstrap tests: split out creation of mmdebstrap chroot into its own test to avoid running the same thing multiple times and speed up tests 1 year ago
mount-is-missing rewrite coverage.sh 2 years ago
multiple-include tests: doc-debian 11.0 changed the doc-base paths 12 months ago
no-sbin-in-path tests: redirect all id output to /dev/null 1 year ago
not-having-to-install-apt-in-include-because-a-hook-did-it-before set DPkg::Chroot-Directory in APT_CONFIG 6 months ago
pass-distribution-but-implicitly-write-to-stdout rewrite coverage.sh 2 years ago
pivot_root Assume that we can always run unshare 1 year ago
preserve-mode-of-etc-resolv-conf-and-etc-hostname adjust tests as /var/lib/dpkg/arch is now created unconditionally 2 years ago
progress-bars-on-fake-tty run script with -e to catch exit code 1 year ago
quiet rewrite coverage.sh 2 years ago
read-from-stdin-write-to-stdout rewrite coverage.sh 2 years ago
remove-start-stop-daemon-and-policy-rc-d-in-hook rewrite coverage.sh 2 years ago
root-mode-inside-chroot tests/root-mode-inside-chroot: run test script with -x 1 year ago
root-mode-inside-unshare-chroot tests: redirect all id output to /dev/null 1 year ago
root-without-cap-sys-admin rewrite coverage.sh 2 years ago
sigint-during-customize-hook shellcheck everything 1 year ago
signed-by-with-host-keys rewrite coverage.sh 2 years ago
signed-by-without-host-keys debian-archive-keyring now puts *.asc keys into /etc/apt/trusted.gpg.d 1 year ago
skip-mount add --skip=chroot/mount and --skip=chroot/mount/dev, --skip=chroot/mount/proc, --skip=chroot/mount/sys 2 years ago
skip-output-dev Properly implement --skip=output/dev and add --skip=output/mknod 7 months ago
skip-output-mknod Properly implement --skip=output/dev and add --skip=output/mknod 7 months ago
skip-start-stop-daemon-policy-rc add --skip=chroot/start-stop-daemon and --skip=chroot/policy-rc.d 2 years ago
skip-tar-in-mknod add --skip=tar-in/mknod,copy-in/mknod,sync-in/mknod 6 months ago
special-hooks-using-helpers hook-helper: repurpose third arg for skip options now that qemu-user info does not need to be propagated anymore (was only needed for proot) 6 months ago
special-hooks-using-helpers-and-env-vars hook-helper: repurpose third arg for skip options now that qemu-user info does not need to be propagated anymore (was only needed for proot) 6 months ago
special-hooks-with-mode-mode tests: redirect all id output to /dev/null 1 year ago
stable-default-mirror rewrite coverage.sh 2 years ago
supply-components-manually rewrite coverage.sh 2 years ago
tarfilter-idshift tests: do not run sysctl -w kernel.unprivileged_userns_clone=1 as its the default value since linux 5.10.1 (Dec 2020) 1 year ago
unpack-doc-debian tests: doc-debian 11.0 changed the doc-base paths 12 months ago
unshare-as-root-user rewrite coverage.sh 2 years ago
unshare-as-root-user-inside-chroot rewrite coverage.sh 2 years ago
unshare-include-deb tests: more cleanup traps 1 year ago
variant-custom-timeout fix mmdebstrap hanging if apt in download step failed (closes: #1017795) 2 years ago
verbose tests: do not run debug and verbose tests with variant standards for arches affected by #1031276 1 year ago
version shellcheck everything 1 year ago
without-etc-resolv-conf-and-etc-hostname rewrite coverage.sh 2 years ago
xz-compressed-tarball rewrite coverage.sh 2 years ago