inital commit of inspect test

changed inspect test to subsubtest

Signed-off-by: James Molet <jmolet@redhat.com>

added test inspect_container_simple

Signed-off-by: James Molet <jmolet@redhat.com>

added docs for inspect tests

Signed-off-by: James Molet <jmolet@redhat.com>
subtests..run_simple: A few cleanups

*  Declare locals instead of keep referencing config option
*  Missing space on logging line
*  Check if pid is really still running after wait start

Signed-off-by: Chris Evich <cevich@redhat.com>
fixed underlines in docs

Signed-off-by: James Molet <jmolet@redhat.com>
docker test: little clenaup run_simple

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

docker test: little clenaup run_simple
isolated inspect_all test

Signed-off-by: James Molet <jmolet@redhat.com>
subtests..run_twice: Turn the expected fail test result into Good and log related error from stderr.
Signed-off-by: Ouyang Guohua <gouyang@redhat.com>
subtests..workdir: Add workdir test
*  set workdir with exist or nonexist path
*  set workdir with no absolute path or not a dir

Signed-off-by: Ouyang Guohua <gouyang@redhat.com>
Dockertest Version 0.6.5 (No API Changes)

Signed-off-by: Chris Evich <cevich@redhat.com>
Merge branch 'gouyang' of https://github.com/ouyanggh/autotest-docker into docker_0.6.5
Merge branch 'docker_run' of https://github.com/cevich/autotest-docker into docker_0.6.5

Conflicts:
	subtests/docker_cli/run_simple/run_interactive.py
	subtests/docker_cli/run_simple/run_signal.py
Merge branch 'inspect' of https://github.com/Lorquas/autotest-docker into docker_0.6.5

Conflicts:
	index.rst
images/containers: Fixups, cleanups, additions

*  Added containers.kill_container_by_obj()
*  Moved containers.remove_by_obj()
*  Added containers.wait_by_XXX()
*  Minor images module cleanups
*  Fixed up unittests to match

Signed-off-by: Chris Evich <cevich@redhat.com>
subtests..run_simple: Change to sequential running

Signed-off-by: Chris Evich <cevich@redhat.com>
subtests...run_simple: Improve postprocess + cleanup

*  Cleanup needs to both clean and warn about any
   leftover containers, running or not, and images
   that are not default.

*  Postprocess was failing on some subtests that
   use more than just a single 'cmdresult' value
   for checking. If it's not present, don't check it.

Signed-off-by: Chris Evich <cevich@redhat.com>
subtests...run_simple: Mass-fixing/re-writing

*  Several sub-subtests were not calling the proper
   super-class resuling in their many failures all
   appearing like successes.

*  Re-wrote run_attach_stdout so it works
   and is a bit simpler to understand.  Repaired
   problem of leaky file-descriptors.

*  run_interactive and run_interactive_disconnect
   seemed to not be affected after
   super-class was corrected.  Just reduced the
   verbosity a little.

*  run_remote_tag was far to complex and did
   not properly track leftover images.  Re-wrote
   to be simpler, less verbose, and properly
   clean up after itself.

*  Added missing variable back to run_signal

*  Tweaked default configuration to match
   some changes introduced above.

*  All tests now passing on intended platform,
   docker-io version, and remote registry source.

Signed-off-by: Chris Evich <cevich@redhat.com>
subtests: Mass pylint cleanup

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

Dockertest Version 0.6.5 (No API Changes)