automation-tests/pkg/specgen
Matthew Heon bf6b228092 Do not use "true" after "syslog" in exit commands
Instead of being interpreted as an argument to the boolean flag,
the 'true' is being intepreted as the Podman command to be run -
so we're trying to run `podman true`, which does not exist. This
causes the cleanup command to fail when `--log-level=debug` is
set, so containers are not cleaned up or removed.

This problem is easily reproduced with any command combining the
`--rm`, `-d`, and `--log-level=debug` flags - the command will
execute and exit, but the container will not be removed.

Separate, but worth looking into later: the errors we get on
trying `podman true` with any flags are terrible - if you just
type `podman true` you get a quite sane "Unrecognized command"
error, but if you try `podman true --rm` you get an "unknown flag
--rm" error - which makes very little sense given the command
itself doesn't exist.

Signed-off-by: Matthew Heon <mheon@redhat.com>
2020-12-01 15:12:50 -05:00
..
generate Do not use "true" after "syslog" in exit commands 2020-12-01 15:12:50 -05:00
config_unsupported.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
container_validate.go rootless container creation settings 2020-11-05 12:27:48 -06:00
namespaces.go Merge pull request #8514 from Luap99/revert-8410-fix-multiple-networks 2020-11-30 19:43:19 +01:00
pod_validate.go Add support for slirp network for pods 2020-09-25 21:34:23 -04:00
podspecgen.go Add support for slirp network for pods 2020-09-25 21:34:23 -04:00
specgen.go squash 2020-11-25 18:27:31 +01:00
volumes.go Merge branch 'master' into patch-1 2020-11-30 15:58:23 +01:00