spiegel_podman/test/e2e
Nirmal Patel e01d9680ce Separator is no longer prepended when prefix is empty on podman generate systemd
When podman generate systemd is invoked, it previously did not check if
container-prefix or pod-prefix are empty. When these are empty, the file name
starts with the separator, which is hyphen by default. This results in files
like '-containername.service'.

The code now checks if these prefixes are empty. If they are, the filename no
longer adds a separator. Instead, it uses name or ID of the container or pod.

Closes #13272

Signed-off-by: Nirmal Patel <npate012@gmail.com>
2022-03-30 14:05:49 -04:00
..
build Move secret-verify-leak containerfile into its own Directory 2022-03-30 13:53:00 -04:00
cdi Add support for CDI device configuration 2021-04-20 09:18:52 -04:00
config Fix network mode in play kube 2021-11-12 18:32:01 +01: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 migrate Podman to containers/common/libimage 2021-05-05 11:30:12 +02:00
attach_test.go bump go module to version 4 2022-01-18 12:47:07 +01:00
build_test.go Move secret-verify-leak containerfile into its own Directory 2022-03-30 13:53:00 -04:00
checkpoint_test.go Fix checkpoint/restore pod tests 2022-02-16 13:58:40 -05:00
commit_test.go bump go module to version 4 2022-01-18 12:47:07 +01:00
common_test.go enable netavark specific tests 2022-02-16 13:59:04 -05:00
config.go fix CI 2021-11-18 15:19:14 +01:00
config_amd64.go e2e tests: enable golint 2021-11-29 08:30:00 -07:00
config_ppc64le.go use imagecaches for local tests 2019-05-29 15:12:05 -05:00
container_create_volume_test.go bump go module to version 4 2022-01-18 12:47:07 +01:00
container_inspect_test.go bump go module to version 4 2022-01-18 12:47:07 +01:00
containers_conf_test.go libpod: pods do not use cgroups if --cgroups=disabled 2022-03-30 13:34:17 -04:00
cp_test.go bump go module to version 4 2022-01-18 12:47:07 +01:00
create_staticip_test.go netavark e2e tests 2022-02-11 11:23:24 -05:00
create_staticmac_test.go netavark e2e tests 2022-02-11 11:23:24 -05:00
create_test.go netavark e2e tests 2022-02-11 11:23:24 -05:00
diff_test.go bump go module to version 4 2022-01-18 12:47:07 +01:00
events_test.go bump go module to version 4 2022-01-18 12:47:07 +01:00
exec_test.go bump go module to version 4 2022-01-18 12:47:07 +01:00
exists_test.go bump go module to version 4 2022-01-18 12:47:07 +01:00
export_test.go bump go module to version 4 2022-01-18 12:47:07 +01:00
generate_kube_test.go bump go module to version 4 2022-01-18 12:47:07 +01:00
generate_systemd_test.go Separator is no longer prepended when prefix is empty on podman generate systemd 2022-03-30 14:05:49 -04:00
healthcheck_run_test.go healthcheck, libpod: Read healthcheck event output from os pipe 2022-02-10 13:56:22 -05:00
history_test.go bump go module to version 4 2022-01-18 12:47:07 +01:00
image_scp_test.go bump go module to version 4 2022-01-18 12:47:07 +01:00
image_sign_test.go bump go module to version 4 2022-01-18 12:47:07 +01:00
images_test.go e2e: merge after/since image-filter tests 2022-02-16 14:00:30 -05:00
import_test.go bump go module to version 4 2022-01-18 12:47:07 +01:00
info_test.go bump go module to version 4 2022-01-18 12:47:07 +01:00
init_test.go bump go module to version 4 2022-01-18 12:47:07 +01:00
inspect_test.go bump go module to version 4 2022-01-18 12:47:07 +01:00
kill_test.go bump go module to version 4 2022-01-18 12:47:07 +01:00
libpod_suite_remote_test.go netavark e2e tests 2022-02-11 11:23:24 -05:00
libpod_suite_test.go bump go module to version 4 2022-01-18 12:47:07 +01:00
load_test.go bump go module to version 4 2022-01-18 12:47:07 +01:00
login_logout_test.go vendor c/common@v0.47.5 2022-03-23 15:49:02 +01:00
logs_test.go bump go module to version 4 2022-01-18 12:47:07 +01:00
manifest_test.go bump go module to version 4 2022-01-18 12:47:07 +01:00
mount_rootless_test.go bump go module to version 4 2022-01-18 12:47:07 +01:00
mount_test.go bump go module to version 4 2022-01-18 12:47:07 +01:00
namespace_test.go bump go module to version 4 2022-01-18 12:47:07 +01:00
negative_test.go bump go module to version 4 2022-01-18 12:47:07 +01:00
network_connect_disconnect_test.go Merge pull request #13216 from cevich/ci_updates 2022-02-14 08:28:37 -05:00
network_create_test.go enable netavark specific tests 2022-02-16 13:59:04 -05:00
network_test.go enable netavark specific tests 2022-02-16 13:59:04 -05:00
pause_test.go bump go module to version 4 2022-01-18 12:47:07 +01:00
play_build_test.go kube: honor --build=false and make --build=true by default 2022-02-23 14:30:25 -05:00
play_kube_test.go Throw an error if kube yaml has duplicate ctr names 2022-03-30 13:38:08 -04:00
pod_create_test.go Merge pull request #13216 from cevich/ci_updates 2022-02-14 08:28:37 -05:00
pod_infra_container_test.go bump go module to version 4 2022-01-18 12:47:07 +01:00
pod_initcontainers_test.go bump go module to version 4 2022-01-18 12:47:07 +01:00
pod_inspect_test.go bump go module to version 4 2022-01-18 12:47:07 +01:00
pod_kill_test.go bump go module to version 4 2022-01-18 12:47:07 +01:00
pod_pause_test.go bump go module to version 4 2022-01-18 12:47:07 +01:00
pod_pod_namespaces_test.go bump go module to version 4 2022-01-18 12:47:07 +01:00
pod_prune_test.go bump go module to version 4 2022-01-18 12:47:07 +01:00
pod_ps_test.go netavark e2e tests 2022-02-11 11:23:24 -05:00
pod_restart_test.go bump go module to version 4 2022-01-18 12:47:07 +01:00
pod_rm_test.go bump go module to version 4 2022-01-18 12:47:07 +01:00
pod_start_test.go bump go module to version 4 2022-01-18 12:47:07 +01:00
pod_stats_test.go bump go module to version 4 2022-01-18 12:47:07 +01:00
pod_stop_test.go bump go module to version 4 2022-01-18 12:47:07 +01:00
pod_top_test.go bump go module to version 4 2022-01-18 12:47:07 +01:00
port_test.go bump go module to version 4 2022-01-18 12:47:07 +01:00
prune_test.go bump go module to version 4 2022-01-18 12:47:07 +01:00
ps_test.go netavark e2e tests 2022-02-11 11:23:24 -05:00
pull_test.go bump go module to version 4 2022-01-18 12:47:07 +01:00
push_test.go bump go module to version 4 2022-01-18 12:47:07 +01:00
rename_test.go bump go module to version 4 2022-01-18 12:47:07 +01:00
restart_test.go bump go module to version 4 2022-01-18 12:47:07 +01:00
rm_test.go bump go module to version 4 2022-01-18 12:47:07 +01:00
rmi_test.go bump go module to version 4 2022-01-18 12:47:07 +01:00
run_apparmor_test.go bump go module to version 4 2022-01-18 12:47:07 +01:00
run_cgroup_parent_test.go bump go module to version 4 2022-01-18 12:47:07 +01:00
run_cleanup_test.go bump go module to version 4 2022-01-18 12:47:07 +01:00
run_cpu_test.go bump go module to version 4 2022-01-18 12:47:07 +01:00
run_device_test.go [v4.0] Backport Set default rule at the head of dev config 2022-03-10 18:18:11 -05:00
run_dns_test.go bump go module to version 4 2022-01-18 12:47:07 +01:00
run_entrypoint_test.go bump go module to version 4 2022-01-18 12:47:07 +01:00
run_env_test.go bump go module to version 4 2022-01-18 12:47:07 +01:00
run_exit_test.go bump go module to version 4 2022-01-18 12:47:07 +01:00
run_memory_test.go bump go module to version 4 2022-01-18 12:47:07 +01:00
run_networking_test.go enable netavark specific tests 2022-02-16 13:59:04 -05:00
run_ns_test.go bump go module to version 4 2022-01-18 12:47:07 +01:00
run_passwd_test.go bump go module to version 4 2022-01-18 12:47:07 +01:00
run_privileged_test.go bump go module to version 4 2022-01-18 12:47:07 +01:00
run_restart_test.go bump go module to version 4 2022-01-18 12:47:07 +01:00
run_seccomp_test.go bump go module to version 4 2022-01-18 12:47:07 +01:00
run_security_labels_test.go bump go module to version 4 2022-01-18 12:47:07 +01:00
run_selinux_test.go bump go module to version 4 2022-01-18 12:47:07 +01:00
run_signal_test.go bump go module to version 4 2022-01-18 12:47:07 +01:00
run_staticip_test.go netavark e2e tests 2022-02-11 11:23:24 -05:00
run_test.go test: fix podman run test as rootless 2022-03-30 15:32:24 +02:00
run_userns_test.go bump go module to version 4 2022-01-18 12:47:07 +01:00
run_volume_test.go volume: add support for non-volatile upperdir,workdir for overlay volumes 2022-01-28 13:10:15 +05:30
run_working_dir_test.go bump go module to version 4 2022-01-18 12:47:07 +01:00
runlabel_test.go bump go module to version 4 2022-01-18 12:47:07 +01:00
save_test.go bump go module to version 4 2022-01-18 12:47:07 +01:00
search_test.go netavark e2e tests 2022-02-11 11:23:24 -05:00
secret_test.go bump go module to version 4 2022-01-18 12:47:07 +01:00
start_test.go bump go module to version 4 2022-01-18 12:47:07 +01:00
stats_test.go libpod: report slirp4netns network stats 2022-02-03 14:46:01 -05:00
stop_test.go bump go module to version 4 2022-01-18 12:47:07 +01:00
system_connection_test.go bump go module to version 4 2022-01-18 12:47:07 +01:00
system_df_test.go bump go module to version 4 2022-01-18 12:47:07 +01:00
system_dial_stdio_test.go bump go module to version 4 2022-01-18 12:47:07 +01:00
system_reset_test.go Disable failing E2E test 2022-02-03 16:21:26 -05:00
system_service_test.go Skip flaky pprof tests 2022-03-30 13:53:15 -04:00
systemd_test.go bump go module to version 4 2022-01-18 12:47:07 +01:00
tag_test.go bump go module to version 4 2022-01-18 12:47:07 +01:00
toolbox_test.go bump go module to version 4 2022-01-18 12:47:07 +01:00
top_test.go bump go module to version 4 2022-01-18 12:47:07 +01:00
tree_test.go bump go module to version 4 2022-01-18 12:47:07 +01:00
trust_test.go bump go module to version 4 2022-01-18 12:47:07 +01:00
unshare_test.go bump go module to version 4 2022-01-18 12:47:07 +01:00
untag_test.go bump go module to version 4 2022-01-18 12:47:07 +01:00
version_test.go bump go module to version 4 2022-01-18 12:47:07 +01:00
volume_create_test.go Run codespell on code 2022-01-21 09:52:12 -05:00
volume_exists_test.go bump go module to version 4 2022-01-18 12:47:07 +01:00
volume_inspect_test.go bump go module to version 4 2022-01-18 12:47:07 +01:00
volume_ls_test.go bump go module to version 4 2022-01-18 12:47:07 +01:00
volume_plugin_test.go Fix a potential flake in volume plugins tests 2022-02-23 14:33:34 -05:00
volume_prune_test.go bump go module to version 4 2022-01-18 12:47:07 +01:00
volume_rm_test.go bump go module to version 4 2022-01-18 12:47:07 +01:00
wait_test.go bump go module to version 4 2022-01-18 12:47:07 +01:00