spiegel_podman/test/e2e
Matthew Heon a9d548bf77 Change source path resolution for volume copy-up
Instead of using the container's mountpoint as the base of the
chroot and indexing from there by the volume directory, instead
use the full path of what we want to copy as the base of the
chroot and copy everything in it. This resolves the bug, ends up
being a bit simpler code-wise (no string concatenation, as we
already have the full path calculated for other checks), and
seems more understandable than trying to resolve things on the
destination side of the copy-up.

Fixes #9354

Signed-off-by: Matthew Heon <matthew.heon@pm.me>
2021-02-17 14:57:06 -05:00
..
build test: Add checkpoint/restore with volumes 2021-01-07 07:51:22 +00:00
config Support annotations from containers.conf 2021-02-09 13:18:18 -05:00
hooks Add hooks support to podman 2018-04-05 14:13:49 +00:00
sign save image remove signatures 2020-10-21 10:00:08 -04:00
testdata support multi-image (docker) archives 2020-09-08 08:47:19 +02:00
attach_test.go podman create doesn't support creating detached containers 2020-10-21 21:00:50 -04:00
build_test.go Bump containers/buildah to v1.19.4 2021-02-08 16:02:20 -05:00
checkpoint_test.go Initial implementation of volume plugins 2021-01-14 15:35:33 -05:00
commit_test.go Implement Secrets 2021-02-09 09:13:21 -05:00
common_test.go Fix panic in pod creation 2021-02-16 06:29:49 -06:00
config.go Add tests for volume plugins 2021-01-14 16:43:23 -05:00
config_amd64.go use lookaside storage for remote tests 2020-11-16 08:15:44 -06:00
config_ppc64le.go use imagecaches for local tests 2019-05-29 15:12:05 -05:00
container_inspect_test.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
containers_conf_test.go Support annotations from containers.conf 2021-02-09 13:18:18 -05:00
cp_test.go Spelling 2020-12-22 13:34:31 -05:00
create_staticip_test.go Allow static ip and mac with rootless cni network 2021-01-27 17:35:54 +01:00
create_staticmac_test.go Allow static ip and mac with rootless cni network 2021-01-27 17:35:54 +01:00
create_test.go Allow static ip and mac with rootless cni network 2021-01-27 17:35:54 +01:00
diff_test.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
events_test.go podman events allow future time for --until 2020-12-11 23:15:09 +01:00
exec_test.go Handle podman exec capabilities correctly 2021-01-07 05:53:50 -05:00
exists_test.go Report StatusConflict on Pod opt partial failures 2021-02-02 12:44:08 -07:00
export_test.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
generate_kube_test.go generate kube: support --privileged 2021-02-09 17:40:35 +01:00
generate_systemd_test.go Make generate systemd --new robust against double curly braces 2021-01-20 15:07:37 +01:00
healthcheck_run_test.go move from docker.io 2020-10-28 13:16:37 -06:00
history_test.go Fix podman history --no-trunc for the CREATED BY field 2021-01-27 10:44:54 +01:00
image_sign_test.go Sign multi-arch images 2020-12-11 14:15:56 -05:00
images_test.go fix failing image e2e test 2021-02-15 13:02:14 +01:00
import_test.go Fix typo in tests 2020-12-01 15:08:26 -05:00
info_test.go build(deps): bump github.com/containers/common from 0.26.0 to 0.26.3 2020-10-27 07:25:23 -04:00
init_test.go podman create doesn't support creating detached containers 2020-10-21 21:00:50 -04:00
inspect_test.go Display correct value for unlimited ulimit 2021-02-10 14:17:58 -06:00
kill_test.go podman kill should report rawInput not container id 2021-02-16 09:47:38 -05:00
libpod_suite_remote_test.go Remove varlink support from Podman 2020-11-26 16:50:42 -05:00
libpod_suite_test.go Remove varlink support from Podman 2020-11-26 16:50:42 -05:00
load_test.go use lookaside storage for remote tests 2020-11-16 08:15:44 -06:00
login_logout_test.go Spelling 2020-12-22 13:34:31 -05:00
logs_test.go Add LogSize to container inspect 2020-12-15 17:22:06 -05:00
manifest_test.go podman manifest exists 2021-01-22 20:19:13 +01:00
mount_rootless_test.go Spelling 2020-12-22 13:34:31 -05:00
mount_test.go Remove build \!remote flags from test phase 2 2020-11-18 13:02:44 -05:00
namespace_test.go Attempt to turn on some more remote tests 2020-10-07 10:19:08 -04:00
negative_test.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
network_connect_disconnect_test.go Fix podman network disconnect wrong NetworkStatus number 2021-02-04 19:41:30 +01:00
network_create_test.go disable dnsname when --internal 2021-01-25 08:51:15 -06:00
network_test.go fix dns resolution on ubuntu 2021-02-15 16:12:11 -06:00
pause_test.go Make all Skips specify a reason 2020-09-29 16:01:26 -04:00
play_kube_test.go play kube selinux test case 2021-02-04 19:57:08 +00:00
pod_create_test.go Fix panic in pod creation 2021-02-16 06:29:49 -06:00
pod_infra_container_test.go Disable incompatible rootless + CGroupsV1 tests 2020-12-15 18:49:10 -05:00
pod_inspect_test.go Report StatusConflict on Pod opt partial failures 2021-02-02 12:44:08 -07:00
pod_kill_test.go Report StatusConflict on Pod opt partial failures 2021-02-02 12:44:08 -07:00
pod_pause_test.go Report StatusConflict on Pod opt partial failures 2021-02-02 12:44:08 -07:00
pod_pod_namespaces_test.go Rename e2e test files to include _test.go suffix 2020-11-17 21:18:27 +01:00
pod_prune_test.go Report StatusConflict on Pod opt partial failures 2021-02-02 12:44:08 -07:00
pod_ps_test.go Report StatusConflict on Pod opt partial failures 2021-02-02 12:44:08 -07:00
pod_restart_test.go Report StatusConflict on Pod opt partial failures 2021-02-02 12:44:08 -07:00
pod_rm_test.go Report StatusConflict on Pod opt partial failures 2021-02-02 12:44:08 -07:00
pod_start_test.go Report StatusConflict on Pod opt partial failures 2021-02-02 12:44:08 -07:00
pod_stats_test.go Report StatusConflict on Pod opt partial failures 2021-02-02 12:44:08 -07:00
pod_stop_test.go Report StatusConflict on Pod opt partial failures 2021-02-02 12:44:08 -07:00
pod_top_test.go Report StatusConflict on Pod opt partial failures 2021-02-02 12:44:08 -07:00
port_test.go Fix typo in tests 2020-12-01 15:08:26 -05:00
prune_test.go Turn on some remote test 2021-01-22 10:54:39 -05:00
ps_test.go podman ps --format '{{ .Size }}' requires --size option 2021-02-17 07:55:12 -05:00
pull_test.go Cleanup bindings for image pull 2021-01-27 16:11:35 -05:00
push_test.go Podman-remote push can support --format 2021-01-29 08:48:35 -05:00
rename_test.go Container rename bindings 2021-01-15 12:57:22 +01:00
restart_test.go Report StatusConflict on Pod opt partial failures 2021-02-02 12:44:08 -07:00
rm_test.go podman-remote ps --external --pod --sort do not work. 2021-01-27 06:44:43 -05:00
rmi_test.go make podman rmi more robust 2021-02-08 14:58:17 +01:00
run_apparmor_test.go Properly handle podman run --pull command 2020-09-27 07:25:28 -04:00
run_cgroup_parent_test.go Remove build \!remote flags from test phase 2 2020-11-18 13:02:44 -05:00
run_cleanup_test.go Make all Skips specify a reason 2020-09-29 16:01:26 -04:00
run_cpu_test.go Make all Skips specify a reason 2020-09-29 16:01:26 -04:00
run_device_test.go Make all Skips specify a reason 2020-09-29 16:01:26 -04:00
run_dns_test.go Fix typo in tests 2020-12-01 15:08:26 -05:00
run_entrypoint_test.go Ignore entrypoint=[\"\"] 2021-02-17 07:00:53 -05:00
run_env_test.go Attempt to turn on some more remote tests 2020-10-07 10:19:08 -04:00
run_exit_test.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
run_memory_test.go Do not mount sysfs as rootless in more cases 2020-12-04 13:49:56 -05:00
run_networking_test.go Make slirp MTU configurable (network_cmd_options) 2021-02-02 13:50:26 -05:00
run_ns_test.go specgen: improve heuristic for /sys bind mount 2021-01-15 09:10:55 +01:00
run_passwd_test.go Examine all SkipIfRemote functions 2020-09-22 16:55:37 -04:00
run_privileged_test.go Merge pull request #8863 from mgoltzsche/fix_seccomp_when_privileged 2021-01-04 14:49:41 +01:00
run_restart_test.go Attempt to turn on some more remote tests 2020-10-07 10:19:08 -04:00
run_seccomp_test.go Rename e2e test files to include _test.go suffix 2020-11-17 21:18:27 +01:00
run_security_labels_test.go Rename e2e test files to include _test.go suffix 2020-11-17 21:18:27 +01:00
run_selinux_test.go Disable incompatible rootless + CGroupsV1 tests 2020-12-15 18:49:10 -05:00
run_signal_test.go Remove build \!remote flags from test phase 2 2020-11-18 13:02:44 -05:00
run_staticip_test.go Allow static ip and mac with rootless cni network 2021-01-27 17:35:54 +01:00
run_test.go Do not reset storage when running inside of a container 2021-02-16 14:18:53 -05:00
run_userns_test.go libpod: read mappings when joining a container userns 2020-09-10 19:17:01 +02:00
run_volume_test.go Change source path resolution for volume copy-up 2021-02-17 14:57:06 -05:00
run_working_dir_test.go Don't chown workdir if it already exists 2021-02-16 04:52:02 -05:00
runlabel_test.go Spelling 2020-12-22 13:34:31 -05:00
save_test.go use lookaside storage for remote tests 2020-11-16 08:15:44 -06:00
search_test.go Fixup search 2021-01-25 18:01:22 -05:00
secret_test.go Implement Secrets 2021-02-09 09:13:21 -05:00
start_test.go When stopping a container, print rawInput 2021-02-16 06:26:51 -05:00
stats_test.go Spelling 2020-12-22 13:34:31 -05:00
stop_test.go When stopping a container, print rawInput 2021-02-16 06:26:51 -05:00
system_connection_test.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
system_df_test.go use lookaside storage for remote tests 2020-11-16 08:15:44 -06:00
system_reset_test.go Remove varlink support from Podman 2020-11-26 16:50:42 -05:00
systemd_test.go test: fix variable name 2021-01-04 14:19:59 +01:00
tag_test.go use lookaside storage for remote tests 2020-11-16 08:15:44 -06:00
test.yaml Add support for RunAsUser and RunAsGroup 2019-11-06 10:35:37 -05:00
toolbox_test.go Disable incompatible rootless + CGroupsV1 tests 2020-12-15 18:49:10 -05:00
top_test.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
tree_test.go Spelling 2020-12-22 13:34:31 -05:00
trust_test.go Remove build \!remote flags from test phase 2 2020-11-18 13:02:44 -05:00
unshare_test.go e2e tests: SkipIfRemote(): add a reason 2020-09-23 08:09:31 -06:00
untag_test.go use lookaside storage for remote tests 2020-11-16 08:15:44 -06:00
version_test.go Restore "table" --format from V1 2020-10-02 06:58:02 -07:00
volume_create_test.go Fix missing options in volumes display while setting uid and gid 2020-12-23 09:13:20 +08:00
volume_exists_test.go podman volume exists 2021-01-21 19:18:51 +01:00
volume_inspect_test.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
volume_ls_test.go Add support for volume ls --filter label=key=value 2020-11-14 20:18:52 +01:00
volume_plugin_test.go Add tests for volume plugins 2021-01-14 16:43:23 -05:00
volume_prune_test.go Add volume prune --filter support 2020-12-12 20:07:04 -06:00
volume_rm_test.go Fix handling of remove of bogus volumes, networks and Pods 2020-09-29 15:52:43 -04:00
wait_test.go Increase timeouts in some tests 2021-02-03 22:10:27 +01:00