summaryrefslogtreecommitdiff
path: root/test/create-busybox-container
Commit message (Collapse)AuthorAgeFilesLines
* test: slightly extend the systemd-nspawn testsFrantisek Sumsal2023-05-141-0/+18
|
* test: create merged-usr containersFrantisek Sumsal2023-05-141-18/+22
|
* test: clean up the nspawn tests a bitFrantisek Sumsal2023-05-121-8/+8
|
* tests: add nspawn's rootidmap integration testQuentin Deslandes2022-10-171-0/+2
| | | | | Add integration test to testsuite-13.sh to ensure rootidmap option map user IDs as expected.
* licensing: add forgotten spdx headersZbigniew Jędrzejewski-Szmek2021-10-011-0/+1
| | | | | Those are all "our" files, but we forgot to add the headers, most likely because of non-standard file extensions.
* Revert "test: adapt TEST-13-NSPAWN-SMOKE for SUSE"Franck Bui2021-08-181-11/+0
| | | | | | | | | | This reverts commit 491b736a49fb9d64b0b515aa773297a30c8bab1d. If the _static_ linked version of busybox is installed, openSUSE doesn't need any specific code. A following commit will make sure that the static linked version of busybox is installed in the busybox container.
* test: on openSUSE the static linked version of busybox is named "busybox-static"Franck Bui2021-08-181-1/+4
|
* TEST-13-*: in busybox container sleep(1) takes a delay in seconds onlyFranck Bui2021-08-181-0/+1
|
* machine: enter target PID namespace when adding a live mountLuca Boccassi2021-01-181-0/+3
| | | | | | | | | | machinectl fails since 21935150a0c42b91a322105f6a9129116bfc8e2e as it's now mounting onto a file descriptor in a target namespace, without joining the target's PID namespace. Note that it's not enough to setns CLONE_NEWPID, but a double-fork is required as well, as implemented by namespace_fork(). Add a test case to TEST-13-NSPAWN to cover this use case.
* tests/TEST-50: support the case when /etc/os-release is presentZbigniew Jędrzejewski-Szmek2020-08-271-1/+2
| | | | | | | | | | | | | | | | We have four legal cases: 1. /usr/lib/os-release exists and /etc/os-release is a symlink to it 2. both exist but /etc/os-release is not a symlink to /usr/lib/os-release 3. only /usr/lib/os-release exists 4. only /etc/os-release exists The generic setup code in test-functions and create-busybox-image didn't handle case 3. The test-specific code in TEST-50 didn't handle 2 (because the general setup code would only install /etc/os-release in the image and grep -f /usr/lib/os-release would not work) and 4 (same reason) and would fail in case 3 in generic setup.
* test: adapt TEST-13-NSPAWN-SMOKE for SUSEElisei Roca2020-08-031-0/+10
|
* test: move most of TEST-13-NSPAWN-SMOKE setup to static filesZbigniew Jędrzejewski-Szmek2020-03-281-0/+53