spiegel_podman/test/e2e
Paul Holzinger e5745139a7
cli commands: better error for unsupported commands
When you run podman-remote unsahre for example you currently get:
Error: unrecognized command `podman-remote unshare`

This is because we do not add the command to the cobra tree when we run
in remote mode. However this is a bad user experience since it is not
clear that the command is only supported for local podman. Users are
left wondering why this does not work and could think the documentation
is wrong.

To fix it we add a clear error message:
Error: cannot use command "podman-remote unshare" with the remote podman client

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2022-03-31 16:20:18 +02:00
..
build Move secret-verify-leak containerfile into its own Directory 2022-03-08 10:05:42 -05: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 fix a number of errcheck issues 2022-03-22 13:15:28 +01:00
build_test.go add contextDir to tar on remote 2022-03-22 10:33:05 -04:00
checkpoint_test.go fix a number of errcheck issues 2022-03-22 13:15:28 +01:00
commit_test.go fix a number of errcheck issues 2022-03-22 13:15:28 +01:00
common_test.go fix a number of errcheck issues 2022-03-22 13:15:28 +01: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_clone_test.go container: allow clone to an existing pod 2022-03-24 14:24:50 +01: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-03 13:23:07 +01: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-02 13:03:45 -06:00
create_staticmac_test.go netavark e2e tests 2022-02-02 13:03:45 -06:00
create_test.go fix a number of errcheck issues 2022-03-22 13:15:28 +01: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 remove unneeded k8s code 2022-03-15 14:48:08 +01:00
generate_systemd_test.go Separator is no longer prepended when prefix is empty on podman generate systemd 2022-03-16 20:26:59 -04:00
healthcheck_run_test.go healthcheck: stop showing wrong status when --no-healthcheck is set 2022-03-22 12:28:55 +05:30
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 10:33:57 +01:00
import_test.go import: allow users to set os, arch and variant of imports 2022-03-23 11:22:55 +05:30
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 test/e2e/inspect_test.go: wait for sessions 2022-03-22 13:04:35 +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-02 13:03:45 -06:00
libpod_suite_test.go go fmt: use go 1.18 conditional-build syntax 2022-03-18 09:11:53 +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@0ededd18a1 2022-03-18 15:18:30 +01:00
logs_test.go Add the names flag for pod logs 2022-03-01 00:18:39 +01:00
manifest_test.go Fixes errors from 'manifest push' being dropped in remote case 2022-03-27 07:33:13 -04: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 Modify /etc/resolv.conf when connecting/disconnecting 2022-02-10 09:44:00 -05:00
network_create_test.go fix dual stack network e2e flake 2022-03-18 15:35:00 +01:00
network_test.go enable netavark specific tests 2022-02-11 13:34:28 -05:00
pause_test.go bump go module to version 4 2022-01-18 12:47:07 +01:00
play_build_test.go go fmt: use go 1.18 conditional-build syntax 2022-03-18 09:11:53 +01:00
play_kube_test.go kube: configmap volume should be reused if already exists 2022-03-31 15:07:22 +05:30
pod_create_test.go Merge pull request #12930 from cdoern/podCgroup 2022-02-04 09:41:12 -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-02 13:03:45 -06:00
pod_restart_test.go bump go module to version 4 2022-01-18 12:47:07 +01:00
pod_rm_test.go Switch all calls to filepath.Walk to filepath.WalkDir 2022-03-27 07:18:25 -04: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-02 13:03:45 -06: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 event: generate a valid event on container rename operation 2022-03-28 15:07:02 +05:30
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_aardvark_test.go test/e2e: add aardvark specific tests 2022-03-08 15:07:55 -05:00
run_apparmor_test.go go fmt: use go 1.18 conditional-build syntax 2022-03-18 09:11:53 +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 Set default rule at the head of device configuration 2022-03-07 18:12:17 -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 Run codespell to cleanup typos 2022-03-25 15:34:41 -04: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-02 13:03:45 -06:00
run_test.go Remove error stutter 2022-03-25 21:47:04 -04: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-02 13:03:45 -06: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-01 16:23:58 +01: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 podman system df: fix percent calculation 2022-03-21 13:19:31 +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 system prune: remove all networks 2022-02-03 13:14:07 +01:00
system_service_test.go Skip flaky pprof tests 2022-03-08 11:26:43 -07:00
systemd_activate_test.go Add test for BZ #2052697 2022-03-16 11:27:07 -07:00
systemd_test.go Set systemd mode if entrypoint begins with /bin/sh -c 2022-03-28 16:30:47 -04: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 Cleanup display of trust with transports 2022-02-22 15:08:58 -05:00
unshare_test.go cli commands: better error for unsupported commands 2022-03-31 16:20:18 +02:00
untag_test.go bump go module to version 4 2022-01-18 12:47:07 +01:00
version_test.go Add 'Os' to be queried via 'version' output 2022-03-29 18:10:59 -04: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-17 09:46:35 -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