dockertest: Fixes problem with writing to parent config in subsub_enabled.

Signed-off-by: Jiří Župka <jzupka@redhat.com>
Merge pull request #382 from jzupka/fix_config

dockertest: Fixes problem with writing to parent config in subsub_enabled
docker_cli/run: Comment update

Signed-off-by: Chris Evich <cevich@redhat.com>
Merge pull request #385 from cevich/small_run_fix

docker_cli/run: Comment update
General Config. updates / maintenance

*  Removed config for removed 'build_paths' test (now part of 'build')
*  Updated 'build' w/ examples of static paths unlikely to ever change
*  Lowered docker_cli/cp/every_last max_files by 10x
*  Lowered tollerance on docker_cli/events.ini unparsable lines
*  Removed empty config sections from docker_cli/run_sigproxy.ini

Signed-off-by: Chris Evich <cevich@redhat.com>
subtests.docker_cli: Add test run_cidfile

This test is focussed on correct handling of `docker run --cidfile`

Signed-off-by: Lukáš Doktor <ldoktor@redhat.com>
Merge pull request #386 from cevich/config_update

General Config. updates / maintenance
Merge pull request #377 from ldoktor/cidfile

subtests.docker_cli: Add test run_cidfile
subtests.docker_cli.import_export: Add with_env variant

Tests the ``docker import --env`` feature by setting multiple variables,
exporting container, importing it and running it while overriding some
of the variables using various ways to overwrite them. (import cmdline,
import file, run cmdline, ...)

Signed-off-by: Lukáš Doktor <ldoktor@redhat.com>
Merge pull request #390 from ldoktor/import_export

subtests.docker_cli.import_export: Add with_env variant
subtests: Fix no need parent_subtests any more.

Signed-off-by: Jiří Župka <jzupka@redhat.com>
dockertest: Make docker interfaces more cleaner and easier to use.

When developer want to use default docker interfaces defined by
configuration, then DockerContainers, DockerImages could be used.

Signed-off-by: Jiří Župka <jzupka@redhat.com>
subtests: Change old usage of docker interfaces to new version.

This patch is slightly mixed with
 "subtests: Fix no need parent_subtests any more."
however for it should be better for visibility of
important changes.

Signed-off-by: Jiří Župka <jzupka@redhat.com>
dockertest: Simplifies docker interface mechanism and adds config vars.

Simplifies docker interface mechanism from object composition to
module global variable assignation.
Adds variables in defaults.ini to set default test interface.

   default_container_iface = cli
   default_images_iface = cli
   default_dockercmd_iface = cli

example how to change default interface in whole test:
module global variable DockerImages

images.DockerImage = new interface class.

Signed-off-by: Jiří Župka <jzupka@redhat.com>
dockertest: Adds dockercmd ability to implement other interfaces.

Signed-off-by: Jiří Župka <jzupka@redhat.com>
dockertest: Move cmd status checker to output.

Signed-off-by: Jiří Župka <jzupka@redhat.com>
subtests: Fix daemon tests to use interface without object container.

Signed-off-by: Jiří Župka <jzupka@redhat.com>
subtests: Fix some tests.

Signed-off-by: Jiří Župka <jzupka@redhat.com>
subtests: Fix cleanup functions.

Mainly fix tls tests special cleanup function which is used
because special behavior of cleanup is needed.

Signed-off-by: Jiří Župka <jzupka@redhat.com>
subtests: Fix docker subtests mainly problem with cleanup.

Signed-off-by: Jiří Župka <jzupka@redhat.com>