config: Remove run_volumes default option

Signed-off-by: Chris Evich <cevich@redhat.com>
subtests...stop/stopped: Fix config. bug.

Stdout for command 'true' was being incorrectly checked.

Signed-off-by: Chris Evich <cevich@redhat.com>
subtests...build_paths: Remove dep. config opt.

Signed-off-by: Chris Evich <cevich@redhat.com>
dockertest.subtests: Fix spaces in subsubtests CSV

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

subtests.docker_cli: Update and add couple of new kill tests
subtests...stop:  Update docs. to match config.

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

Smallfixes
subtests...restart: cleanup() rm failure bug.

Cleanup can ignore status of rm, relying on env check
to pick up non-removed containers.  Otherwise it will
fail the test if container doesn't exist.

Signed-off-by: Chris Evich <cevich@redhat.com>
dockertest.images: Support 'None' value images

There's no practical reason why images w/o names but with
valid Id's should be treated specially.  It's a perfectly
acceptable intermediate state, but should not persist.
Added a test in env checks to verify this.

Signed-off-by: Chris Evich <cevich@redhat.com>
dockertest.images: Qualify nakid exception

A nakid ``except`` clause in the images module was hiding
the cause of a failure in the rmi test.  The most likely
exception to be thrown is a ``TypeError``, and so it was
specified.

Signed-off-by: Chris Evich <cevich@redhat.com>
dockertest.subtests: Ignore empty/missing log args

Subtests.log_xn annoyingly complaining about multi-line
messages that don't have any arguments.  Since this is
a perfectly valid usage, the method needs to test the
contents of args, and simply ignore it when empty.  If
it's a problem, it will be obvious by the '%X' (tokens)
appearing in the output, no need to fail a test for this.

Signed-off-by: Chris Evich <cevich@redhat.com>
subtests...rmi: --run marked as deprecated

Docker client version 1.1.1 reports the --run argument to
the commit subcommand is deprecated.  Added version-check
to bypass processing this parameter in rmi test.

Added Fixme to track problem with missing symbol in Travis

Signed-off-by: Chris Evich <cevich@redhat.com>
subtests...insert: Test no longer valid

The insert subcommand was removed from docker CLI.

Signed-off-by: Chris Evich <cevich@redhat.com>
subtests...inspect: Fix default configuration.

Key-name consistency bug has been fixed.

Signed-off-by: Chris Evich <cevich@redhat.com>
subtests...build_paths: Improve exception message

Signed-off-by: Chris Evich <cevich@redhat.com>
subtests...run_memory: Maintain test

*  Fixed missing raise statement for exception
*  Improve exception message w/ actual missing path
*  rewrote read_cgroup() -> cgroup_fullpath()
*  Replace check_cgroup_exist() with just os.path.exists() call.
*  Update all DockerCmd to pass SubSubtest instance.
*  Updated default configuration so test passes.
   (Made note of requested documentation update)

Signed-off-by: Chris Evich <cevich@redhat.com>
subtests...save_load: Update test

*  Fixed location of saved image to use the automaticly cleaned
   temporary directory.

*  Updated all DockerCmd calls to pass the SubSubtest instance
   as the first parameter.

*  Removed ``verbose=True`` in several places since this is the default.

*  Mark the container run during initialize for removal during cleanup.

Signed-off-by: Chris Evich <cevich@redhat.com>
subtests...top: Simplify cleanup method

Signed-off-by: Chris Evich <cevich@redhat.com>
subtests...wait: Simplify failure messages

Signed-off-by: Chris Evich <cevich@redhat.com>
subtests: fix dockerhelp test for docker 1.1.1.

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